light source / shading issues

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
bayesmap
Posts: 5
Joined: Thu Feb 21, 2019 2:18 am

light source / shading issues

Post by bayesmap »

I'm trying to use the shading with the sun (custom light off) but it does not work as expected.
It looks like the sun is aligned with the camera or there is a bug in the shader.
Can't see the sun, only the custom light shows up as a yellow star when turned on.
There are some viewpoint dependent effects, see attachments.
Does anybody else have this issue on mac?
thank you for your help,
Andre

Version 2.9.1 on mac OS 64
Attachments
Screen Shot 2019-02-22 at 18.51.42.png
Screen Shot 2019-02-22 at 18.51.42.png (43.81 KiB) Viewed 2901 times
Screen Shot 2019-02-22 at 18.51.18.png
Screen Shot 2019-02-22 at 18.51.18.png (102.92 KiB) Viewed 2901 times
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: light source / shading issues

Post by daniel »

I believe this is normal. The default 'sun' light is actually fixed on the viewer (not in +Z for instance). If you want to control the light position, you should disable the 'sun' light, and enable only the custom one. Then you can move it around by keeping the CTRL key (or the mac equivalent?) and the right mouse button: https://www.cloudcompare.org/doc/wiki/i ... stom_Light
Daniel, CloudCompare admin
Post Reply