Greetings!
I have 8 points (x,y,z) which represent a cell cube points, I made a box using new ConvexGeometry( points ), Can I set texture of each side plane of this convex box? I’m very new to this library , thank you for your help!
Greetings!
I have 8 points (x,y,z) which represent a cell cube points, I made a box using new ConvexGeometry( points ), Can I set texture of each side plane of this convex box? I’m very new to this library , thank you for your help!
Are those points axis-aligned? If so, you can use BoxGeometry()
to build a box (obviously ), so you’ll be able to put 6 different materials on its sides.
To clarify the original question: ConvexGeometry
does not support this use case since the geometry has no groups data. Using BoxGeometry
is indeed the better option.