POV-Ray : Newsgroups : moray.win : MegaPOV support in next Moray version? : Re: MegaPOV support in next Moray version? Server Time
28 Jul 2024 20:22:56 EDT (-0400)
  Re: MegaPOV support in next Moray version?  
From: Warp
Date: 12 Jul 2000 14:33:37
Message: <396cba00@news.povray.org>
In this one:

light_source
{ <1,1,0>, 1
  looks_like { sphere { 0, .1 pigment { rgb 1 } finish { ambient 1 } } }
}

the sphere is translated by the location of the light source. That is,
this produces a sphere that is located at <1,1,0>.

  In this one:

union
{ light_source { <1,1,0>, 1 }
  sphere { 0, .1 no_shadow pigment { rgb 1 } finish { ambient 1 } }
}

however, the sphere is not translated anywhere (of course), so it produces
a sphere that is located at <0,0,0>.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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