Hello all,
I am building a model viewer for .3dm files using rhino3dm.js and three.js. I am able to view the model using the object colours that I have set in the rhino model but I am having trouble with textures.
In the Rhino file, I have made a PBR material called “brick” and applied a simple brick texture to the diffuse channel. I then applied this material to a simple geometry and I saved the file making sure the save textures box was checked. Yet I am unable to find this material or texture in the model object returned by rhino3dm.js
Does anyone know where to look in the model object for this material & texture information? If anyone has a basic example of textures working with rhino3dm.js and three.js and able to share it - that would be awesome!
Kind regards,
Krishna