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.

Faulty shadows

Started by Dr PR, June 19, 2016, 08:11:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

I have attached some images to illustrate a problem you might encounter while working with shaded 3D drawings.

In the first image (shadow.jpg) the red arrow points to a shadow at the top of a plane. The plane is supposed to be a continuation of the surface of the narrow coaming strip and the bulkhead just above it, so there should be no shadow.

I have seen this many times before so I knew the surface below the coaming strip - where the shadow is - was not actually planar. The second image (faulty plane.jpg) shows this non-planar surface in red.

I copied this surface to a new empty file and rotated it to the XY plane. Then I used the FlattenZ.d3m macro to make it truly planar. After rotating back to the original orientation I copied the plane back into the original drawing.

The third image (no shadow.jpg) shows the result using the same lighting and shadow settings. The shadow is gone.

So how far out of plane was the original surface? It's dimensions were 180W x 186H x 0.0015. Two points were out of the plane of the rest of the surface by 0.0008% of the surface width/height! Also of interest is the location of the two errant points. They were at the far right in the faulty plane image, at the top and bottom of the right side of the surface. So the faulty shadow was not oriented to the warped part of the surface, but was along the top edge where 15 of the 16 points were in the plane of the surface!

The moral of this story is to be certain that planes are actually planar. When working in Point Select mode it is VERY easy to accidentally move a point out of the plane of the surface. Sometimes the temptation is very great to move a point to close a gap or add an additional point to change the shape. Just be certain that the resulting plane is still planar!

Phil
DesignCAD user since 1987