John Dickinson wrote:

> 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.

        I took a quick look and it appears that you haven't set normals
        on your geometry.  You need to add TriangleArray.NORMALS to your
        constructor and then set a normal vector at each vertex.  I haven't
        read the tutorial, but if it covers lighting, it covers normals.
        Check it out.

--
Allen L. McPherson               Member Holstein Aerobatic Club
Los Alamos National Laboratory   Scientific Viz / Advanced Computing Lab
Box 1663 Group:CIC-ACL MS:B287   [EMAIL PROTECTED]
Los Alamos, NM   87545           Voice: (505) 665-6548  Fax: (505) 665-4939
[Personal mail to:               [EMAIL PROTECTED]]

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to