[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] stripping OBJ files



Hi,
I have .obj files created by various applications. These .obj files have tons of material or textures or other things attached to it. Im trying to strip out all this and only keep the vertices (wireframe) of the model. Does anyone know how do I do this in python? I've seen http://www.pygame.org/wiki/OBJFileLoader?parent=CookBook to load .obj files but how do I just take the vertices/shape and keep a standard default face/texture for every .obj that I load.
Thanks for any help.
Cheers
Astan

--
"Formulations of number theory: Complete, Consistent, Non-trivial. Choose two."


Animal Logic
http://www.animallogic.com

Please think of the environment before printing this email.

This email and any attachments may be confidential and/or privileged. If you are not the intended recipient of this email, you must not disclose or use the information contained in it. Please notify the sender immediately and delete this document if you have received it in error. We do not guarantee this email is error or virus free.