Exporting .mesh objects

Evak

11-04-2006 07:30:04

.OSM files are great and everything, but often I only want to export parts of a scene that were modofied outside of 3dsmax.

EG. At the moment Ofusion doesn't support extended blendmodes. I have exported a scene and now only want to tweak a couple of objects already included in the OSM file.

Like the ground on my arena has some texture masks using:
colour_op_ex blend_current_alpha src_texture src_current
to mask between 2 tiled ground textures with a seperate alpha layer much like in th wiki material tutorial:

[b]Simple texture transition [/b]

material Template/texture_blend
{
technique
{
pass
{
texture_unit
{
texture source.png
}
texture_unit
{
texture alpha_blend.png
colour_op alpha_blend
}
texture_unit
{
texture dest.png
colour_op_ex blend_current_alpha src_texture src_current
}
}
}
}



with several meshes having these kinds of material alterations, it seems that having a .mesh with acompanying .material export as an option would be really useful.

Lioric

12-04-2006 17:30:06

Do you mean an option to export or update the meshes/materials/shader/images but not the scene?

Evak

12-04-2006 18:06:16

um, I mean to be able to just export a single object on its own. Currently with the entire scene being exported at once, modifications made outside of ofusion are overwritten. Often I only want to export a OSM with lighting and environment settings for a level, but want to add or modify meshes seperately, or modify a material to make use of extended blendmodes that Ofusion doesn't support.