POV-Ray : Newsgroups : povray.binaries.images : Odd Transformation : Re: Odd Transformation Server Time
20 Nov 2024 06:47:59 EST (-0500)
  Re: Odd Transformation  
From: Gilles Tran
Date: 16 Jul 2003 09:41:55
Message: <3f155623$1@news.povray.org>

3F1553EE.ED12B0C7@duratechindustries.net...
> Hi all.  Can someone help me understand why my translated and rotated
> grass would suddenly become airborne?


In the following line
> translate rand(R4)*1.5+z*Rad

rand(R4)*1.5 is actually promoted to rand(R4)*1.5*<1,1,1>
so that you have a random <x,y,z> movement
To get it right it should be for instance <rand(R4),0,rand(R4)>


G.


**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

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