Pj3d
Pj3dPickable

Returns the object that was picked with the mouse. The returned object is a copy of the real object. All the methods are applicable on the copy, too.

Example:
Pj3d p = new Pj3d(this, 640, 480)
...
Pj3dPickable pickedObject = p.getPickedObject();
pickedObject.shader.setAlpha(128);

Download: Pj3dPicking.pde

Methods:
delete();
Delete the object.

transform
shader

<- back
picking objects