Page MenuHome

[PATCH] export_vrml2: Generate VRML2 materials for single material objects.
Needs ReviewPublic

Authored by Max Maisel (mmmaisel) on May 1 2018, 2:58 PM.

Details

Summary

Generate VRML2 materials instead of color indices in "Material color" mode
if possible, i.e. if the object has only one material slot. For multi-material objects, the old
behaviour is used as fallback.

The following material properties are supported:

  • Diffuse color
  • Specular color
  • Emissive color
  • Ambient intensity
  • Transparency / Alpha
  • Specular hardness / Shininess

Diff Detail

Event Timeline

Derive VRML shininess from specular_intensity instead of specular_hardness.