I was wondering how we are supposed to cesate surface detail
polygons in VRML.
Such polygons are *ATTATCHED* to a parent polygon, and are
drawn on top of the parent polygon, if it is not back-face
culled. The effect is similiar to texture mapping, but the
texture is defined by a sst of polygons, rather than a
pixmap.
I've seen too many models of buildings, with their windows
floating 10 cm from the walls....
(like on the NCSA VRML page!)
Attatched polygons are available in Lightwave and the old
Videoscape3D, where they are specified in the polygon
set like this:
index | flag
1 2 3 0 # a triangle
4 5 6 -1 # another, -1: attatched polygons follow
1 # 1: one attatched polygon
7 8 9 0 # a triangle, att. to the prev. polygon
Mvh. Hans Holten-Lund.
EMail: [email protected] WWW: http://www.id.dtu.dk/~hahl
Dept. of Computer Science Technical University of Denmark.