Is there an existing function to parse an OBJ file by section and name?

Hello, I was looking for an existing function where I could provide a layer name and get in return an array of uv map coordinates.

For example:

function GetUVMapFromOBJLayer(OBJ_filename, layer_name) {
return all UV map coordinates for the layer named;
}

thank you,
Carlos

I think the easiest would be to load/import the obj into babylon and then get access to the mesh vertices data.

There is a bit of remapping/swizzling happening and it would be safer this way.

swizzling ahaha… thanks :slight_smile: will look into it.