News:

Please note new Forum URL: forum.designcad.com

Main Menu
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.

Shading problems

Started by Dr PR, October 19, 2019, 09:48:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

Where to start!

1. The screen display, "File/Image/Save Image File" and "File/Print" functions all generate different shadings. The images produced by the three functions will not look the same.

2. The "File/Image/Save Image File" "Smooth Shade" option generates different images depending upon how the main window is shaded (or not). You get different results if the main window is in Wireframe, OpenGL Gouraud or GDI Phong. The only way to get full color, material, texture, shading and shadows in the output image file is to have the main window shaded with Phong shading.

Phil
DesignCAD user since 1987

anummasood

Here I could see a very minor change in shades of both the files.
If you have a better result to show please attach the file and different results to see the variations.

Dr PR

Maybe you don't understand.

1. There is the screen display - the images we see when we are working on a file, visible on the physical display device, monitor, LCD display, whatever you want to call it.

2. Then there are images that are generated by the "File/Print" and "File/Image/Save Image File" functions.

When I say "screen" I am referring to the image on the viewing screen/monitor/LCD display ...

When I say "print" I am referring to the printed image that come out on the paper from my printer - or to an image saved as a PDF file from virtual "printer" program.

When I say "image file" I am referring to a separate bitmap/raster file that is generated by the "Save Image File" function.

In ALL cases I am trying to generate shaded images with the "Print" and "Save Image File" functions.

However, the screen image may be Wireframe, GDI shaded or OpenGL shaded while I am trying to generate image files.

The problem is that the shaded image files are different with each different screen display, even when I use the same settings for the "Save Image File" function. This is screwball! The settings in the "Save Image File" dialog should determine the image that is saved, regardless of what display is visible on the screen.

Phil
DesignCAD user since 1987

Dr PR

I should also add that the new screwed up Forum will not allow me to see all of the image you posted above!

I can see there are two wireframe images in the thumbnail attached to your post. But when I click on the thumbnail I can see only one of the two. There is no horizontal scroll bar to allow me to pan back and forth. The old Forum did allow this.

So, if an image is larger than the pixels on my screen I have no way to view all of it.

Phil
DesignCAD user since 1987

Dr PR

Here is another image to illustrate another display issue.

Note: All images were generated with "File/Image/Save Image File" using the "Save Image As" "Smooth Shading" option.

Notice the dark gray walk way stripe that extends from the edge of the wooden deck (at the right) forward, around the bow (at the left) and then back down the other side to the wood deck.

For years I couldn't get this to come out very dark in "Save Image File" images - it was always a MUCH lighter gray, similar to the surrounding deck. The same was true of the anchor chains and the metal plates on the deck under them. Then one day I got an image like this, with the walk way and chains almost black!

After some experimentation I finally discovered why.

My initial images were made while the main window was shaded with the OpenGL Gouraud shading option. This is the only shading mode that allows the shaded image to be rotated, and, therefore, is the only useful shading mode for working on the drawing. When the screen is shaded this way the "Save Image File" function DOES NOT use the material properties of the objects in the drawing to generate the image. Instead it just uses the basic color of the object.

One day I had been experimenting with GDI Phong shading, and the screen happened to be in this display mode when I saved the image file. To my surprise the image was generated using the object's material properties! The deck walk ways and anchor chains were rendered in the correct colors!

Creating an image file when the screen is in Wireframe display will create an entirely different image.

****

Note: There is no where in any of the DesignCAD manuals that tells you that the image file will be different with different screen displays!

****

The real problem here is that the file shown above is about 300 megabytes, and it takes several minutes to generate a GDI Phong image on the screen, each time I want to look at the drawing, and the shaded image disappears if you try to rotate the view! OpenGL Gouraud images are generated almost instantly, and the shaded drawing can be rotated to view from different angles..

For this reason, OpenGL is the only useful display mode.

Phil
DesignCAD user since 1987

Dr PR

Here is another image to illustrate another display issue.

Note: All images were generated with "File/Image/Save Image File" using the "Save Image As" "Smooth Shading" option.

Notice the dark gray walk way stripe that extends from the edge of the wooden deck (at the right) forward, around the bow (at the left) and then back down the other side to the wood deck.

For years I couldn't get this to come out very dark in "Save Image File" images - it was always a MUCH lighter gray, similar to the surrounding deck. The same was true of the anchor chains and the metal plates on the deck under them. Then one day I got an image like this, with the walk way and chains almost black!

After some experimentation I finally discovered why.

My initial images were made while the main window was shaded with the OpenGL Gouraud shading option. This is the only shading mode that allows the shaded image to be rotated, and, therefore, is the only useful shading mode for working on the drawing. When the screen is shaded this way the "Save Image File" function DOES NOT use the material properties of the objects in the drawing to generate the image. Instead it just uses the basic color of the object.

One day I had been experimenting with GDI Phong shading, and the screen happened to be in this display mode when I saved the image file. To my surprise the image was generated using the object's material properties! The deck walk ways and anchor chains were rendered in the correct colors!

Creating an image file when the screen is in Wireframe display will create an entirely different image.

****

Note: There is no where in any of the DesignCAD manuals that tells you that the image file will be different with different screen displays!

****

The real problem here is that the file shown above is about 300 megabytes, and it takes several minutes to generate a GDI Phong image on the screen, each time I want to look at the drawing, and the shaded image disappears if you try to rotate the view! OpenGL Gouraud images are generated almost instantly, and the shaded drawing can be rotated to view from different angles..

For this reason, OpenGL is the only useful display mode.

Phil
DesignCAD user since 1987