PDA

View Full Version : Blender --> OpenGL ?



lionel
03-16-2001, 07:42 AM
Hi,

My University gave me an assigment, I am supposed
to display a crane and to perform various transforms.
As I am quite in a hurry and the object is quite complex
I would like to avoid building it by hand, thus I am considering the following solution : constructing it using Blender then using a script to convert it to OpenGL GL_TRIANGLE_STRIP Does such a script exists and how well does it work ?

Thanks a lot,
Lionel

Walantis
03-17-2001, 01:20 AM
hi,

there are some cheap scripts which export the object meshes in ascii format...if you only want the mesh it's no problem (for example: vertices, triangle indices and of course, the transform nodes)...or you can use the blender export scripts (to vrml and some other ascii formats). after all, get the NvTriStrip sources from www.nvidia.com/developer, (http://www.nvidia.com/developer,) compile it for linux and let it build the strips from the mesh data. that works!