I'm trying to use the PickingLibrary. I haven't explicitly set any Bounds on any of my objects. When I pick I get the following error:
Exception in thread "Render Thread" java.lang.NullPointerException
at org.xith3d.picking.PickingLibrary.getPickCandidates(PickingLibrary.java:118)
at org.xith3d.picking.PickingLibrary.pickNearest(PickingLibrary.java:395)
at org.xith3d.picking.PickingLibrary.pickNearest(PickingLibrary.java:424)
at org.xith3d.picking.PickingLibrary.pickNearest(PickingLibrary.java:450)
Anyone have any ideas?
Also once I get this working will I have to set the bounds for my objects, or will it calculate them automatically from geometries?