News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

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.

Sky Light fails in RedSDK Render Manager

Started by NiSiWi, August 24, 2016, 11:50:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NiSiWi

I've been having problems getting the render scene luminance correct in TC2015 so I decided to have a look at the RedSDK settings as the light seemed overly bright.
I'f I force the preview to update for any of the luminances by selecting a different object or environment I get an error telling me that the "Sky" light fails to create, RED_WORKFLOW_ERROR.
I've attached a screen shot.  Seems to me there are some problems in the render engine which cripple TC2015 rendering capabilities.
Are TC fixing this ? Is this forcing is to be a Lightworks plugin ?

Also the verification question that asks for a number between 1 and 3 for the forum fails when the correct answer is input.
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

Torfinn

""
Also the verification question that asks for a number between 1 and 3 for the forum fails when the correct answer is input.
[/quote]

Did you try to write two instead of 2

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

Darrel Durose

Hi,

Sorry you are having problems. Can you show the settings for it please or even post the drawing for us to check.

The Sky can be over bright (Physically correct) which the Advanced render Styles have the option to use tone mapping to pull the render into the monitors visible spectrum.

Try lowering it to 0.03.



Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

NiSiWi

#3
Torfinn - yes I used the character "2" instead of the word "two" which is my fault.  Thank you for that clarification.

Darrel - It doesn't seem to matter what settings I use as all the default/built-in luminances will generate that error message if you force the preview to update with or without changing any settings.

I'm also having lots of problems with black screens, poor / partial render scenes and general slowness despite running TC on an  i7 CPU with 32GB RAM, SSHD and NVIDIA GTX970M GPU running on Win10 64Bit.

I've attached a copy of my file.

Also when I look at CPU and GPU utilisation during renders CPU is being loaded to the hilt whilst the GPU doesn't seem to be being utilised at all.

RedSDK reports my GPU as follows.

Hardware vendor: NVIDIA Corporation

Renderer: GeForce GTX 970M/PCIe/SSE2

GPU chipset: Unknown

Driver version: Generic driver (20.19.15.4444)

OpenGL version: 4.5.0 NVIDIA 372.54

Looks great on Sketchup....
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

NiSiWi

#4
Interesting.  I forced the NVIDIA control panel to force switch the GPU to the NVIDIA processor when running TC2015 and now I'm no longer getting that error message in the render manager and the previews in the render manager now seem to look as bright as the drawing renders.

Darrel - I could not find the Tone Mapping settings ?

It does say that its supported here:
http://www3.turbocadcommunity.com/tiki-index.php?page=TurboCAD+2016
However nothing for TC2015 ?

So it seems that I have to upgrade to either get Lightworks or Tone Mapping features ??
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

Darrel Durose

I will look at your file.

Yes, I had a discussion with Redway and they told me that the CPU is really only used for Quality realistic render. The GPU is only used for updating and for handing some of the tone mapping live updates to the display.

I think that in an Advanced Render Style the GPU mode can be switched on but not really practical for complicated drawing as it can hang. Sample counts above 1 in materials also can be an issue, they certainly are on my machine. Not sure in 2015 this was available but will check once I have updated TC2015 on my machine..

Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Darrel Durose

#6
No the Advanced Render Styles have the options for Tone Mapping see attached. Unless you are using Deluxe with I think does not have the AR styles? Edit: just checked your drawing details to confirm and it does say Pro 64bit so all should be good  ;)

The GPU tick box is available (off by default) see attached.

Use at your own risk. Be sure to save your drawing/s before using this.

Best to keep things simple like I mentioned in this mode.

Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

NiSiWi

Thanks Darrel.

Well "Tone Mapping" is already enabled for Fine Tone HDR however I'm still having this over bright problem which I can also see now in the global luminances preview window.

Now that I have both the final render and render manager previews (also without error message) showing me the same outcome its clear that I need to make changes to the Sky luminance in the render manager and its preview in order to reduce the over bright problem.

OR I could change the way my GPU handles how it displays the result, which doesn't seem to make sense.
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

NiSiWi

