jPCT-AE - a 3d engine for Android > Support
Use saved object3D in android and desktop project
(1/1)
John Tribe:
Hi,
Is there an api or tools for use modificated 3D object in different project.
Example:
In pc application.
1. object3d = Loader.load3ds();
2. object3d move to xyz position, change size etc.
3. save (serialize or something)
run android:
load object3d
object3d is loaded in the same xyz position and size etc.
EgonOlsen:
Not within the API. I think that some more or less finished third party tools exist, that can do something like this, but i've never used them. Then again, it's pretty trivial to create something like this tailored to your needs. You can serialized/deserialize Object3D's using the DeSerializer in the desktop version and the Loader in the jPCT-AE to load them, but there's no such thing as a scene saver/loader.
John Tribe:
well i tried that before and i get error: No octree found in serialized data! ??
EgonOlsen:
That's not an error. If it would be one, it would throw an exception. It's just a logging output that the data contains no octree.
John Tribe:
thanks for hints !! my bad, by mistake i deleted crucial line in my code ... well it's good moment to write some tests.
Navigation
[0] Message Index
Go to full version