News:

Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Rendering bug?

Started by Jeff_in_90620, April 27, 2021, 04:32:37 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Jeff_in_90620

With 2021 and Lightworks, a render shows multiple shadows, but there is only one light source.

What am I not seeing?

Note, the image file link in the TCW file in the attached ZIP archive will have to be fixed for your file locations, but it probably won't make a difference (it's not the main problem, but it will prevent the dice in the image from being displayed).


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Henry Hubich

That seems to be a property of the "Sky" light. Makes it useless IMO.

Henry H

John R

Confirm with the shadows. I'd expect that from the Point lights in a default setup. Maybe Vlad will give some clarification.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Alvin Gregorio

This also occurs in my v2020.  I assume it's the same throughout the versions; I recall experiencing it in many versions/editions.

My suspicion is that it is because TC is using some default lights, even when we instruct it not to.

To test that theory, I
>Created a little model that looked similar to Jeff's, including assigning similar looking Materials
>No Luminance or Lights
>Set to Quality Render, Raytrace Full.
...was prompted with the typical "you have no Lights, do you want to insert Default Lights" (paraphrased)
>I selected Yes
>I inserted an additional Light-- a Sky Light
... the Render displayed the Shadows, as in Jeff's image; they seem to be coming from the Point Lights
>I switched off all the Lights except for the one default Ambient and the one default Headlight (because these do not create shadows) and my Sky Light
... result:  No extraneous Shadows