#8
Think I've sorted it now that I have resolved the error message forcing GPU on application execution with NVIDIA control panel.

I created a new Sky Luminance and adjusted the Sky light Intensity Decay.

Whilst this shows "No Decay" this is infact untrue as below the light is a decay attribute called "No Decay" which you can change.
Changing this to from 0.02 to 0.0025 did the trick.

The result is;

a) A MUCH faster render
b) An equally better representation of the outcome I was looking for

Just needs some tweaking to further enhance the result.
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

NiSiWi

And now more problems ......... white screen where render does not update at all which then forces me to close and reload TC and then I get a black screen ....... with RedSDK error again!!!!

See attached images.

This is VERY frustrating and I'm not using the GPU switch from within the Render Manager.
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

NiSiWi

#10
And to top it off I also have a problem with materials.

Whilst the initial preview look fine, if I then force the preview to update in the render manager I don't actually see any texture.

So whilst I've resolved the global luminance problem I still find I have a materials texture problem.

What I did notice was the GPU was not being used to render the previews for the material textures unlike for the luminance previews ?

Could there be some kind of GPU/CPU utilisation problem in the way RedSDK is being used that is causing these rendering inconsistencies ?

Any ideas how I resolve this one ?
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

Darrel Durose

#11
"No Decay" is in relation to the light falloff. The intensity is just that, how bright the light is. Maybe a bit confusing having this option there I know.

Materials, yes you may need to scale it correctly which you can do by using the texture space or a calculator I made before we had this option.
Details and the download of it can be found here: http://forums.turbocad.com/index.php/topic,16165.0.html

Hope that helps.

Edit: looking at the RM you may need to have a few more options enabled for the grain to show. If you are going to be doing Photorealistic rendering then it best to have the same, or a similar, AR preset for previewing your materials...
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Darrel Durose

Quote from: NiSiWi on August 25, 2016, 06:46:53 AM
And to top it off I also have a problem with materials.

Whilst the initial preview look fine, if I then force the preview to update in the render manager I don't actually see any texture.

So whilst I've resolved the global luminance problem I still find I have a materials texture problem.

What I did notice was the GPU was not being used to render the previews for the material textures unlike for the luminance previews ?

Could there be some kind of GPU/CPU utilisation problem in the way RedSDK is being used that is causing these rendering inconsistencies ?

Any ideas how I resolve this one ?


If you haven't already, you need to create an Advanced Render Style that is set for the GPU mode and assign it to be used for materials in the RM settings window.
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Dean

Hi HISIWI,
I think your lighting is all wrong for redsdk.
Try this >
> Turn off all lights
> set "renders scene luminance" to none
> set geo sun to 1
> Do a "quality" Global illumination standard.
> After you get this working then proceed to more advanced settings.
I use a stock ATI Radeon display adapter

For the Render manager try resetting to defaults.

"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

NiSiWi

#14
Darrel - OK I'll give that a go.

Dean - I'm not using any lights (they are all turned off already) - I want to use luminance and if I use your setting I get a very black scene which isn't a surprise as there is no luminance, no lights and no sun according to those settings ?
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

Dean

Quote from: NiSiWi on August 25, 2016, 08:09:26 AM
Darrel - OK I'll give that a go.

Dean - I'm not using any lights (they are all turned off already) - I want to use luminance and if I use your setting I get a very black scene which isn't a surprise as there is no luminance, no lights and no sun according to those settings ?

The file you posted >
> You had the geo sun @100
> 2 lights were on
> Render scene luminance > Twilight
Don't be surprised, The redsdk GI only needs materials and a white background and a ground plane (for starters and the basics)
"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

NiSiWi

#16
Yes sun is set to 100 Dean, however lights are not on, they are only visible, which is not the same as "on" I believe.
I'm also now using a custom scene luminance.

Image attached of light settings.

As I said before I have tried ALL of the setting you suggest and I get a very black scene.
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

NiSiWi

Re-scaling the textures seem to resolve the initial preview problem in RM.

Darrel - I'm not sure I follow you when you said:

