Export to .h file from Blender

Blender's renderer and external renderer export

Moderators: jesterKing, stiv

Post Reply
SenthilManick
Posts: 1
Joined: Thu Sep 27, 2012 4:25 am

Export to .h file from Blender

Post by SenthilManick » Thu Sep 27, 2012 4:28 am

How can I export to .h Model file from Blender? I am using Windows7 do we have any addon for this?

Content of the .h file will look like this

static const float teapotVertices[NUM_TEAPOT_OBJECT_VERTEX * 3] =
{
11.222200, 0.110300, 20.030291, 10.302300, -4.461498, 20.030291, 10.152300, -4.397198, 20.644890, 11.059500, 0.110900, 20.644890, 11.059500, 0.110900, 20.644890, 10.152300, -4.397198, 20.644890, 10.326300, -4.471797, 20.849890, 11.248200, 0.110300, 20.849890, 11.248200,

CoDEmanX
Posts: 894
Joined: Sun Apr 05, 2009 7:42 pm
Location: Germany

Post by CoDEmanX » Thu Sep 27, 2012 2:11 pm

found this via google:

https://github.com/jlamarche/iOS-OpenGL ... _header.py

but even this isn't what you look for, it's not hard to develop a simple export addon for your case!
I'm sitting, waiting, wishing, building Blender in superstition...

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest