POV-Ray : Newsgroups : povray.advanced-users : Radius of the sun : Radius of the sun Server Time
28 Apr 2024 04:20:00 EDT (-0400)
  Radius of the sun  
From: Mike Horvath
Date: 7 Sep 2016 21:54:43
Message: <57d0c4e3$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.