pmndrs / gltfjsx

🎮 Turns GLTFs into JSX components
https://gltf.pmnd.rs
MIT License
4.7k stars 309 forks source link

Question: How can I allow users to change the node's surface colour #240

Open Reine0017 opened 9 months ago

Reine0017 commented 9 months ago

I know how I can access individual nodes of the 3D object to change the colour through props. But if the 3D object has like ALOT of nodes (say 10k polygons and surfaces) and I just want to configure the top 3 largest surfaces of objects, how can I do that? Like how can I determine which are the largest surfaces through accessing the nodes? Would really appreciate any help or advise on this :)

Reine0017 commented 9 months ago

Sorry @drcmda if I shouldn't have opened an issue for this but really curious