on 11/29/02 10:48, Artur Biesiadowski at [EMAIL PROTECTED] wrote: > Please note that there is no correct solution for generic problem. Two > triangles can intersect - no way of arranging them will get you really > correct effect - you would need to split triangles into smaller polygons > and only then draw them in correct order.
This *is* the correct solution. It's called the Newell-Newell-Sancha algorithm, and in an ideal world would be implemented by the renderer. Published about thirty years ago, but I think it never got implemented anywhere besides somebody's homework. -- Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day. Dr. Julian "a tribble took it" Gomez ** http://www.polished-pixels.com =========================================================================== 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".