POV-Ray : Newsgroups : povray.general : Starfield: pow(10,6) spheres or an isosurface? : Re: Starfield: pow(10,6) spheres or an isosurface? Server Time
5 Aug 2024 22:19:56 EDT (-0400)
  Re: Starfield: pow(10,6) spheres or an isosurface?  
From: Andrew
Date: 27 Aug 2002 15:20:03
Message: <3d6bd0e3$1@news.povray.org>
> Convert the Right Ascension and Declination to degrees. Place the star
a
> long distance away in the z direction. Rotate by -x*RA then y*Dec (or
is
> it -y*Dec).


It is worth mentioning that RA is measured in hh:mm:ss, so the way to
convert it to degrees is simply to multiply it by 15, i.e.  ( hours +
( minutes / 60 ) + ( seconds / 3600 ) )  *  15

Declination is already in degrees, so no need to convert!


Post a reply to this message

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