SceneMonitor is a great tool, it is amazing helpful.
The properties sidebar can figure out the material state of the spatial. So if the tool can do this, a programmer should be able to do that as well.
How can I retrieve the materialState out of the spatial as the tool is able to do? I don't know how to save the spatial with the new properties other than using the BinaryExporter which would save the spatial.
If you want to use lighting, you'll want to create a MaterialState and set the diffuse to blue.
I want to set the color of my objects manually so I don't need lighting. How would you do this for a Node object? Here's the maggie code which I've got.
I want to set the color of my objects manually so I don't need lighting. How would you do this for a Node object? Here's the maggie code which I've got.
Question) When I import an obj file and display it to the screen, it displays the colors that I initialised from Blender. That's great the material importing works there. My question is where does that information exist? If I extract out the geometry and call getColorBuffer() it returns null. But when I display the object, the colors are there.