Hi Daniel,

Daniel Zuidinga wrote:
> Hello ng,
> 
> i have problems with the getting and setting of the translation of 
> nodecores. The first thing which doesn't work well is the rotation, the 
> second thing is, that i doesn´t get the right information by calling 
> matrix.getTransform respectively i doesn't get the values which i set in 
> setObjectTranslation.

matrix.getTransform() has been broken for quite a while. Very few people ue it 
so we haven;t been able to really identify the reason (the code is taken 
straight from Graphics Gems IIRC). Any help welcome.

Looking at your code, are all your objects coming from VRML? In that case the 
actual transforms are ComponentTransforms, which have translation, rotation and 
scale separated anyway, so you don't really need getTransform(). It doesn't 
have 
separate x/y/z rotations but those are generally not a good idea anyway, if you 
can use the one quat that would be better.

Hope it helps

        Dirk

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to