nexus
nexus copied to clipboard
Applying per vertex color after load in THREE js
Assuming the initial loaded nxs and /or nxz model does not have color. How can I update the color attribute to apply a color value for each vertex after the model is loaded in THREE js?
I'm having this problem too. Neither on threejs nor on nxsview I can view per vertex colors. Any updates since then?
Sorry for the delay, missed this issue.
ascandal: you cannot change a buffer which is not allocated. Simply add a dummy color attribute to the model (you will need to use ply format, obj does not supports it).
vitorkrau: nxsedit will tell you what is in the nexus. The color attribute must be present in the original model... in case send me a sample (and the command line you used to process it).