When using the setNodesTexture method, I encountered the following issues:
1.When set node textture,strange cross sections appear in the model,but this doesn’t always happen
2.I only saw colors on the node, but I used an image.I uploaded the models and images I used about this.
textTure.zip (2.9 MB)
3.I used a gradient image to set node textture, but I can see that there are divisions on the node.
The following is some of the code I used. The loadImage method is not written here, and this method returns an imageId:
loadImage(imgUrl).then(function (imageId) {
imageId && hwv.getModel().setNodesTexture([nodeid], {
imageId: imageId,
tiling: Communicator.TextureTiling.Repeat,
})
})
Regarding the above question, I wonder if it may be caused by incorrect mesh data, but I am not sure. I hope to get your answer.
Thanks.