POV-Ray : Newsgroups : povray.general : Re: Shorten Code Tips : Re: Shorten Code Tips Server Time
2 Nov 2024 13:20:52 EDT (-0400)
  Re: Shorten Code Tips  
From: Warp
Date: 1 Mar 2004 13:10:39
Message: <40437c9f@news.povray.org>
Tim Nikias v2.0 <tim.nikias (@) nolights.de> wrote:
> Well, Matrix has 12 digits, seperated by commas

  Commas are not always mandatory. For instance you can write an identifier
name right after a number, without any separator (ie. comma or whitespace).

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

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