I am writting a program to import a list of triangular facets and render the
described 3D object(s).
What I am finding is that I can't get the shading of the object to depict it
so that it looks 3D even though I have highly plagerized Java3D tutorial and
example programs.
Basically even linear shading of each facet (if not Phong shading) would be
better that every facet being the same uniform colour making it near to
impossible to distinguish between two different faces of a tetrahedral
shape.
I am enclosing a sample program with that renders a tetrahedra and at least
on my computer only shows uniform colouring of the whole object.
Can someone help me get shading to make faces of a cube not directly facing
the user darker?
John Dickinson
TestApp.java