POV-Ray : Newsgroups : povray.general : Latitude, longitude, radius pattern? : Re: Latitude, longitude, radius pattern? Server Time
1 Jun 2024 11:02:40 EDT (-0400)
  Re: Latitude, longitude, radius pattern?  
From: Le Forgeron
Date: 21 Aug 2015 01:19:44
Message: <55d6b4f0$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Le 21/08/2015 07:04, clipka a écrit :
> Am 21.08.2015 um 06:19 schrieb Mike Horvath:
>> How would I create a checker pattern that wraps around a globe? I
>> would like the checker to alternate between latitude, longitude,
>> etc. Thanks!
> 
> "Checker pattern and a spherical warp" would be my first thought.
> 

sphere { 0,av_ra
texture {
checker texture { pigment { color rgb <1,1,0> } },texture { pigment
{color rgb 0.5} }
 scale 1/4 warp { spherical orientation y } } }

you can adjust the frequency of alternating by tuning the scale 1/4 to
your need, even with a non uniform scale.

av_ra is the radius of your globe.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iJwEAQEIAAYFAlXWtO8ACgkQhKAm8mTpkW08CwQArMiLp2P1MnvfGZku14Ajnc3m
MjdceqGAAKPAyUJAm55d1trNbovtY5rnSpGNgMljji5ruI92Eq85ti9S7hCcXTK0
WTjN16Tcjhs5kljCkMVdoYTQNhe9eB55kY4V8BzUrNfoKiCCV/wvYvw/BC7Y0nXZ
FSQZnqlXqqVo/8C/Tjc=
=7G3o
-----END PGP SIGNATURE-----


Post a reply to this message

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