POV-Ray : Newsgroups : povray.binaries.images : When things turn odd - 52Kb : Re: When things turn odd Server Time
13 Nov 2024 22:23:09 EST (-0500)
  Re: When things turn odd  
From: Phil Cook
Date: 6 May 2004 06:59:40
Message: <opr7krf3ukp4ukzs@news.povray.org>
On Fri, 30 Apr 2004 14:20:09 +0100, Phil Cook 
<phi### [at] nospamdeckingdealscouk> wrote:

#macro S(P,T)light_source{y*0.99 rgb 0.2}sphere{0,2 pigment{P filter 1 
transmit 0.6}translate y*0.1*T no_image}#end#declare 
U=union{S(rgb<1,1,0>,4)S(blue 1,3)S(green 1,2)S(red 1,1)translate 
z*10}object{U}object{U scale y*-1}plane{-z,-17 pigment{rgb 1}}

So can anyone shorten this? And does anyone know exactly why it does this 
:)

Changing the position of the light_source y is fun as is using merge 
instead of union. As I've no_image(d) the sphere; difference makes them 
show up although for some reason I get a "Warning: Camera is inside a 
non-hollow object..." which as the radius 2 spheres are translated z*10 
and the camera is at 0 and I'm not inside the plane object, I find odd.

--
Phil Cook

-- 
All thoughts and comments are my own unless otherwise stated and I am 
happy to be proven wrong.


Post a reply to this message

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