![]() |
|
#3
|
|||
|
|||
|
Sure, no problem to generate wrl. The problem is that the translation and rotation in WRML differ from Vizard. As to translation, WRML has opposite Z direction. More difficult situation is for rotation: since I have top (p1) and bottom (p2) cylinder positions in Vizard, to get WRML rotation parameters I tried
vizmat.LookToQuat(vizmat.VectorToPoint(p1,p2)) and vizmat.QuatToAxisAngle(vizmat.LookToQuat(vizmat.Ve ctorToPoint(p1,p2))) but both variants produces something mysterious. Could you help? |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| saving the scene | giancamati | Vizard | 1 | 12-21-2006 10:25 AM |
| saving the position | poolshark | Vizard | 3 | 09-26-2003 02:57 PM |