Shininess with artifical light source - problem

Raylectron (http://Raylectron.com) is a 3D rendering engine for Trimble Sketchup (http://sketchup.com)
Post Reply
szakul
Posts: 25
Joined: Fri Nov 27, 2015 3:42 pm

Shininess with artifical light source - problem

Post by szakul » Thu Jan 28, 2016 4:27 pm

I have similar problem to this - http://softbytelabs.com/Forum/viewtopic.php?f=9&t=560.
When I use artifical light source and add shininess (reflection) to some elements - weird light things are created.
Stronger shininess (reflection) = stronger weird light effect.

When lights or shininess (reflection) are turned off - everthing is ok.

Raylectron - newest CPU version (4,79)
CPU - i7-8520k
GPU - GeForce 970 (newest drivers)

Thank You for help.
Attachments
5.jpg
5.jpg (290.4 KiB) Viewed 6830 times
4.jpg
4.jpg (306.86 KiB) Viewed 6830 times
3.jpg
3.jpg (303.32 KiB) Viewed 6830 times
2.jpg
2.jpg (274.77 KiB) Viewed 6830 times
1.jpg
1.jpg (279.4 KiB) Viewed 6830 times

User avatar
Support
Site Admin
Posts: 1841
Joined: Sun Oct 02, 2011 10:49 am

Re: Shininess with artifical light source - problem

Post by Support » Thu Jan 28, 2016 4:33 pm

Shiny object will reflect the light as mirrors does so it's normal to see the pink on the walls. But perhaps I'm not on the right track, can you explain to me the weird things that it does?
Your support team.
http://SoftByteLabs.com

szakul
Posts: 25
Joined: Fri Nov 27, 2015 3:42 pm

Re: Shininess with artifical light source - problem

Post by szakul » Thu Jan 28, 2016 4:46 pm

Support wrote:Shiny object will reflect the light as mirrors does so it's normal to see the pink on the walls. But perhaps I'm not on the right track, can you explain to me the weird things that it does?
Yes. Pink color on the walls is correct. I've created pink light source to show You a difference. Look at the lights in a red circles. No matter what color of the light is, no matter how strong is light, these weird thing are always created. And always are light yellow (white?). Not pink for example. If artifcal light is off - everything is ok. Is material has no shininess - also ok.

Sun is set at 11 PM.
Attachments
6.jpg
6.jpg (327.86 KiB) Viewed 6827 times

User avatar
Support
Site Admin
Posts: 1841
Joined: Sun Oct 02, 2011 10:49 am

Re: Shininess with artifical light source - problem

Post by Support » Thu Jan 28, 2016 5:11 pm

What are the settings you have under Illumination?
Your support team.
http://SoftByteLabs.com

szakul
Posts: 25
Joined: Fri Nov 27, 2015 3:42 pm

Re: Shininess with artifical light source - problem

Post by szakul » Thu Jan 28, 2016 5:16 pm

Support wrote:What are the settings you have under Illumination?
Artificial lights = on
Sun = on
Sky = on
Environment map = off
Direct Illumination = On
Grain free Rendering = On
Shadow = real

Sky intens = 1,00
When sky is off in illumination panel or set to 0 in sun and sky = everything is ok.
When Environment map is on - problem backs.

User avatar
Support
Site Admin
Posts: 1841
Joined: Sun Oct 02, 2011 10:49 am

Re: Shininess with artifical light source - problem

Post by Support » Thu Jan 28, 2016 5:26 pm

ah, it's because the shine is reflecting the sky above. If you turn off the sun/sky/env and only use the artificial light, it will shine black or whatever the lights are illuminating. Change the shine to reflection = 100 and diffuse = 0 you will then see the sky on those horizontal surfaces, and in turn they will reflect onto the walls.
Your support team.
http://SoftByteLabs.com

szakul
Posts: 25
Joined: Fri Nov 27, 2015 3:42 pm

Re: Shininess with artifical light source - problem

Post by szakul » Thu Jan 28, 2016 5:43 pm

Support wrote:ah, it's because the shine is reflecting the sky above. If you turn off the sun/sky/env and only use the artificial light, it will shine black or whatever the lights are illuminating. Change the shine to reflection = 100 and diffuse = 0 you will then see the sky on those horizontal surfaces, and in turn they will reflect onto the walls.
So, please look at this.
Left picture - artifical light is off. Everything is ok. Sky is reflecting in the object, no reflection on the wall.

Right picture - artifical light is on, but very very weak (low power, intesivity = 1). And we can see very strong light reflection on the wall.

When I changed shine to reflection (without diffuse) - same effect.
Attachments
7.jpg
7.jpg (475.8 KiB) Viewed 6823 times

User avatar
Support
Site Admin
Posts: 1841
Joined: Sun Oct 02, 2011 10:49 am

Re: Shininess with artifical light source - problem

Post by Support » Thu Jan 28, 2016 6:14 pm

I see! can you PM me the model so I can give it a try and see what's causing this?
Your support team.
http://SoftByteLabs.com

szakul
Posts: 25
Joined: Fri Nov 27, 2015 3:42 pm

Re: Shininess with artifical light source - problem

Post by szakul » Thu Jan 28, 2016 7:14 pm

Support - first class. :D Problem solved. Thx.

User avatar
Support
Site Admin
Posts: 1841
Joined: Sun Oct 02, 2011 10:49 am

Re: Shininess with artifical light source - problem

Post by Support » Thu Jan 28, 2016 7:24 pm

You are welcome and thank you for letting us know :)
Your support team.
http://SoftByteLabs.com

Post Reply