POV-Ray : Newsgroups : povray.newusers : NEWBIE Translate/Rotate question : Re: NEWBIE Translate/Rotate question Server Time
28 Nov 2024 01:28:04 EST (-0500)
  Re: NEWBIE Translate/Rotate question  
From: Steve
Date: 1 Mar 2002 07:15:58
Message: <slrna7ur9v.ka2.steve@zero-pps.localdomain>
On Thu, 28 Feb 2002 18:21:30 -0700, Owen Mortensen wrote: 
> Please clear up my thinking on this.

If a box is to be flat then create it where it will live, no need to 
rotate and translate etc. 

I havn't tested your code or even read it but from what you're saying
there's no need to rotate and translate it. 

--
#local i=.1;#local I=(i/i)/i;#local l=(i+i)/i;#local ll=(I/i)/l;box{<-ll,
-((I/I)+l),-ll><ll,-l,ll>pigment{checker scale l}finish{ambient((I/l)/I)+
(l/I)}}sphere{<i-i,l-l,(I/l)>l/l pigment{rgb((I/l)/I)}finish{reflection((
I/l)/I)-(l/I)specular(I/l)/I}}light_source{<I-l,I+I,(I-l)/l>l/l} // Steve


Post a reply to this message

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