Loading serialized objects problem

Started by keaukraine, November 20, 2010, 06:59:07 PM

Previous topic - Next topic

keaukraine

Hi,

I have a scene which consists of few objects.
If I import them one by one into 3D Studio, their positions fit each other perfectly.
But when I try to load set of serialized objects in jPCT-AE, they appear in wrong positions.
I suppose it is because of re-calculating object's origin which happens after build() call.

Is there a way to get object being loaded exactly into the same origins as they were placed in 3DS files?

EgonOlsen

The loader doesn't care about transformations that may be stored within the 3ds file, if that is what you mean. Isn't it possible to get the current translation from 3ds and apply the same (transformed into jPCT's coordinate system of course) programmatically in your application?

raft


keaukraine

Thanks for the helpful tips, I have solved problem. :)