Adding color to my PLY file using three.js

130 views Asked by At

Hi guys I got stuck in three.js where I need to color ply my ply file

I need to add red color to the eyes not anywhere else how should I do it help me in this one using three.js

1

There are 1 answers

0
Mugen87 On

You could solve this by manually adding a vertex color buffer attribute. However, doing this is tricky since you want to color a specific part of the surface which means you have to know the exact range in the vertex data where the eye regions are defined.

A better and more straightforward approach is to import the PLY asset into Blender, apply the modifications and then export to PLY (or even better glTF). You can then import the asset with the expected color definitions.