POV-Ray : Newsgroups : povray.general : 2 color sphere : Re: 2 color sphere Server Time
10 Aug 2024 17:30:20 EDT (-0400)
  Re: 2 color sphere  
From: Peter Popov
Date: 22 Nov 1999 18:30:38
Message: <e9A5OA9ueQ53LfHjKiGEwF9BUfsT@4ax.com>
On Mon, 22 Nov 1999 14:32:05 -0800, "David Vincent-Jones"
<geo### [at] galaxynetcom> wrote:

>Should be very simple
>A sphere with one half red and one half white
>If I want multiple stripes it is really no problem but just half and half
>appears to elude me.

sphere
{
  0, 1
  pigment 
  { planar color_map { [0 Red][0.5 Red][0.5 White][1 White] }
    scale 2 translate -y rotate 90*z
  }
}

    
Peter Popov
ICQ: 15002700


Post a reply to this message

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