www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: kkl on January 02, 2015, 11:41:39 am

Title: Check vertex position after import .obj
Post by: kkl on January 02, 2015, 11:41:39 am
Hi Egon,

How can we check the final vertex position after importing .obj? I wanted to map it to jpct coordination. 
Title: Re: Check vertex position after import .obj
Post by: EgonOlsen on January 02, 2015, 12:17:06 pm
You can access to vertex positions by extending the GenericVertexController. But you can't be sure that the n-th vertex in the mesh is the n-th vertex in the editor, if that's what you need.
Title: Re: Check vertex position after import .obj
Post by: kkl on January 02, 2015, 03:39:02 pm
Ok, got it ; ) BTW, is the vertex position we see from obj file is the same position in jpct wold coordinates? I tested, and it seems the same. Just wanna confirm with you again.
Title: Re: Check vertex position after import .obj
Post by: EgonOlsen on January 02, 2015, 06:16:43 pm
If you don't apply any kind of transformation to the object, then yes.
Title: Re: Check vertex position after import .obj
Post by: kkl on January 04, 2015, 04:25:49 am
Ok. Thanks alot egon ; )