4 +-----+ 5
2 3 | |
+-----+ |
0 1| |
+-----+ +-----+
| | 7 6
| +-----+
| | 9 8
+-----+
11 10
If I use coordindex with 0,1,2,3,4,5,6,7,8,9,10,11,-1 the top ridges don't
appear. If I use 1,2,3,4,5,6,7,8,9,10,11,0,-1 the "0 1 2" ridge appears but
the "2 3 4" ridge is messed up.
The coordinates are correct, if I usse coordindex to make the 3 squares
that is okay. Why can't I trace the edge?
What is going on here? Am I misunderstanding how the coordinates and coordinate
index can be used?
Coordinate3 {
point [ 399.9512 473.1224 0, 423.5272 473.1224 0, 423.5272 476.9251 0
, 452.4263 476.9251 0, 452.4263 480.3477 0, 477.5228 480.3477 0
, 477.5228 452.0698 0, 453.5671 452.0698 0, 453.5671 447.507 0
, 423.9074 447.507 0, 423.9074 444.8451 0, 399.9512 444.8451 0 ]
}
IndexedFaceSet {
coordIndex [ 0,1,2,3,4,5,6,7,8,9,10,11,-1]
# coordIndex [ 0, 1, 10, 11,-1,2,3,8,9,-1,4,5,6,7,-1]
}
-- ------------------------------+----------------------------------------------- Ian Leicht |URL: http://www.cs.hmc.edu/people/ian.html Personal: [email protected] |Evolution - Love it or Leave it Work: [email protected]|A cigar is a cigar, but a good woman is a smoke