Stripping scaling out of a hierarchy.

"[email protected]" <[email protected]>
Newsgroups gmane.games.devel.algorithms
Message-ID <[email protected]>
Hello everyone. 

  My XSI exporter supports exporting a small hierarchy of objects.  One 
of it's uses is to allow the game to find parts like the tracks, body, 
wheel, turret etc.  All works fine until I purchased some models that 
are the wrong scale and I decide to scale them in XSI to 1 unit is 1m.  
Now my hierarchy has scaling in it.  This becomes a mess with bounding 
volumes on parts and frame of references having scaling in it.  I 
finally found an option in XSI to freeze all the scaling but I was 
wondering how can I have my build tool do the same thing so that I won't 
have problems down the road?  Also its bugging me.

 I tried resolving all the nodes into model space and then using inverse 
transforms to resolve the local transforms on each part.  It didn't work. 

Leigh





------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
GDAlgorithms-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.