www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: Jakes on August 25, 2020, 08:15:13 pm

Title: Retrieve objet's mesh data
Post by: Jakes on August 25, 2020, 08:15:13 pm
Hello once more,

Is there any way to retrieve an object's mesh data, like the polygon list, or vertices?

I want to do some calculations using the object's mesh structure, and need to have the vertex info at least, I've read about the mesh object, but it seems there's no way of getting this.

Regards,
Jakes
Title: Re: Retrieve objet's mesh data
Post by: EgonOlsen on August 26, 2020, 07:33:29 am
You can obtain them from an IVertexController implementation. See: http://www.jpct.net/doc/com/threed/jpct/GenericVertexController.html (http://www.jpct.net/doc/com/threed/jpct/GenericVertexController.html)