Hello,
Im just curious,
Do author of horde3d planning to make new functions for creating resources directly by c++ functions
instead XML,GEO,ANIM files???
i meant functions like:
pseudo codes for materials (instead of *.material.xml files):
Code:
id = h3dCreateMaterial();
h3dSetMaterialShaderSource(id,buffer_model_shader_program);
h3dSetMaterialShaderFlags(id,_F01_Skinning);
h3dSetMaterialShaderFlags(id,_F04_EnvMapping);
h3dSetMaterialSampler(id,albedoMap,resourceID_to_texture);
and (insted of *.geo files).
Code:
id = h3dCreateModel();
h3dSetGeometryBuffer(id,vertexbuffer,vertexlen,indexbuffer,indexlen);
h3dSetSubset(id,id_of_subset, vertexstart, vertexend, batchstart, batchend);
h3dSetPivotOfBone(id,bone_id,Matrix4f *pivot);
and (instead of *.anim files)
Code:
id = h3dCreateAnimation();
h3dSetListOfPositionsForBone(id,bone_id,(vec3f_and_time_t *)positions_with_frame,count);
h3dSetListOfRotationsForBone(id,bone_id,(vec3f_and_time_t *)rotations_with_frame,count);
h3dSetListOfScalingForBone(id,bone_id,(vec3f_and_time_t *)rotations_with_frame,count);
that would be cool and interesting, because i could create my own fileformats
binary files instead of xml, my own Model3D geometry instead of .GEO.
Or could be easiest create add-ons for loading weird model3d fileformats, like: .b3d, .obj, .bsp, etc....
also would be less problems with exporters for .GEO files.
Now i ask, there is any plans about this in future?
