POV-Ray : Newsgroups : povray.general : New Signature : Re: New Signature Server Time
6 Aug 2024 23:29:11 EDT (-0400)
  Re: New Signature  
From: Tor Olav Kristensen
Date: 28 Dec 2001 16:03:03
Message: <3C2CDE08.9FBE91C2@hotmail.com>
Warp wrote:
> 
> Warp <war### [at] tagpovrayorg> wrote:
> : light_source{0,1}#macro c(J,a)sphere{0,1scale a translate J+O}#end#macro B(R,
> : V,O)c(0,4)intersection{c(V,R)difference{c(-z*4x+10)c(-z*4.1x+10)c(0<7.5,45,5>
> : )}}#end union{B(12,0z*25)B(8y*4<0,12,50>)pigment{rgb z}}
> 
>   And as there's no need for scaling anymore, we can reduce the sig even
> more:
> 
> light_source{0,1}#macro c(J,a)sphere{0,1pigment{rgb z}scale a translate J+O}
> #end#macro B(R,V,O)c(0,4)intersection{c(V,R)difference{c(-z*4x+10)c(-z*4.1x+
> 10)c(0<7.5,45,5>)}}#end B(12,0z*25)B(8y*4<0,12,50>)

Yes that's exactly the same conclusion that I reached.

Note that if the light source had not been postioned
at origo too, then the light rays would have hit the
object at different angles.


Tor Olav


Post a reply to this message

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