.h export-problem

.h export-problem

Hi,

for demoscene-related work I love the ability to export as c-header. But it seams I'm doing something wrong. I get the vertexes and poly in the export, but no texture-information. As there is a remark how to load texture-infos in the head of the file I'm sure it should be exported ;) Any help greatly appreciated.
 
Hi,
the .h export doesn't export textures. Just the geometry vertex/UV/normal.

Exporting uncompressed texture data would blow up the files enormously.

I would only recommend the usage of .h files for small 3D gadgets with maybe a max. of 200 triangles. For bigger objects with textures I would recommend writing a .3ds file loader for example.

Bye,
Martin
 
Ah stupid me. I didn't realize that the uv-coord where there... So it works as I need it ;)

Even the 65000 poly-modell worked quite well - only XCode took some time to compile the 8mb .h ;)
 
Hi,
good to hear that it works.:smile:

Nevertheless you should really consider to write a file importer. On the long run that is much more comfortable and faster.

Bye,
Martin
 
Hi,
if you need character animation then I could only recommend FBX. If you only need static objects a simpler file format like .3ds is enough.

Bye,
Martin
 
Back
Top