I have cut out a number of things from my code to abbreviate it, bu following
is a skeleton of it. When I run it, I get
Inventor read error: Expected '{'; got '['
The line that it complains about is the "ranges" line. If I comment it out,
it loads up without complaining. I can then use the complexity settings in the
web space browser to switch between the three levels of detail. I don't
understand how I am using the ranges field wrong -- I am using what the example
in the webspace documentation suggested as far as I can tell.
Thanks.
DEF Shape LOD {
ranges [5,10]
center 0 0 0
DEF ShapeHI Separator {
Separator { # high complexity w/ texture
.... object w/ lots of polygons and texture
}
}
DEF ShapeMed Separator {
Separator { # medium complex
... object w/ lots of polygons
}
}
DEF ShapeLow Separator {
Separator { # not compliex
... object w/ a few polygons
}
}
}
-- ------------------------------+----------------------------------------------- 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