Re: [osg-users] Loading .obj files inefficiently

2015-01-25 Thread Robert Osfield
Hi Jeremy, I just had a quick look at the code. It's rather dated. I'd be inclined to replace almost all the code in the ReaderWriterOBJ::convertElementListToGeometry() method to one that uses DrawElementsUShort/UInt, and GL_TRIANGLES when handling the POLYGON, with the local method breaking up

Re: [osg-users] Loading .obj files inefficiently

2015-01-25 Thread Jeremy
I need to maintain my focus on developing my app, so I'm not sure when I could get to it. My small temporary fixes are enough to get me by satisfactorily for the time being. It may not be worth me personally spending time on, since ultimately my app will load content through other channels than

[osg-users] Loading .obj files inefficiently

2015-01-24 Thread Jeremy
I am working on a visualization/debugging UI and in the process of displaying the scene graph to a tree view in my gui, I noticed that there appears to be an issue with the .obj file loader that could be improved significantly. The first problem I came to is seeing that the resulting