Quote"you need to create an Advanced Render Style that is set for the GPU mode and assign it to be used for materials in the RM settings window"

Are you saying that the preview windows in RM for things like materials are controlled by the Advanced Render Styles ?

The only GPU switching I'm doing is via the NVIDA control panel to ensure that previews in RM actually look the same as the final renders.

Which Render Style is being used for the RM previews is it the Raytrace
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

Dean

Quote from: NiSiWi on August 25, 2016, 08:33:26 AM
Yes sun is set to 100 Dean, however lights are not on, they are only visible, which is not the same as "on" I believe.
I'm also now using a custom scene luminance.

Image attached of light settings.

As I said before I have tried ALL of the setting you suggest and I get a very black scene.

Turn off visibility of lights
Change your RSL to none
Change geo sun from 100 to 1
Render "Quality" GI Standard not the advanced render style

i'm starting you from the basics just to keep things simple and ruling out any display adapter problems that you might be having.
If the above works then you can try more advanced things with the RSL and render styles etc..
"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

NiSiWi

#19
Oh! I was pretty sure I set the render quality and somehow it must have reverted back during my first test (could have been finger on mouse wheel).
I re-ran the test as you suggested Dean and double checked the render settings and hey presto it worked and everything rendered as expected.
I've also set NVIDIA control panel to auto mode and its still switching to the GPU when viewing on screen so that's OK.

The lights had no effect (visible on / off ) as they were switched off already.
Sun intensity also has no effect on this type of render.
Re scaling textures was also necessary.

So what do you folks suggest are the next steps towards an Advanced Render ?
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

NiSiWi

I've now assigned the various inbuilt Render Styles to each Camera View (including Fine HDR) and things seem to be improving further and I can see how I can develop other styles, textures etc.
So far no errors.

I can also see how I could add scene luminance to further change the image.
I now have the drawing long/lat location, north bearing and sun correct - however I'm unclear how the coordinates and elevation are utilised (or its impact on image rendering).

What I don't have is any sun shadows yet - any clues or pointers on how I get that resolved ?
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

Dean

Hi Nic,
see attachment > This is what i get with the sun at 4pm

I also turned off the visibility of those slabs you had with "no materials"  ;D
"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

NiSiWi

#22
Thanks Dean and yes there are a number of erroneous artefacts (now cleaned up) however I still expected some shadows.

Clearly I've got something set incorrectly as I'm seeing no shadows.

I've attached my drawing file again which I believe has the same settings.

What am I doing wrong ?
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

Dean

Try this.
I see there are a few differences  :P
"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

NiSiWi

#24
Hmm, I don't see any Dean.

I have sun position switched to use sun, shadows checked and same intensity.

Date and time are exactly the same - just different formats.

I have my north direction set, however that would only shift position of shadow and there is no shadow on any side and if I set it to 0 I still have no shadow.

Ok, I have the marker on but that would also have no effect on the shadow ??

Sorry I don't see anything that would actually impact the shadow.
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

Dean

"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

Darrel Durose

#26
Not sure but I think Geo Sun does not work for RedSDK in TC2015. Just tried in my 32bit install anyway.

You may have to use the Luminance option for your sun and set the intensity to 0.005 is a good starting point...remember to tick on shadows in the shader as they are off by default.

I also noticed you have a luminance attached (on in the drawing) SpotPointDistance to the LH 30.5cm brick wall when in plan view which is not helping...
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

NiSiWi

Dean it makes no difference - see attached ?

Darrel - ok so that seems to bring me back to where I was in the beginning - I've removed that luminance attached to the wall object (forgot about that) and will try your suggestion.
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

NiSiWi

If I use the scene luminance option to render (geo sun is having no impact) I start to get shadows (see attached), however its not very intuitive to position the sun relative to date, time etc.

So to use geo sun and make sun positioning simple I need Lightworks - correct ?

If not using geo sun and relying on RedSDK I use luminance (casts light from a dome surrounding the scene) and have to figure out how to set the sun relative to the scene ?

