Official Murl Engine Forum
Material depthBufferMode in Scene Converter - Printable Version

+- Official Murl Engine Forum (https://murlengine.com/forum)
+-- Forum: Murl Engine (https://murlengine.com/forum/forumdisplay.php?fid=5)
+--- Forum: Murl Tools (https://murlengine.com/forum/forumdisplay.php?fid=19)
+--- Thread: Material depthBufferMode in Scene Converter (/showthread.php?tid=199)



Material depthBufferMode in Scene Converter - Stefan - 19 Aug 2014

Hi there!

Is there an option to tell the scene converter to set the depthBufferMode attribute of the generated Material to a specific value? If not, consider this as a feature request Smile At the moment, I had to add this attribute manually after each scene conversion.

regards,
Stefan


RE: Material depthBufferMode in Scene Converter - dizzy - 19 Aug 2014

Hi,

thanks for the input, we'll consider adding this attribute (among others)!

As an alternative, it's possible to disable auto-generation of (a) material(s) by defining the "replaceWithGraphNodeId" attribute within the config file's <InputScene> element, which tells the converter to use a material that is already existing in the scene graph when the package is loaded, e.g.:
<InputScene fileName="my_scene.fbx">
  <Material findIdMatchingPattern="ImportedMaterialId" replaceWithGraphNodeId="/MyMaterialContainer/MyMaterial"/>
</InputScene>

Best regards,
dizzy