Hi Vern,
You don’t know how much I appreciate your help :)
My objects are logically named, so for example;
001_01
001_02
001_03
Etc etc.
Unfortunately, because Verge3D doesn’t support Multi/Sub-Object materials, and each of my objects has 2 materials, I have had to break the (very simple) mesh for each object so that there are ‘end’ meshes.
So…. I mean, that for 001_01, there is a corresponding 001_01_Ends, 001_02 (an 001_02_Ends) etc etc.
If Verge3D supported Multi/Sub-Object materials, life would be sooooooooooo much easier :)
Also, I have a switch in my interface which I’d like users to be allowed to swap materials to see what the object looks like in other finishes. I’ve managed to do this, but I reckon, once I learn of your more efficient way of coding this, I’m kind of hopeful that I’ll also be able to apply the same kind of coding approach to that area as well :)
Many thanks for your help :)