Any idea how I figure out the sun setting for a given date, time and north direction ?
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

Darrel Durose

#29
You cannot accurately use date and time in sun luminance.

See attached which shows the Sky/Sun Environment but the principle for the Sun only is the same:

This is in values between 0 and 1 so you have not got to use a dimension.

Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Dean

Quote from: NiSiWi on August 26, 2016, 06:50:33 AM
If I use the scene luminance option to render (geo sun is having no impact) I start to get shadows (see attached), however its not very intuitive to position the sun relative to date, time etc.

So to use geo sun and make sun positioning simple I need Lightworks - correct ?

If not using geo sun and relying on RedSDK I use luminance (casts light from a dome surrounding the scene) and have to figure out how to set the sun relative to the scene ?

Any idea how I figure out the sun setting for a given date, time and north direction ?

Nic.
If you give me the Azimuth and elevation I will figure out the Redsdk sun location for you.
I have lightworks.

I use this for sun position   http://www.esrl.noaa.gov/gmd/grad/solcalc/azel.html
"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

NiSiWi

Dean - Thanks for the offer, however I'd like to figure this out for myself.

Darrel - Thanks.  I figured that was where the suns position was input.  Just need to figure out the x y z with a bit of math possibly.

I've noticed that RedSDK Draft mode produces a white block after rendering - using the standard RedSDK settings - any idea how I resolve this ?

Looks like most of the RedSDK errors I was seeing were because I had render in view and was then changing RedSDK setting through RM while the render was active.
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

NiSiWi

#32
According to this:
https://turbocaddoc.atlassian.net/wiki/display/TC2015UG/Sun+Position
QuoteThe Sun control  is designed to provide a universal control for the display of sunlight in all draft and quality renders.

A Sun Light should be generated for the render which does not seem to work.
Can TurboCAD support/dev please comment on this as I expected this feature to be working ?
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

Darrel Durose

Hi

I have created a simple RedSDK Position Sun helper as TurboCAD can be used to get the XYZ positions easily. Have a play with it.

All you have to do is move to Sun Sphere and snap it to the dome Vertex's and read the info in the Poz  returned by TurboCAD's Dialog.

Not sure if you have found the place you can adjust the sun's brightness which left at the default is to bright for Draft and Standard renders. The Sun is lowered to 0.005 from the default 1.

I have attached the file with the Sun setup as below... using this tool it's best in RedSDK Draft mode.

Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

NiSiWi

Appreciate you're trying to help Darrel, however its still going to be an approximation and I'd like to know what the actual situation is with the Ge-Location sun feature.
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

NiSiWi

#35
Whilst I await an official TurboCAD response on the Geo-Location Sun situation with RedSDK I'll try and work through the process for determining more accurately the xyz coordinates.

To determine the Suns Azimuth and Altitude for a given location, date and time I used the following site:

http://www.suncalc.org

The maths for determining the Cartesian coordinates from the Polar coordinates are as follows:

z = sin(altitude)
hyp = cos(altitude)
y = hyp*cos(azimuth)
x = hyp*sin(azimuth)
vector = (x,y,z)

I put together a simple Excel spreadsheet which seems to works well.

So for the 1st August 2016 @ 4PM for the drawings location I get Altitude = 42.67° and Azimut = 238.9°.

Plugging this into Excel (using formulas above) I get:

z   0.677774777
y   -0.379791243
x   -0.629587138

I could convert this into a Ruby script .... along these lines:

# input variables
import math
azimuth = 0
altitude = 0
# output variable
x = 0
y = 0
z = 0

# processing
azimuth = input("What is the suns azimuth? ")
altitude = input("What is the suns altitude? ")

z = math.sin(altitude)
hyp = math.cos(altitude)
y = hyp*math.cos(azimuth)
x = hyp*math.sin(azimuth)

print ("suns vector [x=" + str(x) + ", y=" + str(y) + ", z=" + str(z) + "]")

Would be better if TC15 Sun worked as it should.
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

Darrel Durose

Hi

Why not use TC's Variables Pallete...

