I don't believe the default texture coordinate mapping for
IndexedFaceSets is spec'd out anywhere. Assuming that all of your
orthogonal faces are defined the same way:
Coordinate3 {
point [ minX minY Z,
maxX minY Z,
maxX maxY Z,
minX maxY Z,
]
}
IndexedFaceSet {
coordIndex [ 0, 1, 2, 3, -1]
}
You could simply define
TextureCoordinate2 {
point [ 0 0, 1 0, 1 1, 0 1 ]
}
before any of the IndexedFaceSets. They would all inherit the same
texture coordinate mapping. Since no textureCoordIndex values were
specified in the IndexedFaceSet, the coordIndex values should be used
instead (at least that's how webspace does it).
I tried this with your data and it seems to work. The connection is
bad and some of the textures timed out so I can't verify that all
worked. But it looks like the 6 I could download are mapped properly.
Looks pretty cool.
--Chris Fouts, SGI, Atlanta, GA -- Email:
[email protected] Vmail: 5-8714 -- Fone: (770)-475-0464 -- Phax: (770)-475-4414"The way this day has gone, I'm surprised I remembered to put on my pants this morning. Oh great, how long has my fly been open?"