POV-Ray : Newsgroups : povray.general : 2 color sphere : 2 color sphere Server Time
10 Aug 2024 17:22:38 EDT (-0400)
  2 color sphere  
From: David Vincent-Jones
Date: 22 Nov 1999 17:31:59
Message: <3839c45f@news.povray.org>
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, 0, 0> 1
        pigment { gradient x
        color_map { [0 color Red][ 0.5 color Red][0.5 color White][1 color
White] }}}

I have tried several radius options
Can somebody see the problem here...?


Post a reply to this message

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