POV-Ray : Newsgroups : povray.newusers : Checker a sphere? Server Time
4 Sep 2024 18:13:56 EDT (-0400)
  Checker a sphere? (Message 1 to 2 of 2)  
From: Mark Hanford
Subject: Checker a sphere?
Date: 21 Oct 2002 19:31:09
Message: <3db48e3d$1@news.povray.org>
I'm sure I've missed something obvious (late-night shortsightedness
maybe) but I'm having trouble getting a checker pattern to map itself
onto a sphere in such a way as that it looks a bit like the lat/long
lines on a globe.

Can someone please give me a clue (or a bash if I'm being really
stupid and an RTFM would readily solve my problem...)

--
Mark Hanford

Putting POV code on the web? Make it look pretty with POV2HTML...
http://www.hanfordonline.co.uk


Post a reply to this message

From: Mark Hanford
Subject: Re: Checker a sphere?
Date: 21 Oct 2002 19:36:39
Message: <3db48f87$1@news.povray.org>
Got It!

Sorry folks.  I've always been kinda scared of UV-mapping so haven't
seen what it's all about...

sphere{
  0,1
     pigment{
          uv_mapping
          checker color rgb 0 color rgb 1 scale 0.1
     }
}

Thanks anyway - I'm sure you woulda helped... ;)
--
Mark Hanford

Putting POV code on the web? Make it look pretty with POV2HTML...
http://www.hanfordonline.co.uk
"Mark Hanford" <mar### [at] theinternetcom> wrote in message
news:3db48e3d$1@news.povray.org...
> I'm sure I've missed something obvious (late-night shortsightedness
> maybe) but I'm having trouble getting a checker pattern to map
itself
> onto a sphere in such a way as that it looks a bit like the lat/long
> lines on a globe.
>
> Can someone please give me a clue (or a bash if I'm being really
> stupid and an RTFM would readily solve my problem...)
>
> --
> Mark Hanford
>
> Putting POV code on the web? Make it look pretty with POV2HTML...
> http://www.hanfordonline.co.uk
>
>


Post a reply to this message

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