Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

by-passing Z-buffer => deciding order of rendering

843799May 12 2003 — edited May 13 2003
Hi,
I posted something similar in my previos post,
but I will make it more specific here:

I have three spheres which are allways placed at a fixed distance from the camera, the angle varies. The distance is calculated as starting from the sphere border to the camera position.
The Spheres have different sizes.

The problem comes when the spheres come close to each other and intersect. I don't want to see 3/4 of one sphere and 1/4 of another.
I want to decide which sphere should be rendered fully, and which one should "fall behind".

Ordered Group does not work for intersecting objects (as far as I can see), it seems that even though I tell j3d to render one sphere first
it still checks to see if parts of the sphere are inside another object, and doesnt render them!!

Please help!!
thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 10 2003
Added on May 12 2003
2 comments
182 views