[JAVA3D] PickCanvas ignores front and back clipping planes

2005-01-09 Thread Matthew Broadhead
In order to view a slice through a 3D object I adjusted the View object front and back clipping planes. I previously tried the ModelClip object but it does not seem to work properly. public void setZClipDistance(double position) { double smalldistance = 40 * scale; position = - position * sc

Re: [JAVA3D] PickCanvas

2004-03-31 Thread Alessandro Borges
I have some problems when trying to pick by geometry a loaded VRML model.I guess the solution was simple as set the capability bit in all geometries inside the loaded shape3D's : shape3D.getGeometry().setCapability(Geometry.ALLOW_INTERSECT); I was hurry so I just change pick mode to pick bounds

[JAVA3D] PickCanvas

2004-03-30 Thread Leandro L Dihl
Hi! I trying to get a Shape3D, with mouseClicked(MouseEvent e), but when I click on any object in my universe this error happens. I try setting this capabilitys, but didn't solve this problem. BranchGroup.ALLOW_BOUNDS_READ BranchGroup.ALLOW_CHILDREN_READ BranchGroup.ALLOW_CHILDREN_WRITE Transfor

[JAVA3D] PickCanvas and SimpleUniverse question

2003-06-09 Thread McCormick, Brian
Hello all, I'm using SimpleUniverse and PickCanvas together and running into some difficulties. I've condensed all of the relevant code below. public class Java3DWorld extends Canvas3D { private SimpleUniverse simpleUniverse; private PickCanvas pickCanvas; public Ja

[JAVA3D] PickCanvas and pickShape at 0,0

2002-09-22 Thread Jeremy Booth
Hi Done a quick google search and a check on the sun boards, but couldn't see anything relevant to this one, on resizing the canvas a fire off an event to resize some components within my j3d world setting the positions based off some picking from a pickCanvas, my problem is that when i set the

[JAVA3D] PickCanvas in full screen mode - Solution found

2002-07-03 Thread Kevin Glass
A while ago I posted that I was seeing PickCanvas failures in full screen mode. I've just found out what the problem was. I'm using the PickCanvas to position components on my overlay. Each component is a quad that sits on a plane. In windowed mode that plane sits at -0.6 on Z from the view. In f