[osg-users] Loading textured meshes (obj+mtl) leads to crash in osg 3.4.1

Robert Osfield robert.osfield at gmail.com
Tue Jan 14 06:23:15 PST 2020

On Tuesday, 14 January 2020 13:54:37 UTC, Tom Pollok wrote:
> I used OpenMVS to create it:
> https://github.com/cdcseacave/openMVS

The model isn't a valid .obj file, I am not familiar with OpenMVS and as I 
have my own open source projects to manage I'll leave it to others to fix 
OpenMVS.  I would suggest having a look at the .obj export yourself or 
creating an Issue for it, but a quick look at the github page makes me 
wonder if the Issue tracker is being largely ignored or misused at there 
are 95 items in there.

> I can also view the model using MeshLab or other tools.

These other tools must have added a catch for this type of invalid model.

> Is it possible to fix the invalid references in openscenegraph?

I am currently modifying the OSG's obj loader to catch the invalid data as 
crashing is as much as a bug as the dodgy data.  I expect to get a fix 
checked in this afternoon so it'll be part of the OSG-3.6 branch and the up 
coming 3.6.5 release.


You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/add84e69-8221-4df2-82a0-fe8c1e174d6b%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200114/b1cf7374/attachment.html>

More information about the osg-users mailing list