I started from the Shaderball scene at https://github.com/appleseedhq/shaderball, and I made a few edits to the .appleseed file to include a cube.obj exported from Blender. The materials are all the same; I just added the lines:
<object name="cube" model="mesh_object"> <parameter name="filename" value="cube.obj" /> </object> <object_instance name="cube_inst" object="cube.Cube"> <assign_material slot="default" side="front" material="test_mat" /> <assign_material slot="default" side="back" material="test_mat" /> </object_instance>
and removed the object_instances for the shaderball (aside from background and lights).
For whatever reason, the object is rendering flat pink. I don’t see it documented anywhere, but it seems to be that the pink indicates something invalid. I know the materials all work fine, as the unmodified shaderball scene renders exactly like the xample.
cube.obj and my .appleseed file are attached (if you want to try it, you’d likely have to start from the shaderball scene, put the cube in
geometry, and put
I don’t have the slightest idea how to even begin diagnosing what is supposedly invalid here.