DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Render Types GDI & Open GL

Started by wisoak, February 16, 2017, 04:30:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wisoak

I can't find any instruction or info on the uses and differences between Rendering Types OpenGL and GDI. Can someone explain or point me toward some program information. Thanks.
V24.0

Rob S

If you are shading 3D drawings (planes or solids only can be shaded) on screen then very basically:

GDI offers better quality for presentation, but it is one time only, as soon as you begin to draw or move the image the shading disappears.

OpenGL can provide live shaded views, which you can move, pan or rotate, and draw in shaded mode. You can perform solid operations like subtract or copy, and the results will appear instantly in their shaded view. 

Shadows are only available in GDI mode.
User since forever

Dr PR

As Rob said, the big difference is that with OpenGL you can rotate shaded and hidden line images. But the OpenGL shaded images do not have the full color range that you can get with GDI.

In GDI mode you can shade the display or get a hidden line image, but if you move or rotate the display it reverts back to wireframe.

GDI Phong gives you the broadest range of colors and shadows. However, you have to enable "color material" in the Shading dialog. This allows the full range of material colors and textures to be displayed.

With "color material" enabled the "White" material can be bright white with the proper lighting angle, and the "Black" material can be very dark. Without "color material" enabled (and with OpenGL shading) the "White" material is just various shades of light gray and the "Black" material is just darker grays. Other materials display better with GDI Phong shading.

****

The program defaults to drawing with the "Default" material. It can have any of the basic colors. You can assign other materials to objects to get a broader range of colors and textures.

****

Here is a word of warning! DesignCAD is pretty schizophrenic with respect to materials and lighting.

Different materials have different display characteristics, like shiny or dull, how well they reflect the surrounding ambient light, patterns and such. This is the way the real world works.

However, DesignCAD's lights also have "material properties." You can make a light "dull" so shiny materials appear dull, or a shiny light will make dull materials shiny. This is just stupid - sorry, there is no other way to describe it.

Combinations of dull and shiny materials and dull and shiny lights can drive you nuts!

I have found it is best to advance the sliders in the lights to full 100% and leave them there. This pretty much allows the material properties to determine what the materials look like - the way the real world works.

****

Here is a tip about materials and colors. Materials (other than the "Default" material) can have two colors. One is the "base" color that displays in wireframe views. The other is the "material" color that shows in shaded displays (if "color material" is enabled). The two colors default to the same.

You can define different colors for the "base" and "material" colors. Why would you want to do this?

The "Aluminum" material is a good example why - in wireframe views it is a very light gray that is almost invisible against a white background. But if you assign the "Aluminum" material to an object and then change the base color to black (in the Info Box) the object will appear as black lines in wireframe view, but will still shade as the aluminum color in shaded views. The aluminum color is the "color material" color. If "color material" is disabled the object will shade black in shaded views.

The program is pretty smart about reversing white objects to black on a white wireframe background. Likewise, black objects will display white on a black background. Colors have red/green/blue (RGB) values from 0 to 255. If the color of an object is almost black the program will reverse it to almost white on a black background, and vice versa with very light objects in a white background.

But there is a threshold where the reversal doesn't happen, and it is very close to black or white. The Aluminum material is just dark enough that it doesn't exceed the threshold so it isn't displayed dark on a white background in wireframe view, and it is almost invisible. But you can set the base color to a darker shade to ensure that "Aluminum" material objects can be seen in wireframe views. It is really helpful to be able to see the objects you are working with!

Phil


DesignCAD user since 1987

Pearco

Dr Pr;

Where do I go to find the switch you refer to "color material" ?
I probably have looked past it many times.

Thanks Jim
Jim
User since ProDesign 1.5

Dr PR

Jim,

When you open the shading dialog (click the "Shading" icon on the tool bar) a "Settings" dialog box opens. On the right center is an option "Enable color material." Click in the check box to turn this on. It is there in GDI and OpenGL modes.

This only applies to shaded views, and it causes objects to be rendered in their "material" colors, textures and patterns.

Wireframe always displays the "base" color, regardless if the "Enable color material" option is checked.

Phil
DesignCAD user since 1987

Pearco

Thanks Phil. Now I see it. Like I said before, Can't see the forest because of the trees in the way.

Jim
Jim
User since ProDesign 1.5