
Now rendering styles:
VRML lets you specify per-vertex normals for smooth rendering or per-face normals for faceted rendering. So in an IndexedFaceSet, you would set the normalPerVertex field to be FALSE and give a normal for every face. For VRML Boxes, you get faceted rendering only (because a smooth rendering would be a (squashed) Sphere). The VRML specification can be found at <http://www.web3d.org/x3d/specifications/>.
Hope this helps,
Greg Couch UCSF Computer Graphics Lab Hi Greg,
thanks for your reply! I tried removing normalPerVertex and that works for the smooth shading part! For that, I used a program called dune to edit VRML files on mac os x 10.5, which crashes a lot. So my follow up question would be, can someone recommend a very good and stable vrml editor on mac os x? Nils