POV-Ray : Newsgroups : povray.windows : Vector Turns Server Time
24 Nov 2024 05:39:29 EST (-0500)
  Vector Turns (Message 1 to 1 of 1)  
From: David Vincent-Jones
Subject: Vector Turns
Date: 5 Sep 2000 14:55:18
Message: <39b54196@news.povray.org>
Can somebody please tell me why the Turn is not working....

#declare Start=<0,0,20>
#declare End=<8,0,30>
#declare Dist=vlength(Start-End);
#declare Turn=vrotate(Start,End);

box {<-1,-1,-1>,<1,1,1> texture {pigment {checker color Black, color
White } }
scale <(Dist),1,1> translate<-Dist,0,0> rotate y*Turn  translate End
 }

I am trying to place a box with its centerline sitting on the Start and End
vectors...
Or is there an easier way to do this?

David V-J


Post a reply to this message

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