Maybe give that a try in 2021.  Maybe delete all Lights and insert one of each-- Ambient, Headlight, Sky.  (It's that time again when I am behind the most recent version by a year; so I can't open Jeff's .tcw file to explore.)
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Torfinn

I agree with Alvin
That drawing have most likely been made with say No to add light, and then TC add temporary light that we don't see or can adjust to, as TC need light to render, so then there are 4 temp plus the one Jeff add in the drawing.
I always say Yes and recommend to people i talk with to say Yes, as then we can turn them of later or adjust if that is what we want.

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Henry Hubich

#5
I think that works simply because the additional lights wash out the extra shadows. The attached illustration was made in a drawing that never did contain any Point lights.

Henry H

Alvin Gregorio

#6
Quote from: Henry Hubich on April 28, 2021, 09:19:25 AM
I think that works simply because the additional lights wash out the extra shadows. The attached illustration was made in a drawing that never did contain any Point lights.

Henry H

And that Drawing or Template file never had the option "Yes"  ticked for that Warning Dialog "Light sources are missing in the drawing.  Do you want to set default light sources to the drawing?"

Try this please:  Be in Wireframe.  Delete all the existing Lights.  Go to Quality Render.  That Warning should come up*.  Click "No".
Don't you still get shadows as if you had some Point Lights inserted and On?
     That's what I'm suggesting-- that at some point in that drawing, someone ticked "No" to that Warning, and TurboCAD still uses some Lights, otherwise everything would just be "black"/dark.
_____
*(unless you had previously ticked "Don't show this message again", in which case "LightSetDefault" in Warning Dialogs should be set to not Show)
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

After working with it some more, I concur-- the Sky Light casts too many shadows, in relation/comparison to what we are used to seeing in the real world-- too many shadows in comparison to what we would expect from a light type named "sky".

I believe this is not version 2021 specific; it happens in my v2020, and I suspect it occurs throughout many if not all TurboCAD versions/editions.
___
Stepping outside into the real world and observing-- it's a gorgeous sunny day here in central California-- and giving some thought to it, I think part of the problem is there is really no such thing as a "Sky" light-- an atmospheric light-- without the presence of another source of light, such as the sun.

If we read the Lightworks Help section of their "Sky" Luminance, I think we get an idea of what a CAD "Sky" light is supposed to do.  It's just unrealistic that "Sky" would have any light without another illumination source providing the "Sky's" light.  So, as Henry said, sort of useless.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Henry Hubich

Here it is in Version 10.2...

Henry H

Alvin Gregorio

#9
Quote from: Henry Hubich on April 28, 2021, 11:22:04 AM
Here it is in Version 10.2...

Henry H

The "Sky" Light being the only illumination source in the Drawing?f

Reading page 26, the Sky Light section, of Kevin Doucette's Mastering Lighting in TurboCAD v11 book now.  I might find something useful there.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

#10
Well, shoot...

In Pages 26 & 27 of Kevin Doucette's Mastering Lighting in TurboCAD v11, he shares three render images of the same scene*, with various values for the Light Distribution and Temperature parameters.

Kevin states in preface to these images that there are no other Light sources used.  THE SHADOWS LOOK GOOD AND REALISTIC!  ?

*an outdoor patio set, on grass
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Henry Hubich

Quote from: Alvin Gregorio on April 28, 2021, 11:37:11 AM
Quote from: Henry Hubich on April 28, 2021, 11:22:04 AM
Here it is in Version 10.2...

Henry H

The "Sky" Light being the only illumination source in the Drawing?f

Reading page 26, the Sky Light section, of Kevin Doucette's Mastering Lighting in TurboCAD v11 book now.  I might find something useful there.

Yup.

Henry H

Henry Hubich

Quote from: Alvin Gregorio on April 28, 2021, 11:47:59 AM
Well, shoot...

In Pages 26 & 27 of Kevin Doucette's Mastering Lighting in TurboCAD v11, he shares three render images of the same scene*, with various values for the Light Distribution and Temperature parameters.

Kevin states in preface to these images that there are no other Light sources used.  THE SHADOWS LOOK GOOD AND REALISTIC!  ?

*an outdoor patio set, on grass

Well, I sure don't understand why his shadows look correct. And I really don't see any advantage to the "Sky" light as opposed to--say--the "Directional" light.

Henry H

Dean

Quote from: Henry Hubich on April 28, 2021, 03:48:55 PM
Quote from: Alvin Gregorio on April 28, 2021, 11:47:59 AM
Well, shoot...

In Pages 26 & 27 of Kevin Doucette's Mastering Lighting in TurboCAD v11, he shares three render images of the same scene*, with various values for the Light Distribution and Temperature parameters.

Kevin states in preface to these images that there are no other Light sources used.  THE SHADOWS LOOK GOOD AND REALISTIC!  ?

*an outdoor patio set, on grass

Well, I sure don't understand why his shadows look correct. And I really don't see any advantage to the "Sky" light as opposed to--say--the "Directional" light.

Henry H

Henry, unless there is something specific related to the Sky Luminance in Version 11 as I see it the Sky Luminance is a Global Illumination SkyLight source. It does consider the position of the sun but it is not a direct source of Light. All that being said you need to adjust the Sky parameters to process the Sky shadows and this does add an considerable amount of time to the render. I am not sure if you would enjoy going down that rabbit hole.
You can add a little bit of Sun Luminance for adjusting the shadow to your liking and perhaps more pronounced shadows.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Henry Hubich

Dean, I've been talking about the Sky light, not Luminance.

...That said, I experimented with the Luminance and found that it also likes to produce multiple shadows. Didn't even try to fix it.

Henry H

Alvin Gregorio

In my version-11Pro, I could not achieve what Kevin Doucette seemed to achieve-- Sky being the only Light and illumination source, but no multitude of shadows from a single object.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Henry Hubich

Quote from: Alvin Gregorio on April 30, 2021, 10:53:06 AM
In my version-11Pro, I could not achieve what Kevin Doucette seemed to achieve-- Sky being the only Light and illumination source, but no multitude of shadows from a single object.

I'm wondering if there's something about his "grass" material that makes the extra shadows inconspicuous.

Henry H

Alvin Gregorio

I thought you might be interested in this Henry (annotated screen-snip below, from Kevin Doucette's book).

It is in the section regarding Sky Luminance, but he references the standard Sky Light here as well.
The top image seems to be the same scene as before, but there are noticeable extraneous "real-world" shadows-- at least as in comparison to what I have been observing in the real-world the past few days.

I think some knowledge of some of the settings of the standard Sky Light can be ascertained from the Lightworks Sky Luminance Help documentation, and Kevin Doucette's writing.  There seems to be a lot of similarity between the standard Light and the Luminance, albeit the standard Light having much less parameters.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

#18
In TC v2020Platinum, I can make the extraneous shadows not display by changing the "Min Lod" and "Max Lod" values in the (standard) Sky Light properties.

For my current test, using two objects similar to what Jeff showed in his initial screen-capture, I have the settings as shown below.  Not that they are optimal and the only way of going about it; but it shows that we can get the Sky light a little more realistic.  Albeit, the more realism the more resource usage requirement.

I have to remember:  This is a sky light, not a sun light.  This Sky Light bounces sun light (I think) and/or allows a certain amount of sun light through the (amount of) atmosphere, including clouds.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Henry Hubich

Quote from: Alvin Gregorio on April 30, 2021, 12:14:06 PM
In TC v2020Platinum, I can make the extraneous shadows not display by changing the "Min Lod" and "Max Lod" values in the (standard) Sky Light properties.

For my current test, using two objects similar to what Jeff showed in his initial screen-capture, I have the settings as shown below.  Not that they are optimal and the only way of going about it; but it shows that we can get the Sky light a little more realistic.  Albeit, the more realism the more resource usage requirement.

I have to remember:  This is a sky light, not a sun light.  This Sky Light bounces sun light (I think) and/or allows a certain amount of sun light through the (amount of) atmosphere, including clouds.

Doesn't work for me, Alvin. I have to set Min Lod to not more than 0.7 to see any shadow at all, and then there are multiple shadows rather than just one.

Can you post a drawing in which this works?

Henry H

Dean

#20
Quote from: Henry Hubich on April 30, 2021, 10:35:08 AM
Dean, I've been talking about the Sky light, not Luminance.

...That said, I experimented with the Luminance and found that it also likes to produce multiple shadows. Didn't even try to fix it.

Henry H

Ok, Henry.
They are similar. The Sky Luminance is a bit more advanced and takes advantage of the AR Final Gather adding more specular highlights.
Like I said before, concerning the shadows you need to adjust the Sky parameters to your liking or add a little Sun while keeping the Sky ambience. The attached Images were rendered without any Sun source only Sky Luminance and only Sky Light. Subtle adjustments to the Sky parameters make or brake the shadows, it's a rabbit hole, I think that's why the Simple sky is recommended cuz all you need to do is increase the samples adding render time of course.
The Trellis was a good test for the Sky Shader, Solid objects are a bit easier working with the shadows.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Henry Hubich

Quote from: Dean on April 30, 2021, 07:17:37 PM
Quote from: Henry Hubich on April 30, 2021, 10:35:08 AM
Dean, I've been talking about the Sky light, not Luminance.

...That said, I experimented with the Luminance and found that it also likes to produce multiple shadows. Didn't even try to fix it.

Henry H

Ok, Henry.
They are similar. The Sky Luminance is a bit more advanced and takes advantage of the AR Final Gather adding more specular highlights.
Like I said before, concerning the shadows you need to adjust the Sky parameters to your liking or add a little Sun while keeping the Sky ambience. The attached Images were rendered without any Sun source only Sky Luminance and only Sky Light. Subtle adjustments to the Sky parameters make or brake the shadows, it's a rabbit hole, I think that's why the Simple sky is recommended cuz all you need to do is increase the samples adding render time of course.
The Trellis was a good test for the Sky Shader, Solid objects are a bit easier working with the shadows.

I think I see extra shadows in both of those renderings, Dean, but the texture of the "grass" makes them hard to see and therefore not objectionable.

Henry H

Dean

#22
" think I see extra shadows in both of those renderings, Dean, but the texture of the "grass" makes them hard to see and therefore not objectionable."


Ok, Henry > perhaps better examples of what the Sky Light is doing using a smooth matte ground surface.
The Sky Light along with its position considers all the objects in the drawing when calculating the scenes Light distribution. So you'll always have that GI effect ex; darker areas under objects.
If shadows are necessary, add a Sun source or by adjusting the Sky Light parameters go down the rabbit hole and find some other method to suit your needs. Lightworks, though it is a tad old offers a wide range of tools to spark the imagination.

"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Alvin Gregorio

Dean-- You seem to have a grasp of this.  Can you obtain (almost) the same level of control-- outcome/result-- with the standard Light, Sky?
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

And, Dean-- Is it your opinion or knowledge that in the real world, absent a light source emanating ultimately from the sun (the moon's luminance would be a reflection of the sun's),  there would be any shadows apparent?

I guess what I'm getting at is-- If the Lights and Luminances in CAD are trying to mimic those of the real world, is it a realistic goal to have Sky illuminate or cast shadows when there is no other light/illumination source in the model?
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Henry Hubich

#25
Quote from: Alvin Gregorio on May 01, 2021, 07:44:52 AM
And, Dean-- Is it your opinion or knowledge that in the real world, absent a light source emanating ultimately from the sun (the moon's luminance would be a reflection of the sun's),  there would be any shadows apparent?

I guess what I'm getting at is-- If the Lights and Luminances in CAD are trying to mimic those of the real world, is it a realistic goal to have Sky illuminate or cast shadows when there is no other light/illumination source in the model?

I'm not Dean, but...

The Sky light parameters include the means to aim the light. Doesn't that imply that it should cast shadows if I select "Clear" Light Distribution?

Henry H

Alvin Gregorio

Quote from: Henry Hubich on May 01, 2021, 10:26:16 AM
...

The Sky light parameters include the means to aim the light. Doesn't that imply that it should cast shadows if I select "Clear" Light Distribution?

Henry H

Yes, but, what light?
I mean-- the sky, without some sort of illumination by something else-- some sort of light source that is bouncing off or filtering through the atmosphere-- has no light.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Quote from: Henry Hubich on April 30, 2021, 03:20:33 PM
---

Doesn't work for me, Alvin. I have to set Min Lod to not more than 0.7 to see any shadow at all, and then there are multiple shadows rather than just one.

Can you post a drawing in which this works?

Henry H

I'm thinking I had an Ambient and Headlight Light On in that trial Henry.
If I replicate the "singular shadow" effect with only one illumination-- the standard Sky light-- I'll post the drawing file.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Dean

Here's another example and you can see what the Sky Light is doing.
This time I added a directional light at the same position.

"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Alvin Gregorio

Quote from: Dean on May 02, 2021, 06:33:28 AM
Here's another example and you can see what the Sky Light is doing.
This time I added a directional light at the same position.

Looks good.  The Directional, representing sun, adding the Sky Light adds to the realism.

BUT-- If you can help me understand this (part 1 of a 2-part query):  Why-- when the only illumination source in the whole Drawing is a single standard Sky Light-- is there light?

Unless... whomevers created this standard Sky Light went against real-world realism by adding light to a sky.  In the real-world/existence, if I turned off our sun and the light from all the other suns/stars out there in the cosmos, our sky would have no light.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Henry Hubich

I'm thinking that the Sky light is useful in a Raytrace Full render if you want diffused illumination without well-defined shadows, which seems to be attainable only if Min Lod is set higher than about 0.7--and such a setting greatly increases render time. What's more, I can't figure how the various Light Distribution categories relate to the real world.

If I use an Advanced Render mode, I get the diffused illumination even with a rather low Min Lod. See attached screenshot.

Henry H

Dean

Yes, Henry.
It's a complex shader.
Try adding a specular background in the scene to see the effects of the Sky Light.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0