LOD - how to use it?

Eric A. Haines ([email protected])
Wed, 17 May 95 17:29:32 EDT


Does anyone have a working example of the "LOD" (level of detail) node type?
I thought I'd give it a whirl with the TGS browser for Windows NT, but no go,
and it's not clear if I've just got the syntax wrong or if the browser doesn't
support it. I tried something like:

#VRML V1.0 ascii
LOD {
range [ 10 ]
center 0 0 0
Separator {
Separator {
Coordinate3 {...} # data here
IndexedFaceSet {...}
}
Separator {
Coordinate3 {...} # more data here
IndexedFaceSet {...}
}
}
Separator { # different level of detail object
Separator {
Coordinate3 {...} # alternate data
IndexedFaceSet {...}
}
Separator {
Coordinate3 {...} # more alternate data
IndexedFaceSet {...}
}
}
}

which I would guess is LOD with two children, each child containing two
objects.

If anyone can "debug" the above, or can point me at a working example of LOD,
I'd appreciate it.

Thanks,

Eric Haines
[email protected]