I am no Maths/Sun positioning expert but I think the Z value is wrong as it is to high for the time of day...
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

DTTurbocad

#37
I am so far unable to get the Geo-Sun to cast shadows.   Dean how are you getting this to work in TC 2015?
Can you post your version of the file you are working with?

I do get shadows to work in TC 2016.


NiSiWi

I've tried this in TC16 now and I'm still struggling to get any shadows using the Sun Geo-Location option.

There is no scene luminance and no lights just the lighting from the rendering engine and I’m using the Global Illumination Standard render style which is assigned to Quality Rendering which has shadows.

File attached.

What am I doing wrong that is causing the Sun Geo-Location to not work for me guys ?
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

DTTurbocad

Try this file, its definitely working for me in 2016.

Torfinn

Work like a charm here to

What time on the day/ night did you test, as the drawing was set to use the time and date on the place you was, and the intesity was set to 5000, i did get a very "white" render
So try to go one step down to spesific time, and set the intensity to 1 or 0,8 in example.

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

NiSiWi

#41
Ok, well that was working as expected Dave at first.  So can you tell me what you did as it looks (apart from the Suns intensity) the same ?  Did you try the file I posted to the forum ?

Torfinn - I tried all of that (lots of different settings) and couldn't get it to work.  Luminance worked fine though.

VERY strange - I changed the render from Quality to HDR and then reverted back to Quality and the level of light changed.

It was set to 100 in Daves original file and looked OK, then went very bright, now I've had to set it to 1 ?

Ok, I seem to have it working in 2016 now, not sure what it causing the inconsistencies.
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

Darrel Durose

The Sun set to 5000 is way to bright for anything that does not use Photographic Tone Mapping. All I did was change the time to a specific rather than system time and the sun worked.

Photographic Tone Mapping is only used in the Advanced Render Styles which will always bring light intensities into the correct values for displaying on our screens and printers. You can use some of the parameters upon the completion of the render and change exposure, burn, white balance, gamma and gamma curves.

The Standard Quality has a basic tone mapper which cannot bring the intensity down so will look washed out.

The draft modes has no tone mapping and luminances like the Sky are turned into ambient.

I would leave the Sun intensity at 1 so it looks okay in the Standard quality renders.
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

NiSiWi

Darrel - I tried a whole bunch of Sun settings from 1, 10, 100, 1000 to 5000 with no effect, that was just the last setting I had - no shadows, no bright light .... nothing on both Quality and Advanced Render ?

I tried changing the date and time from system to setting to a specific date and time with the same result.

I load Dave's file and it works, suddenly the light level shoots after changing between renders (from Quality to Advanced and back) so I'm forced to readjust Sun to 1 and get same level of light on both Advanced and Quality renders ?

I reload my file and ....... it works ??

I'm still seeing inconsistencies which make no sense (or I'm doing something that I'm not aware of).
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat

Torfinn

Quote from: NiSiWi on September 01, 2016, 11:37:49 AM

Ok, I seem to have it working in 2016 now, not sure what it causing the inconsistencies.

That's TC :), sometimes it sort of hang, you have to switch something before it will let it go and update to the new setting.
I normally delete something and then a ctrl+z to bring it back again, and it will update, if it dont "behave" first time.

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

Darrel Durose

#45
RedSDK unfortunately in TurboCAD can forget to update as Torfinn has mentioned. I always have my Native Draw "Caching of Model Space" unticked so I can flick to Paper Space and back to Model Space to get RedSDK to reload.

It has got better over the years but certain shader changes do not update which can be frustrating as these problems cannot always be repeated by development...

If all else fails "do the switch"  ;)
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

NiSiWi

Ok guys, that's useful to know.

Thanks to everyone for chipping in and helping with this.
I can start to build this thing out now that I know what spanners might get thrown in the works :-)

Cheers!
Intel i7-4720HQ 2.6GHz CPU, 32GB RAM, 500GB SSD, Intel HD4600 GPU + NVidia GeForce GTX 970M 3GB GPU
Win 10 64bit
TC2016 Plat