POV-Ray : Newsgroups : povray.text.scene-files : Planetarium : Re: Planetarium Server Time
1 Apr 2023 04:18:40 EDT (-0400)
  Re: Planetarium  
From: Stephen
Date: 15 Sep 2018 09:01:34
Message: <5b9d02ae$1@news.povray.org>
On 15/09/2018 13:11, Mike Horvath wrote:
> On 9/15/2018 6:58 AM, Stephen wrote:
>> On 15/09/2018 11:43, Mike Horvath wrote:
>>> I have textures, but do not know how to orient them with respect to 
>>> the axial tilt, orbit and sun. Is anyone familiar with how to do this?
>>>
>>>
>>> Mike
>>
>> For Z up Left handed scenes.
>>
>>
>> texture {
>>    pigment {
>>      image_map{
>>        png "F:\Graphics\B3D Data\Maps\Planets\Earth\EarthMap2.png"
>>        interpolate 2
>>        map_type 1
>>      }
>>      rotate    <20.000,0.000,0.000>
>>    }
>>
>> Then for orientation in an orbit. Rotate the sphere the planet texture 
>> will follow.
>>
> 
> Thanks. But which direction does the axis tilt with respect to the Sun 
> on a given day?
> 
> 


Earth currently has an axial tilt of about 23.4° and the angle does not 
change. With respect to the Sun on a given day, it depends on there it 
is in its orbit.
https://en.wikipedia.org/wiki/Axial_tilt#Earth

So if you start your Planetarium at the summer or winter equinox. The 
mechanics will take care of themselves.
I think. :)



-- 

Regards
     Stephen


Post a reply to this message

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