|
|
I'm trying to create the Sun in my scene. However I am having trouble
getting it to be the rights size. Here is what I'm doing:
#include "sunpos.inc"
#declare Meters = 60; // 60 units = 1 meter.
#declare SunRadius = 695700000 * Meters;
#declare SunDistance = 1.4960e11 * Meters;
#declare Source_Distance = 100000 * Meters;
#declare Source_Location = SunPos(2016, 9, 6, 11, 0, 0, 39.7684, 0);
#declare Source_Location =
vnormalize(<+Source_Location.x,-Source_Location.y,+Source_Location.z>) *
Source_Distance;
// Either this or the next line
//#declare Source_Radius = Source_Distance/SunDistance * SunRadius;
// This is the next line
#declare Source_Radius = tand(4/15) * Source_Distance;
As you can see I tried two methods. They produce similar results as far
as I can tell. But to me the Sun still seems too small.
Look at the scene here:
http://isometricland.net/panorama/pannellum.htm?config=pano_lego_carriagehouse.json
What am I doing wrong? Are my eyes wrong?
Thanks.
Mike
Post a reply to this message
|
|