Go Back   AC3D Forums > Technical > AC3D Bugs and Problems
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 22nd January 2012, 06:18 PM   #1
thorax
Junior Member
Member
 
Join Date: Nov 2011
Posts: 10
Default Collada import not considering <unit /> tag therefore importing incorrect scale

Hi, i have some COLLADA DAE files that have a <unit /> tag like this case:

Code:
<unit meter="1" name="meter"/>
everything works fine with meter=1
the problem lies when the scale is in inches. for instance:

Code:
<unit name="inches" meter="0.0254"/>
After importing a COLLADA DAE file with this "constant" the object is loaded with an incorrect scale and needs to be scaled down to 2.54% to maintain the original scale.

Is there a way to "tell" ac3d that units are inches with some kind of environment variable? i need to switch between "meter" and "inches" depending on the object

thank you.
thorax is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 07:43 AM.


AC3D Forum
(C) Inivis Limited 2020