Author Topic: Sun disc location VS Sun null in viewport  (Read 472 times)

Offline ajcgi

  • Terragen Alpha Tester (Mac)
  • ***
  • Posts: 559
    • My little blogsite
Sun disc location VS Sun null in viewport
« on: February 14, 2018, 09:54:55 AM »
There seems to be an odd offset between the sun disc and cross representing said disc. Is this just because I'm up in space and should ignore the cross? Image attached.


Offline Matt

  • Planetside Staff
  • *
  • Posts: 3206
  • I'm the crazy one
Re: Sun disc location VS Sun null in viewport
« Reply #1 on: February 14, 2018, 08:41:39 PM »
The cross ("preview handle") is less accurate as you move away from the origin because it is not as far away as the sun should be. In contrast, the sun's disc is moved so that it appears to be consistent with the sun's lighting direction which is treated as constant everywhere in the scene, making it an infinite/directional light source. But the preview handle isn't moved the same way. We should fix that. You can still use it to move the sun, of course.

Matt
Just because milk is white doesn't mean that clouds are made of milk.

Offline Matt

  • Planetside Staff
  • *
  • Posts: 3206
  • I'm the crazy one
Re: Sun disc location VS Sun null in viewport
« Reply #2 on: February 14, 2018, 08:44:56 PM »
By the way, if you move the viewpoint while the preview is paused, the disc might also appear in the wrong place too (being calculated from where the preview was paused).

Matt
Just because milk is white doesn't mean that clouds are made of milk.

Offline ajcgi

  • Terragen Alpha Tester (Mac)
  • ***
  • Posts: 559
    • My little blogsite
Re: Sun disc location VS Sun null in viewport
« Reply #3 on: February 15, 2018, 09:37:03 AM »
That's the explanation we came up with here too.  8) Glad to know you might fix it though!
Thanks ever so much Matt.

 

anything