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

can i obtain all vertex pos and normal and uv data from an object3d?

(1/1)

MichaelJPCT:
i want to change some vertices in an object loaded from 3DS or OBJ file, and create another object from these vertex data.
can i do that?

MichaelJPCT:
the reason i want that is: my coordinate system is different from JPCT system, so an object loaded from 3DS has wrong orientation and wrong lighting.
a way to solve this is i switch vectors of the vertices.
or i have to find other ways.
ps: my coord system is forward-left-up.

EgonOlsen:
You can use a combination of http://www.jpct.net/doc/com/threed/jpct/IVertexController.html and http://www.jpct.net/doc/com/threed/jpct/PolygonManager.html for that.

Navigation

[0] Message Index

Go to full version