POV-Ray : Newsgroups : povray.general : zebrastripe like pattern (basically stripes), also what is a good newsreader : Re: zebrastripe like pattern (basically stripes), also what is a good newsreader Server Time
7 Aug 2024 17:28:22 EDT (-0400)
  Re: zebrastripe like pattern (basically stripes), also what is a good newsreader  
From: Francois Labreque
Date: 5 Aug 2001 20:57:32
Message: <3B6DEA27.336BA123@videotron.ca>
Chris Huff wrote:
> 
> In article <3b6dc492@news.povray.org>,
>  "Arlinghaus" <Arl### [at] stc-fcom> wrote:
> 
> > I would like to know how to make a pattern like zebra stripes or
> > xconstruction sfaty (black / yellow stripes).
> 
> "Danger" stripes would be easy, just a gradient pattern with a two-color
> color_map. If you're asking how to do the color map:
> color_map {
>     [0 Black]
>     [0.5 Black]
>     [0.5 Yellow]
>     [1 Yellow]
> }

Why not shorten the list to just:

color_map {
    [ 0.5 Black ]
    [ 0.5 Yellow ]
}

?


> 
> --
> Christopher James Huff - chr### [at] maccom, http://homepage.mac.com/chrishuff/
> TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
> 
> <><

-- 
Francois Labreque | Unfortunately, there's no such thing as a snooze
    flabreque     | button on a cat who wants breakfast.
        @         |      - Unattributed quote from rec.humor.funny
   videotron.ca


Post a reply to this message

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