Back to Forum
Faces - Three.js
harp34 posted 5 years ago
Meaning of faces:
Does a, b, and c represent each vertex? X, Y, Z? And together they make a face?
So I hovered the last bottom right face and this is what I got:
face:
a: 119
b: 120
c: 109
Does this mean, x = 119, y = 120, z = 109? If so should it be -1 to 1? This is confusing.
Also, what is happening here?
color.setX(intersect[0].face.a, 0) color.setY(intersect[0].face.a, 0) color.setZ(intersect[0].face.a, 1)
Want to participate?
Create a free Chris Courses account to begin