Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
Check vertex position after import .obj
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Check vertex position after import .obj (Read 2458 times)
kkl
float
Posts: 291
Check vertex position after import .obj
«
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.
Logged
EgonOlsen
Administrator
quad
Posts: 12295
Re: Check vertex position after import .obj
«
Reply #1 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.
Logged
kkl
float
Posts: 291
Re: Check vertex position after import .obj
«
Reply #2 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.
Logged
EgonOlsen
Administrator
quad
Posts: 12295
Re: Check vertex position after import .obj
«
Reply #3 on:
January 02, 2015, 06:16:43 pm »
If you don't apply any kind of transformation to the object, then yes.
Logged
kkl
float
Posts: 291
Re: Check vertex position after import .obj
«
Reply #4 on:
January 04, 2015, 04:25:49 am »
Ok. Thanks alot egon ; )
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
Check vertex position after import .obj