POV-Ray : Newsgroups : povray.general : Koordinates Baking part2 : Koordinates Baking part2 Server Time
31 Jul 2024 00:24:54 EDT (-0400)
  Koordinates Baking part2  
From: H  Karsten
Date: 5 Mar 2008 10:20:01
Message: <web.47ceb88f1bde76ade410cd5a0@news.povray.org>
Hi people!
Here:
http://news.povray.org/povray.general/thread/%3Cweb.47b9887c93fc6a8bf8a489ba0%40news.povray.org%3E/

I was asking about coordinates baking.

Now I have the problem, that an object will be translated and rotated and this
couple of times:

1.: I rotate an object around <0,0,0>
2.: Then I translate it to <1,0,0>
3.: Now I'm rotating it again (again around <0,0,0>)

If I use vrotate, I need to give at step 3 the new position of my vector:
#declare MyVector_Rotation=vrotate(MyVector_Position,<10,20,30>) for example

but where is my first rotation, assigned at step 1?

How to give the vrotate my Position AND my (older) orientation?

Maybe, I have some confusing how to use the rotation vector, after using
vrotate?

After calkulating the vectors, I would give the objects the following
coordinates like this:

rotate MyVector_Rotation
translate MyVector_Position

Is that right?


Post a reply to this message

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