News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

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.

Unknown light on TC surface object

Started by triumdh, June 20, 2023, 11:55:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

triumdh

Hello Forum,

I have a light that shines on TC objects and creates shadows although no light sources or environments appear to be set.

Any help greatly appreciated. Please see attached files.

You cannot view this attachment.

Andy H

One cannot render an object with zero lights and zero luminance and zero environment,  at least one of them is required just to be able to see the object.  Therefore ...

If, when TC pops up the message about no lights in scene, and you answer 'No' TC will put in some default lighting so the object is visible. these invisible lights won't show in the lights section of the design director.  Likely what you are seeing is an 'invisible' headlight (which emits light from the camera).

Personally I always answer 'yes, then I go into design director, and turn off the ones I don't want.  I do this even if I'm going to eventually use luminance.

triumdh

Thank you for the reply.

Quote from: Andy H on June 20, 2023, 01:49:34 PMOne cannot render an object with zero lights and zero luminance and zero environment,  at least one of them is required just to be able to see the object.  Therefore ...

In the production drawing, I am using Sunlight (which is helpfully located in the Geo-location section) with no other 'apparent' lighting or environments. I still get the headlight effect and it messes up all the TC surface options. I got around this by using ACIS Solids for the last month but have run into an issue where I  need a TC Surface for rendering.

Does anyone know how to turn off the 'invisible' headlight (which emits light from the camera)?

Thank you.

AussieBloke

What version of TurboCAD are you using?

Andy H

#4
Quote from: triumdh on June 20, 2023, 06:57:09 PMDoes anyone know how to turn off the 'invisible' headlight (which emits light from the camera)?
Thank you.

If using sun in geo-location (which is essentially a luminance), it should automatically turn off any invisible lights.  But the sun needs ticking before rendering, or TC won't know you wish to use sun. 

However. This won't cure the secondary problem of using TC surfaces. 

The second problem, is that you have 'Smooth' option turned on in the objects properties TC surface option.  This can cause strange lighting effects, as TC tries to smooth over the surface including smoothing any sharp corners.  Try it in your drawing, leave sun turned off (it is already off), render without lights to see the effect you show above.  then go into TC surface properties and untick 'smooth'.

I don't know of any easy solution to this problem. I never use the smooth option. Maybe someone who is more adept with it, especially TC deluxe users, may know a solution. 

Quote from: Darryl W on June 21, 2023, 12:06:33 AMWhat version of TurboCAD are you using?

2019 platinum Darryl. 

- - - - - - - - - - - - - - - -

Final NOTE.  The above applies to TC version 2021 and before.  It does NOT apply to TC 2022,  Because the newer Turbolux and Visualize rendering engines, react differently to how lighting is applied to the drawing. and can auto smooth objects without needing the TC surface smooth option. 

Alvin Gregorio

#5
Instead of "Smooth", set Number of Approximation lines to 88.

There's even better advice to achieve a smoother surface when using TC_Surface objects, but the above is quick and usually good enough.
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

#6
Quote from: triumdh on June 20, 2023, 06:57:09 PMIn the production drawing, I am using Sunlight (which is helpfully located in the Geo-location section) with no other 'apparent' lighting or environments. I still get the headlight effect and it messes up all the TC surface options. I got around this by using ACIS Solids for the last month but have run into an issue where I  need a TC Surface for rendering.

Does anyone know how to turn off the 'invisible' headlight (which emits light from the camera)?

Thank you.
When we initially open your Drawing, the "Use Sun" option in Geo-Location is not ticked.  If I tick "Use Sun" to be active, then Quality Render, I do not get the "No Lights..." warning, and it renders.  Interestingly*, the render result is the same as you show in your original post; I wonder if that is the default illumination TurboCAD chose to use.

For a little more control, and to allow you to experiment:
>Delete any Lights you might have.  In Design Director you will find the Lights section.
>Insert one Light-- a Headlight
>Set that Headlight to Off.  The Light Bulb column in Design Director.
This is so TurboCAD won't think there are no Lights.

[experimenting:]
Now Quality Render.  With "Use Sun" in GeoLocation off, you should see just a black object-- non-illuminated, no shadows.
Now set "Use Sun" to on.  Quality Render.  This is the *"interestingly" part:  We get the same illumination and shadowing as when you had no Lights and no "Use Sun".

With the above experiment at least you are assured that the only lighting/illumination and thereby shadowing is coming from the GeoLocation Sun setting.
Experiment with your GeoLocation Sun settings and see how that affects your render.  Set GeoLocation Marker to show, to keep you oriented.
_____
note:  I would typically add some Headlight and Ambient to an otherwise GeoLocation_Sun=True render; unless I was rendering purely for analyzation.
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)

triumdh

Thanks for everyone's help. I'm going to use Solids with the faceting cranked up to 100 and not use the TC surface.

If the crashes and reboots stay in the single digits, I'm going to zip the file to the client, change my phone number, and there will be much rejoicing.