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.

SOLVED_Why are surfaces perp. to the eye shaded black (ie, un-lit)?

Started by Lar, May 12, 2018, 09:35:17 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Lar

See the attached image.

I guess this is one for Dr. PR...

In all my renderings, all surfaces that are perpendicular to the eye always shade solid black. It's like the renderer thinks that whatever surfaces won't be visible in a flat 2d image shouldn't be visible (ie, not lit) in the equivalent 3D image.

Is there any way around this... (ie, can anybody make sense of dcad's lights)?


Thanks for any help,
Lar
(by the way, that image is of an non-destructive slice, taken in dcad, by placing the 'camera cutting plane' exactly where I want it to be. A classic case of  'you solve one problem, dcad throws another one at ya, just to keep ya on ya toes, y'know')
(...actually, I've seen this type of thing -but not to this extent-  in Cinema 4D. But, over there, brightening the surfaces with extra lights is not nuclear science).

Adrian 2.0

I've been struggling with this issue for years - it seems to be within a 5~10 degree window of the plane aligning with the view line. I've lost count of the times I've had to compromise the optimum view angle to get a rendering that displays properly.
This is partly why I've given up using DCad to generate rendered images to save, I always go through the hoops of exporting my model to Sketchup even for simple graphics.
I'm pretty sure the Doctor will prescribe a BUG spray!

Adrian

Dr PR

Interesting!

I have never seen this on vertical (YZ) planes before, but it is common on horizontal (XZ) plane surfaces. Just another of the MANY display bugs with DesignCAD.

However, in my drawings I use only a single point source (Directional) light and I always use the "Move with Eye" option with the light Vertical Angle above the line of sight.

How many and what types of lights are you using?

Also, this may have something to do with View Distance. I almost always use a view distance about 10x the drawing dimensions. And the "cutting plane" falls wherever the program wants it to. I don't actually set the View Center consciously, but I do use the vc.d3m macro, and it uses the Set Viewer Points function to set the View Center.

For some reason I never have this problem with my ship drawings. But on architectural drawings flat horizontal surfaces like front porches often are black when viewer from any normal (relative to a human line of sight) viewing angle. The main difference is the View distance. For the ship (610 feet long) I use a View Distance of 100,000 that is more than 10x the drawing dimensions. But for houses, to get realistic perspective angles, the View Distance can be less that the drawing dimensions - around 1000-2000.

Phil
DesignCAD user since 1987

DrollTroll

Probably due to the light's angle, and (as Dr PR suggested) whether or not you have 'Move With Eye' checked for that light source. If your light angle is 0 horizontal and 0 vertical, and 'Move With Eye' is NOT checked, then the light is falling directly onto only the forward-facing surfaces -- no light will hit the ones facing along the X axis or the Y axis. Remember, DesignCAD doesn't do any kind of light scattering or reflection, so only there is no possibility for light to 'bounce around' in the drawing to hit oblique surfaces.

Possible Solutions:
1) modify your light angle from 0, 0 to something else (maybe 15, 20 for example)
2) Check the 'Move With Eye' checkbox so as the view angle changes, the light direction changes by the same amount.
3) Add a second (and possibly third) light with lower intensity values at different angles from the main light source.
4) Some combination of 1, 2 and/or 3.
25 years with DesignCAD

Lar



Taking DT's advice I created 4 lights, all 'move with eye' (which isn't critical for this single image, but I will monitor if it's pro or con for other images). Each light is Directional. Their respective angles are: 45, 0... -45,0... 0, 45... 0, -45 <<see my post below for a better setup>>.  Each light's ambiance, diffusement and specularity is at 100%, which is ok except that it whites out surfaces of very light hues.


Attached is the results, which you can compare to my first attached image.

What had me stumped for a good while, looking at the zoomed out window, is the right-most wall (which is most-central in the full window) and the ceiling refused to be anything but solid black, no matter how much extra lighting I added. I called a "friend", got the web address for The Matrix website on the dark web, downloaded a BRS (Bachelor's Degree In Rocket Science) straight to my brain. It didn't help so I found a MRS and downloaded that. With the boosted brain power I theorized that the black shading was not due to a lack of lighting but rather to the compactness -due to the viewing angle- of the block hatch on the wall. I had no equivalent theory for the blackness of the ceiling. However, and to my utter delight, zooming in on the wall (as seen in the zoomed in window) not only proved my wall theory correct but also revealed that the ceiling blackness was due to the compactness of the ceiling's steel purlins. Quite a fruitful visit to the dark web, wouldn't you agree. Nothing better to top that off with than a spot of tea, blimey.


Cheerio

Lar


Update:
The above 4 light setup tends to washout the color on surfaces facing the camera.

The following setup is better:

5 lights, all Directional, 'Move with eye' enabled, Ambient/Diffuse/Specular: 100,  Colors: #1: white ~ gray-127, depending on taste; #2-5: gray-127
1) 0,0
2) 90,0
3) -90,0
4) 0, 90
5) 0, -90
(experiment with the gray for your preference)
So far this setup has worked with straight on views and angled view, with no un-lit planes and minimum washing out. You can 'save as default' so all new files will have it automatically.

You can give your renderings an artistic touch by switching some or all the grays with random colors.


Lar

bdeck

Quote from: Lar on May 19, 2018, 02:11:07 PM
The following setup is better: ... 

Hmm...5 lights on spokes of a jack.

Somewhat unintuitive.

Many Thanks for the heads up.

bd

ps: Shouldn't DC ship with this lighting configuration, or with one like it? How bad is a marketing plan that requires every new user to discover for himself that his new 3d creation looks terrible unless he spends a few days figuring out the lights.