APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Specifying order of drawing for 3D drawables

Return to the EJS Modeling forum
Login to post to this thread

Surface is hiding object
Larry Engelhardt
17 Posts

I am trying to generate a 3D scene with a ball (either a 3D sphere or a 3D particle) moving above a plane.  However, the plane often obstructs the view of the ball.  Is there a trick to force the ball to always be drawn last?  (The ball is the last item in the 3d drawing panel in the view, and the ball is clearly above the plane in the model.)  I have attached an example.  Thanks!

Attached File: test3d.zip


Current Replies - View all
Re: Surface is hiding obj...   (Francisco Esquembre - )
OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book