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.

shadow resolution

Started by Dr PR, January 04, 2009, 02:07:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

In the latest versions of DesignCAD we can shade images with shadows. This can be very useful to emphasize irregularities in surfaces or to enhance the appearance of images.

However, these shadows may be very poor resolution. In the attached "shadow resolution.jpg" image notice that the shadows of the two antennas are more than twice as wide as the antennas themselves and are made up of very large "pixels" making them appear very "chunky."

The cause of this problem is that the largest shadow image map for the entire drawing is 2048x2048 pixels. This is stretched the full length of the drawing. In the example shown, the antennas are part of a ship that is 610 feet long, or 7320 inches. That means the smallest shadow dimension is 7320/2048 = 3.57 inches The antennas in the drawing are smaller diameter than that, as are many other features (the ship is modeled with features 1/4" diameter and up). To render all the shadows correctly in this example a map of at least 32768x32768 would be needed. However, that wouldn't be good enough for an even larger drawing.

What is really needed is a shadow map at the same resolution as the drawing, so shadows are shown with the same resolution as all the other parts of a drawing. This image is a part of a PDF image printed with the CutePDF printer driver. The enhanced shadow mask should be a part of the printing operation as well as the screen display.
DesignCAD user since 1987