Samples
Semi-transparency using BlendHalf
MascotCapsule V3 can render models semi-transparently when semi-transparency attributes are specified for these models.
Use the IMICRO3D_Render_setAttribute() method to render objects semi-transparently. Use M3D_BLEND as an argument to specify the environment attribute for semi-transparency. Once specified, the environment attribute will be retained unless it is replaced by other attributes.
/* Environment attribute setting by the flag */
IMICRO3D_Render_setAttribute( pMe -> pIM3D,
IMICRO3D_Render_setAttribute( pMe -> pIM3D,
&pMe -> mc_data.render,
pMe -> mc_data.attr | M3D_BLEND);
pMe -> mc_data.attr | M3D_BLEND);

Semi-transparency enabled ( left ), disabled ( right )


