jPCT-AE - a 3d engine for Android > Support

Loading serialized objects problem

(1/1)

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:
have a look at this thread. it may be related
http://www.jpct.net/forum2/index.php/topic,617.msg3201.html#msg3201

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

Navigation

[0] Message Index

Go to full version