View Full Version : New to OpenGL: Blender Model to OpenGL code
Does anybody know how to take a model from Blender and then generate OpenGL C/C++ code from it? I've tried Blender -> VRML -> 3D Explorer and that has mixed results.
[This message has been edited by JRW (edited 05-02-2001).]
sorry for my broken english !
i'v created a wrl exporter for my opengl game (wrl generated by blender) at now that load all stuff but have problem to handle matrix transform and normal vector compute
so the light is badly rendered with Gl and sometime bad position of wrl object
i will be happy if anyone can help me to patch this problem.
the source code is available (c++) just ask!
12-09-2001, 09:14 AM
the best option would be to learn python, and then write a python exporter for blender that exports into your own format. this is what i did, and it works well, even though i cant stand using python, its better than nothing, and im a lot more familiar with my own format than somebody else's, plus, the format contains only what i need...
12-11-2001, 06:17 AM
Hi Spiral Man,
Could you show me how to do that using phyton?
Sure you don't need to send me all your phyton code if you don't want... just a short example would be nice.
12-12-2001, 01:44 AM
Ive put the little python exporter I use on my site : http://rixed.free.fr/pub/export.py
This is incomplete and to simple, but functional. Have a look if you want to start using blender python API.
12-12-2001, 03:20 AM
Thanks a lot, rixed!
i'v all info to make my loader
;-) merci rixed
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.