POV-Ray : Newsgroups : povray.general : Finding exact position after translating and rotating... : Re: Finding exact position after translating and rotating... Server Time
12 Aug 2024 23:26:33 EDT (-0400)
  Re: Finding exact position after translating and rotating...  
From: ingo
Date: 18 Dec 1998 18:11:30
Message: <367ae122.0@news.povray.org>
Mike heeft geschreven in bericht <367B737F.1F700759@aol.com>...
>You could #declare the variables you use for the sun postition and then
>use that anywhere you want.

I don't think that is what Istvan is looking for. The problem, as I
understand it, is how to go from

light_source {
    <0,0,0>
    translate <0, 0, SunDistance>
    rotate <-Al, Az, 0>
}

to an exact position: light_source {<x,y,z>}.

Although I've put together the sunpos.inc (I needed it badly) my math is not
as good as it has never been before

Sorry I cant help you on this, maybe someone else?

ingo


Post a reply to this message

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