I just ran into a *major* problem with my project and I am hoping someone
can give me a suggestion or two...
I am writing a Java 3D program to display polyhedra.
I display 2 polyhedra which intersect each other.
Part of polyhedron #1 is suppose to be behind (or inside) polyhedron #2.
I thought that those parts of polyhedron #1 which are behind on inside
polyhedron #2 would not get rendered.
But it renders *all* of polyhedron #1. Even the parts that are "inside"
polyhedron #2!
How do you setup the scene graph (or culling properties??) so that any part
of the triangle that is behind other triangles (defined by distance to
viewing platform and *not* by the order the objects are attached to the
scene) do not get drawn?
It seems to be drawing *all* of the polyhedra in the order I attach these 2
objects and ignoring whether or not a face is located inside the other
polyhedron.
This has put an end to my project unless someone has a suggestion.
Bob Gray
===========================================================================
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".