PDA

View Full Version : Convert 3D model file to .h format



Kunjesh
09-23-2016, 10:27 AM
How can i Convert 3D Model file into ".h" format ?

Carmine
09-23-2016, 12:31 PM
One path people have taken is to first export or convert the model into .obj format. Then do an obj to .h conversion. Apparently people have written scripts to do this. I've never tried them. Try Googling "obj to .h".

A similar path is to convert a model directly into .cpp and .h files. I used to do that quite a bit using an export option in the 'Deep Exploration' package from 'Right Hemisphere'. You can download a trial version for free. It probably comes with an expiration date or max # of exports limitation. Then you have to buy it. It's expensive.

You may also try asking the forum - 'How can I import a 3D model into an OpenGL application'? You'll probably get some suggestions that you hadn't thought about. And they'll probably be better than converting the model into a .h file.

Good luck.