On 13/10/13 16:48, greenmoss wrote: > I created a Wavefront importer for Pyglet several months ago: > > https://github.com/greenmoss/PyWavefront > > Looks like we used similar approaches.
Yes, I didn't do the parsing (that was in the obj.py from pyglet's contributions) but adding to a Batch, and it's the Batch the one that draws the object. The obj.py code is quite efficient using OpenGL display lists, but the Batch version should be better (specially because display lists are deprecated). In my tests I seem to get the same FPS with both systems, but I didn't try extreme cases like my PyWeek entry (not an easy conversion really). I've never used Blender, that's my next step I think (I've been using Wings3D so far). Regards, Juan -- jjm's home: http://www.usebox.net/jjm/ blackshell: http://blackshell.usebox.net/ -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/groups/opt_out.
