POV-Ray : Newsgroups : povray.general : sunpos.inc : Re: sunpos.inc Server Time
30 Jul 2024 04:19:04 EDT (-0400)
  Re: sunpos.inc  
From: clipka
Date: 6 Sep 2009 03:52:18
Message: <4aa36a32$1@news.povray.org>
SharkD schrieb:
> The docs don't tell you how *far away* the sun is from the center of the 
> scene when you include this file. What is the distance?

A quick look at sunpos.inc reveals that the point returned by the SunPos 
macro will be placed 1000000000 (1e+9) units  away.

You can pick your own favorite distance by using

     #declare MySunPos = vnormalize(SunPos(...))*MySunDistance;


Post a reply to this message

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