POV-Ray : Newsgroups : povray.general : Inverse of vrotate? : Re: Inverse of vrotate? Server Time
25 Apr 2024 03:25:55 EDT (-0400)
  Re: Inverse of vrotate?  
From: Mike Horvath
Date: 10 Mar 2018 23:52:58
Message: <5aa4b62a$1@news.povray.org>
I am not getting the results I want.




#declare light_source_location	= vrotate(<0,0,-1>, <-060,-060,+000>);
#declare light_source_rotation	= VtoA(light_source_location);

#debug "\n"
#debug concat("angles = ", vstr(3, light_source_rotation, ",", 0, -1), "\n")
#debug "\n"



The input and output angles do not match.

I would also rather omit the z angle in the result, so that there is 
only rotation around the x and y axes.


Mike


Post a reply to this message

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