You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parser currently only supports separating submeshes via 'usemtl' statements. However a large part of the OBJ format (and meshes in general) is the ability to split meshes into submeshes or 'groups' via the 'g' option.
Without this support the parser will currently provide single arrays of vertex attributes as opposed to separate arrays of attributes per group, for meshes without 'usemtl' statements.
The text was updated successfully, but these errors were encountered:
No problem! It shouldn't be much work I don't think as you've already got most of the logic in from the material support. I think it would be very similar by adding an indicesPerGroup that is a map in which the key is the group name or something.
You may also want to add object 'o' support, I think Mesh has a name attribute that isn't populated and implementing object support may be one way of solving this
The parser currently only supports separating submeshes via 'usemtl' statements. However a large part of the OBJ format (and meshes in general) is the ability to split meshes into submeshes or 'groups' via the 'g' option.
Without this support the parser will currently provide single arrays of vertex attributes as opposed to separate arrays of attributes per group, for meshes without 'usemtl' statements.
The text was updated successfully, but these errors were encountered: