IndexFaceSet Corrections.
Adjust IndexFaceSet parameters as follows to fix common export problems.
To smooth the shading on polygonalized IndexedFaceSet geometry, set creaseAngle="3.14159"
To fix nonrendering IndexedFaceSet geometry from single-sided to double-sided polygons:
set solid="false".
Complex shapes may include concave polygons, which might not render due to default graphics-hardware optimizations.
Set convex="false" to force rendering of all polygons, concave and convex.
Test whether reversing order via ccw="true" might work for some meshes.
If possible, go back into Blender and reverse the offending geometry.
The following modified-model views show the camera view, Scale-to-Fit view, and Wireframe view (Xj3D alt-shift-W).
Note underlying problems with one-sided polygone (e.g. dorsal fin) and polygon creases that the above fixes address.
Final Model.
Here is how the final model looks, with creaseAngle smoothed.
Acknowledgements.
The
original shark model
was created by Teck Hwee Wong.
Numerous questions and ideas for improvements to this page were contributed by NPS MOVES MV3202 students, February 2008.
"Material contained herein is made available for the purpose of
peer review and discussion and does not necessarily reflect the
views of the Department of the Navy or the Department of Defense."