Previous Thread  Next Thread

chat icon Export to .h file from Blender

SenthilManick

Posted: Thu Sep 27, 2012 3:28 am
Joined: 27 Sep 2012
Posts: 1
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,
Reply with quote


CoDEmanX

Posted: Thu Sep 27, 2012 1:11 pm
Joined: 05 Apr 2009
Posts: 698
found this via google:

https://github.com/jlamarche/iOS-OpenGLES-Stuff/blob/master/Blender%20Export/objc_blend_2.57%20(RC1)/io_export_objective_c_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...
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group