POV-Ray : Newsgroups : povray.general : Help needed with texture mapping : Re: Help needed with texture mapping Server Time
14 Aug 2024 01:18:50 EDT (-0400)
  Re: Help needed with texture mapping  
From: Dan Connelly
Date: 10 Jul 1998 19:51:47
Message: <35A69AF8.423D4CA5@flash.net>
> #declare RX = degrees ( atan2 ( DZ, vlength( <DX, DY, 0> ) ) );
> #declare RY = degrees ( atan2 ( DX, DY ) );
> 
> rotate <RX, RY, 0>


Correction (sorry...) :

#declare RY = degrees ( atan2 ( DX, DZ) );


Post a reply to this message

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