Yes, please add that to the contrib. I'd actually updated it more recently
to use VBOs but never got around to committing it back to the repos. Also
there was a performance bug in the code I didn't have the time to
investigate.

And then SketchUp removed OBJ export from their free version, so I couldn't
use it any longer anyway. I've since written a *very bare-bones* Collada
renderer for pyglet which I really should get around to adding to the
repos. I wrote it mostly by reverse-engineering the export file from
SketchUp. Doesn't do textures, and still has a lighting bug that I can't
figure out but is Good Enough For My Purposes :)


    Richard


On 14 October 2013 02:54, "Juan J. Martínez" <[email protected]> wrote:

> 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.
>

-- 
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.

Reply via email to