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:
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.
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.