POV-Ray : Newsgroups : povray.general : Sphere with longitudes and latitudes? : Re: Sphere with longitudes and latitudes? Server Time
31 Jul 2024 04:24:12 EDT (-0400)
  Re: Sphere with longitudes and latitudes?  
From: M a r c
Date: 11 Nov 2007 17:03:57
Message: <47377c4d@news.povray.org>

47374beb$1@news.povray.org...
> Hi,
>
> I'd like to create a sphere with lines for longitudes and latitudes,
> which basically is just a white sphere with thin black lines on horizon
> and parallel to the horizon, and lines from north to south.
>
> How would I do this?
>
> I tried to apply a texture with a color map onto the surface of the
> sphere, but the gradient is just a linear vector of x,y,z and not
> a term (e.g. the angle phi cannot be used).
>
> Another approach would be to mix the sphere with very flat and black
> cylinders which are just a little big bigger than the sphere, but then
> the sphere is not perfect anymore.
>
> How could I get a sphere with those lines?
>
> regards
> Hadmut

Why not build your lines with some tori and make an object_pattern with 
them?
You could keep constant width lines that way.

Marc


Post a reply to this message

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