|
![](/i/fill.gif) |
Hello,
I've the following problem:
I'am using a big smooth_triangle mesh, which I translate and rotate on vertics
level by macros. The translate's and rotate's are needed for modification to the
mesh for a later animation.
After the modification I want to translate/rotate the mesh in it's original
postion. Currently I'm storing all applied translate/rotate in a list and do
them backwards. This works but needs lot of parsing time.
My question is now, how can I convert the list of translate's/rotate's to a
single translate/rotate statement ?
translate <1,2,3>
rotate <30,50,-20>
translate<-2,4,-5>
rotate<-40,130,70>
.....// lots of more transforms
rotate <10,0,40>
|
|
V
translate <tx,ty,tz>
rotate <rx,ry,rz>
I need the values t?,r? so that I can use them in macros.
Post a reply to this message
|
![](/i/fill.gif) |