POV-Ray : Newsgroups : povray.general : 2 color sphere : Re: 2 color sphere Server Time
10 Aug 2024 17:25:58 EDT (-0400)
  Re: 2 color sphere  
From: mr art
Date: 22 Nov 1999 23:27:23
Message: <383A178A.77990CA@gci.net>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I know that you people already know this one, but here goes anyway:
<br>color_map { [0 Red][0.5 Red][0.5 White][1 White] }
<br>is the same as
<br>color_map {[0.5 Red][0.5 White]}
<br>Well, except it is shorter.
<br>For some reason, one that I like, POV  fills in the rest.
<p>Peter Popov wrote:
<blockquote TYPE=CITE>On Mon, 22 Nov 1999 14:32:05 -0800, "David Vincent-Jones"
<br><geo### [at] galaxynetcom> wrote:
<p>>Should be very simple
<br>>A sphere with one half red and one half white
<br>>If I want multiple stripes it is really no problem but just half and
half
<br>>appears to elude me.
<p>sphere
<br>{
<br>  0, 1
<br>  pigment
<br>  { planar color_map { [0 Red][0.5 Red][0.5 White][1 White] }
<br>    scale 2 translate -y rotate 90*z
<br>  }
<br>}
<br> 
<p>Peter Popov
<br>ICQ: 15002700</blockquote>
</html>


Post a reply to this message

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