Re: [JAVA3D] Picking Behaviors in Java3D

2005-07-10 Thread John Wright
Todd, I'm glad you got it. Yes, a point is extremely hard to intersect with! - John Wright Starfire Research Todd L. Peters wrote: I got it now. Apparently a PickRay is virtually impossible to intersect with a point, the answer is to use a larger pickshape. -Todd =

Re: [JAVA3D] Picking Behaviors in Java3D

2005-07-10 Thread Todd L. Peters
I got it now. Apparently a PickRay is virtually impossible to intersect with a point, the answer is to use a larger pickshape. -Todd === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message

Re: [JAVA3D] Picking Behaviors in Java3D

2005-07-10 Thread Todd L. Peters
Sent: Sunday, July 10, 2005 10:34 AM To: JAVA3D-INTEREST@JAVA.SUN.COM Subject: Re: [JAVA3D] Picking Behaviors in Java3D Todd, You have to set the objects you want to pick as "pickable". If they aren't set as pickable they won't trigger a pick. - John Wright Starfire Research

Re: [JAVA3D] Picking Behaviors in Java3D

2005-07-10 Thread John Wright
havior into? Thanks, Todd -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of John Wright Sent: Saturday, July 09, 2005 7:17 PM To: JAVA3D-INTEREST@JAVA.SUN.COM Subject: Re: [JAVA3D] Picking Behaviors in Java3D Todd, I've found that picking wa

Re: [JAVA3D] Picking Behaviors in Java3D

2005-07-10 Thread Todd L. Peters
@JAVA.SUN.COM Subject: Re: [JAVA3D] Picking Behaviors in Java3D Todd, I've found that picking was not reliable unless you do a "pickAll" and then loop through the scene graph path array returned (to find your closest hit). Clumsy but it works. - John Wright Starfire Research Todd L. Peter

Re: [JAVA3D] Picking Behaviors in Java3D

2005-07-09 Thread John Wright
Todd, I've found that picking was not reliable unless you do a "pickAll" and then loop through the scene graph path array returned (to find your closest hit). Clumsy but it works. - John Wright Starfire Research Todd L. Peters wrote: I am new to Java 3D and am having trouble with picking beha

[JAVA3D] Picking Behaviors in Java3D

2005-07-09 Thread Todd L. Peters
I am new to Java 3D and am having trouble with picking behaviors. The tutorial is not really clear to me and the examples on the web seem to use deprecated methods. I think I have the basic concept correct, but things do not seem to be working out. I have a branchgroup (not the top level group)

[JAVA3D] Picking

2004-08-04 Thread Damien Maillet
Hi all! In my application, i used to pick some shape3d with : ... geometry.setCapability(Geometry.ALLOW_INTERSECT); shape.setGeometry(geometry); PickTool.setCapabilities(shape, PickTool.INTERSECT_FULL); shape.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE); ... and with this pickbehavior public class P

Re: [JAVA3D] Picking points from a QuadArray

2004-08-03 Thread Claude Fuhrer
Le Mardi, 3 Août 2004 12.50, Mike Pilone a écrit : > Claude, Hi Mike, Thank you for your answer. > > You will want to look at the Picking utilities in J3D. There is some > information about this in the tutorial, and some decent documentation in > the Javadocs. > > You can perform a pick at the

Re: [JAVA3D] Picking points from a QuadArray

2004-08-03 Thread Mike Pilone
generate them yourself from the CVS. -mike -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of Claude Fuhrer Sent: Tuesday, August 03, 2004 3:58 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Picking points from a QuadArray Le Mardi, 3 Août 2004

Re: [JAVA3D] Picking points from a QuadArray

2004-08-03 Thread Claude Fuhrer
Le Mardi, 3 Août 2004 10.35, Claude Fuhrer a écrit : > Hi all ! > > I've a simple application which displays a simple QuadArray. I have used > three behaviors (MouseRotate, MouseZoom and MouseTranslate) to modify the > view of this QuadArray. > > Now, i'm trying to pick some vertices of this QuadAr

[JAVA3D] Picking points from a QuadArray

2004-08-03 Thread Claude Fuhrer
Hi all ! I've a simple application which displays a simple QuadArray. I have used three behaviors (MouseRotate, MouseZoom and MouseTranslate) to modify the view of this QuadArray. Now, i'm trying to pick some vertices of this QuadArray with the mouse, to be able to change their position. But I'm

Re: [JAVA3D] Picking one out of many same objects

2004-07-16 Thread Andre Bialojahn
> [How to determine which of several similar objects was picked?] Maybe, you'd like to add some userdata to the SGOs you are picking. Doing so, you'll be able to assign a unique ID to your objects. Just have a look at .setUserData(Object) and .getUserData(). I was facing the almost exact same prob

[JAVA3D] Picking one out of many same objects

2004-07-15 Thread Reuben D. Budiardja
Suppose I have ten boxes (using the Box class) live, with different positions. I can use PickCanvas to pick the box, but how do I differentiate one box out of the other? For example, using a mouseListener, PickCanvas, and PickResult, I can write to console (using System.out.println() ) when a box i

Re: [JAVA3D] picking the table

2004-06-02 Thread Bassam
, otherwise if not null ,they might be solid but 100% transparent (like you said) Is this reliable? THANKYOU BASSAM - Original Message - From: "John Wright" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 03, 2004 12:49 AM Subject: Re: [JAVA3D] pic

Re: [JAVA3D] picking the table

2004-06-02 Thread John Wright
e - From: "John Wright" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 02, 2004 7:33 PM Subject: Re: [JAVA3D] picking the table Bassam, your code does not pick straight "down" from your point. Try something more like: Point3d end = new Poin

Re: [JAVA3D] picking the table

2004-06-02 Thread Bassam
IL PROTECTED]> Sent: Wednesday, June 02, 2004 7:33 PM Subject: Re: [JAVA3D] picking the table > Bassam, your code does not pick straight "down" from your point. Try > something more like: > Point3d end = new Point3d(point.x ,point.y-5 ,point.z ); > Point3d s

Re: [JAVA3D] picking the table

2004-06-02 Thread John Wright
--- From: "John Wright" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 02, 2004 2:59 PM Subject: Re: [JAVA3D] picking the table Bassam, Try using pickAll rather than pickAny. We ended up rewriting all our terrain following routines because of buggy picking ut

Re: [JAVA3D] picking the table

2004-06-02 Thread Bassam
han TableTG. THANK YOU BASSAM - Original Message - From: "John Wright" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 02, 2004 2:59 PM Subject: Re: [JAVA3D] picking the table > Bassam, > > Try using pickAll rather than pickAny. We ende

Re: [JAVA3D] picking the table

2004-06-02 Thread John Wright
Bassam, Try using pickAll rather than pickAny. We ended up rewriting all our terrain following routines because of buggy picking utilities. - John Wright Starfire Research Bassam wrote: I just want to add more details. The table was done by 3ds Max program and saved as 3ds format. I ,then, loaded

Re: [JAVA3D] picking the table

2004-06-01 Thread Bassam
  I just want to add more details. The table was done by 3ds Max program and saved as 3ds format. I ,then, loaded it using John's Wright loader and add it to a transform group. I set the group's  setPickable(true);   The ball is a transform group which has sphere as child .using PickSegment

[JAVA3D] picking the table

2004-06-01 Thread Bassam
I have a ball on a billliard table each is add to different transform group. The problem is that I am trying to make the ball to pick downwards to check if it is on the table or pocketed. However ,after picking scenegraphpath is null, even though the ball is above the table. I am using Picks

Re: [JAVA3D] Picking -- all or nothing?

2004-02-09 Thread Rick Brownrigg
John, Thanks very much for your reply. I see now that, despite how I think picking *should* work, your solution makes much sense regardless, as it serves to pre-cull all the things that aren't pickable anyhow. I guess I couldn't see the trees for the forest -- or in this case, the branches for t

[JAVA3D] Picking and getAppearance()

2004-02-08 Thread Seatizen
Hello. I've already found solution of my picking problem, but there is another problem: I created Box object in first (public) class, set box.setCapability(Box.ENABLE_APPEARANCE_MODIFY) and then put it through creator to the second class. And the problem is: i can't get the Appearance object (in th

[JAVA3D] Picking

2004-02-07 Thread Seatizen
Hello. I don't know if this is right place to put my problem, but... I've got two Box objects on the screen. I click one of them (picking): ... sceneGraphPath = branchGroup.pickClosest(pickRay) ... How can i find out (using the sceneGraphPath object) which Box did i clicked? When i was using Colo

Re: [JAVA3D] Picking -- all or nothing?

2004-02-07 Thread John Wright
Rick, I agree, that is the way I've observed it as working. And I agree it seems absurd that we should have to make everything pickable. It would be a lot more user friendly if anything that we didn't care about was automaticallly assumed to be "miss" and didn't generate an error. Our "solution"

[JAVA3D] Picking -- all or nothing?

2004-02-07 Thread Rick Brownrigg
I'm getting the dreaded "javax.media.j3d.CapabilityNotSetException: Shape3D: no capability to allow intersect" exception. I know from experimentation why it is happening. But I'd like ask a broader question: why should this even happen at all? That is, I'd like to have some objects in the scene

[JAVA3D] PICKING PRIMITIVES INTERCTED BY A PLANE

2004-01-26 Thread Ornelio Hinterholz Junior
Hi, someone knows how can I get primitives using a pick with a plane? === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send e

Re: [JAVA3D] Picking points

2003-12-14 Thread Michael Pfeiffer
Hi, I think you have picked your cube using PickCanvas!? Its method picAll()/pickClosest()/... returns a PickResult object. There you can find a Method getClosestIntersection() which returns a PickIntersection object. There you can find a method int getClosestVertexCoordinates() which returns the

[JAVA3D] Picking points

2003-12-14 Thread Prof. C. Ratsch
Hello friends, I have constructed an own cube with QuadArray . It looks nice and works well. How can I pick a corner of this cube and move this picked point with mouseDrag to change this shape online? Do I need an IndexedQuadArray ? Thank you for some support. C. Ratsch ===

[JAVA3D] Picking points.

2003-12-01 Thread Anand Janakiraman
Hi, I have problems picking multiple points from a PointArray. The scenario is as follows: The scene graph has a PointArray inside a Shape3D. The user needs to "draw" a rectangle on the screen by clicking on the starting point, dragging through a region and clicking on the final point. Afte

Re: [JAVA3D] picking problem

2003-11-01 Thread Lewis Walker
] Subject: [JAVA3D] picking problem ok, i'm using picking for collision avoidanceso I have a big room 200x300 meters and I start in the middle of it. I just implemented collision detection with the help from andrews book...but i have some problems with it... i use: picker.setShapeRay(start,

[JAVA3D] picking problem

2003-10-31 Thread Flavius Alecu
ok, i'm using picking for collision avoidanceso I have a big room 200x300 meters and I start in the middle of it. I just implemented collision detection with the help from andrews book...but i have some problems with it... i use: picker.setShapeRay(start, vStop) where start is the Point3d where

[JAVA3D] Picking

2003-10-07 Thread Carlos Vieira
Hi, Someone knows how to get geometryinfo or geometryarray from import com.sun.j3d.utils.geometry.Box. I want to do this because i want to create a shape3d object to use for picking purposes. Thanks in advance Carlos

[JAVA3D] Picking inaccuracy

2003-08-14 Thread P Watson
Hi, I was hoping someone may be able to help. I have a primitive box vrml file which I have loaded into my Java3d scene and I would like to click on it to get the x,y,z coords. The x and y coords provided seem fine but I don't understand why the Z coordinate seems to vary between -1 & 1 dependin

Re: [JAVA3D] Picking inaccuracy

2003-08-14 Thread P Watson
:53 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Picking inaccuracy P Watson wrote: > Hi, > > I was hoping someone may be able to help. > I have a primitive box vrml file which I have loaded into my Java3d > scene and I would like to click on it to get the x,y,z coords. The x

Re: [JAVA3D] Picking inaccuracy

2003-08-14 Thread trz
P Watson wrote: Hi, That does not seem to work, it gives all sorts of spurious/weird Z coords. Basically all I want is a constant Z value if I click Anywhere on the face of a shape no matter if I have rotated the shape around. I want it to be relative to the centre of the shape and not the world.

Re: [JAVA3D] Picking inaccuracy

2003-08-11 Thread trz
P Watson wrote: Hi, I was hoping someone may be able to help. I have a primitive box vrml file which I have loaded into my Java3d scene and I would like to click on it to get the x,y,z coords. The x and y coords provided seem fine but I don't understand why the Z coordinate seems to vary between -

Re: [JAVA3D] Picking shapes containing shapes

2003-08-04 Thread Lewis Walker
t you can use to tag things with so that you can get a hold of something you otherwise wouldn't be able to. Lewis. -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of Dave Cooper Sent: 04 August 2003 20:14 To: [EMAIL PROTECTED] Subjec

[JAVA3D] Picking shapes containing shapes

2003-08-04 Thread Dave Cooper
I have a 3d world with one 3D shape entirely containing another. When I perform a pickAllSorted on the outer object, near the edge, the result is always as I expect : a PickResult[] containing only the outer object. Unfortunately when I pick nearer the middle of the shape, the PickResult[] conta

Re: [JAVA3D] Picking error - dead BranchGroup?

2003-07-14 Thread Vladimir Vernikovski
lt;[EMAIL PROTECTED]> Sent: Friday, July 11, 2003 7:30 PM Subject: [JAVA3D] Picking error - dead BranchGroup? > In my application I have a panel in which a user can pick a shape in a 3D environment. Because of the problems I have mentioned before, I have to maintain a single Canvas3D across the

[JAVA3D] Picking error - dead BranchGroup?

2003-07-11 Thread Ben Moxon
In my application I have a panel in which a user can pick a shape in a 3D environment. Because of the problems I have mentioned before, I have to maintain a single Canvas3D across the application, which seems to be fine, but now I find when I leave the 3D panel and then go back to it and try to

[JAVA3D] Picking, "NoClassDefFoundError" w. "java" command on Windows, appletviewer works

2003-04-12 Thread P. Flavin
NoClassDefFoundError is given when it can't find the ".class" file. If PickTest.class is in your current directory and : java PickTest gives you the error, then your CLASSPATH is not set to search the current directory. On both Windows and Linux you have to set the CLASSPATH to execute programs

Re: [JAVA3D] ? Picking inconsistency ?

2003-03-18 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
se of NASA." -Original Message- From: Philip J Colbert [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2003 2:59 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] ? Picking inconsistency ? Hi Mario I have not done a huge amount of work with picking but I have noticed some funny th

Re: [JAVA3D] ? Picking inconsistency ?

2003-03-17 Thread Philip J Colbert
Hi Mario I have not done a huge amount of work with picking but I have noticed some funny things going on. much the same as others on here. I have found that there are diffrences between: pickCanvas.setMode(PickTool.BOUNDS); and pickCanvas.setMode(PickTool.GEOMETRY_INTERSECT_INFO); or pickC

Re: [JAVA3D] ? Picking inconsistency ?

2003-03-14 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
one have a guess as to why adding this other branchgroup would cause picking to screw up? Mario -Original Message- From: ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA) Sent: Friday, March 14, 2003 3:07 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] ? Picking inconsistency ? I have a c

[JAVA3D] ? Picking inconsistency ?

2003-03-14 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
I have a canvas with several 3D spheres generated from my own Sphere3d class which itself is a BranchGroup and has a translation TransformGroup attached to it and then a Primitive of the Sphere attached to it. I want to select the individual spheres and tell my program which sphere it is...using th

Re: [JAVA3D] Picking spec question

2003-03-12 Thread Mark Hood
> Date: Wed, 12 Mar 2003 11:49:18 -0800 > From: Justin Couch <[EMAIL PROTECTED]> > > Rob Nugent wrote: > > > I can't say that 1) is a bug, since the way picking works is so fuzzily > > defined. > > What I'd really like is an official way to be able to do picking > > independent of any View.

Re: [JAVA3D] Picking spec question

2003-03-12 Thread Justin Couch
Rob Nugent wrote: I hate to say it, but it's probably best not to rely on the behavior you observed in point 2) carrying over to future Java 3D releases, since you're in a gray area with respect to your use of multiple views. [snip] I can't say that 1) is a bug, since the way picking works is so

Re: [JAVA3D] Picking spec question

2003-03-11 Thread Rob Nugent
Mark, Comments inline: Mark Hood wrote: Date: Mon, 10 Mar 2003 10:51:21 + From: Rob Nugent <[EMAIL PROTECTED]> 1) Picking appears to only pick things below current Switch positions. This is annoying, since I use DistanceLODs with my Switches. I'd like to pick my most 'detailed' geomet

Re: [JAVA3D] Picking spec question

2003-03-10 Thread Mark Hood
> Date: Mon, 10 Mar 2003 10:51:21 + > From: Rob Nugent <[EMAIL PROTECTED]> > > 1) Picking appears to only pick things below current Switch positions. This > is annoying, since I use DistanceLODs with my Switches. I'd like to pick my > most 'detailed' geometry all the time, but I get the

Re: [JAVA3D] Picking spec question

2003-03-10 Thread Rob Nugent
Justin, (Just got back from leave, and saw your append). I've been experimenting in this area. I can't give a definitive answer, but here are some of the things I observe. (Remember I'm not part of the J3D group, so I'm in no privileged position). Firstly, my scenario: I'm using a single WakeupOn

[JAVA3D] Picking geometry imported with FullSail OpenFlight loader

2003-03-09 Thread Joost Verschuren
I'm having problems with picking imported .flt data. My situation: I've imported some objects representing space objects (satellites, planets, etc.) with FullSail's openflt loader. One of these objects is a sphere with a texture that represents the stars in the sky. My ViewPlatform is always som

Re: [JAVA3D] Picking in compatibility mode

2003-03-07 Thread Mark Hood
> Date: Fri, 7 Mar 2003 17:17:22 +0100 > From: Karsten Fries <[EMAIL PROTECTED]> > Organization: LION bioscience AG > > i mean if you compare the standard stereo to that one compatibility mode gave > me i have the evidence. before i had a slight impression that my object is in > front or in

Re: [JAVA3D] Picking in compatibility mode

2003-03-07 Thread Mark Hood
> Date: Fri, 7 Mar 2003 17:17:22 +0100 > From: Karsten Fries <[EMAIL PROTECTED]> > Organization: LION bioscience AG > > > So the orientations of the eyes don't matter, just their positions > > relative to the canvas. Your real eyes will converge and diverge > > depending upon the depth in

Re: [JAVA3D] Picking in compatibility mode

2003-03-07 Thread Karsten Fries
Hi Mark, thanks for your remarks, but i do not completely agree with you. At least compared with the things i experience with my settings. > > > but the eyes look parallel into the scene. how can i focus them on a > > specified point? > > It sounds like you might be confused about the eye basi

Re: [JAVA3D] Picking in compatibility mode

2003-03-06 Thread Mark Hood
> Date: Thu, 6 Mar 2003 10:50:39 +0100 > From: Karsten Fries <[EMAIL PROTECTED]> > > i finally worked out how to set different transforms for each eye to produce > stereo images. but i have to use compatibiliy mode... I saw your first post but didn't have time to respond. Why do feel you

[JAVA3D] Picking spec question

2003-03-06 Thread Justin Couch
Anyone know what the details of the picking specification are? The J3D Specification doesn't actually say anything about how they work, just that you can pick stuff and get an answer. For example, does pick use render traversal information or not? (is pickClosest() based on the the OrderedGroup or

Re: [JAVA3D] Picking in compatibility mode

2003-03-06 Thread Kelvin Chung
Karsten Fries wrote: Hi there, i finally worked out how to set different transforms for each eye to produce stereo images. but i have to use compatibiliy mode... related to this i found the problem that picking doesn't work correctly in compatibility mode. am i missing a setting or is there defi

[JAVA3D] AW: [JAVA3D] picking individual geometries from a multiple geomet ry shape3d

2003-03-06 Thread Florin Herinean
eers, Florin -Ursprüngliche Nachricht- Von: Anirban Bhadore [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 6. März 2003 07:54 An: [EMAIL PROTECTED] Betreff: [JAVA3D] picking individual geometries from a multiple geometry shape3d Hi All, Its a great benefit to club geometries together into lesser

[JAVA3D] Picking in compatibility mode

2003-03-06 Thread Karsten Fries
Hi there, i finally worked out how to set different transforms for each eye to produce stereo images. but i have to use compatibiliy mode... related to this i found the problem that picking doesn't work correctly in compatibility mode. am i missing a setting or is there definitly no (known) so

[JAVA3D] picking individual geometries from a multiple geometry shape3d

2003-03-05 Thread Anirban Bhadore
Hi All, Its a great benefit to club geometries together into lesser no of shapes in the scene graph. I was just wondering if there is any way to still pick different geometries individually and change the appearance of the geometry. Lets take one example. Lets say there is a scene which has 2700

Re: [JAVA3D] picking and selecting

2003-02-24 Thread Artur Biesiadowski
Arnaud Forgues wrote: I am new to Java3D and I want to develop a chess game in 3D. In order to select a piece, I use the picking behaviour, changing the color of the shape3D retrieved thanks to pickResult. However I don’t figure out how to retrieve the object that I create from which the Shape3D b

[JAVA3D] picking and selecting

2003-02-24 Thread Arnaud Forgues
Hi everybody,   I am new to Java3D and I want to develop a chess game in 3D. In order to select a piece, I use the picking behaviour, changing the color of the shape3D retrieved thanks to pickResult. However I don’t figure out how to retrieve the object that I create from which the Shape3

Re: [JAVA3D] Picking Bug?

2003-02-17 Thread White Morph
Hi, I experienced a similar problem before, but I used triangles so the exception is "Interp point outside triangle". I had a discussion with Kelvin Chung from Sun. See the post: http://swjscmail1.java.sun.com/cgi-bin/wa?A2=ind0212&L=java3d-interest&P=R18103&D=1&H=0&O=D&T=1&X=3801810F09E3679435&

Re: [JAVA3D] Picking Bug?

2003-02-17 Thread Philip J Colbert
Kevin I think the bug number may be bug 4516752 but not 100% sure C YA Phil Colbert :) >= Original Message From Discussion list for Java 3D API <[EMAIL PROTECTED]> = >Dead on, and thats exactly what I've done. From the message I guessed it >meant that the pick hadn't actually hit so

Re: [JAVA3D] Picking Bug?

2003-02-17 Thread Kevin Glass
Dead on, and thats exactly what I've done. From the message I guessed it meant that the pick hadn't actually hit so I just pretend its a negative response. However, I could do with the bug number, I'll have another search. Kev > Yes! > > I'm not sure of the report number but I asked this questio

Re: [JAVA3D] Picking Bug?

2003-02-17 Thread Philip J Colbert
Yes! I'm not sure of the report number but I asked this question a while back and was assured it was a known bug, I got round it by placing the offending line inside a try/catch block and it works fine. If I remember correctly it is usually caused in my app by picking a corner or edge of an obje

[JAVA3D] Picking Bug?

2003-02-15 Thread Kevin Glass
Known bug? java.lang.RuntimeException: Interp point outside quad at com.sun.j3d.utils.picking.PickIntersection.getInterpWeights(PickInter section.java:1473) at com.sun.j3d.utils.picking.PickIntersection.getPointCoordinates(PickIn tersection.java:1115) at org.newdawn.pondering

[JAVA3D] Picking BY_REF geometries

2003-01-27 Thread Raj N. Vaidya
Hi All, I've been running into problems in trying to get consistent pick hits on indexed geometries with the BY_REFERENCE bit set. If I do not choose to turn on that bit, however, picking works very well. Specifically, the problems with the BY_REF bit are as follows: 1. If I try to pick an index

[JAVA3D] [Picking]

2003-01-15 Thread Phos77
| Hi all,| I've loaded a VRML file using VRML97 loader (vrml97.jar).| Now I want to be able to set the capability bit to pick objects in theVRML| scene I've just loaded.| I want to set this bit for every Shape3D...| How is it possible?|| Thank you very much for any help!||Fausto Mancini

[JAVA3D] Picking utils and USE_NIO_BUFFER

2003-01-01 Thread Raffi Kasparian
  Recently I started using nio buffers for my geometry. Unfortunately, Sun's picking utilities don't work with this mode as evidenced by the following Exception. Does anyone know if Sun plans to support nio buffers in its picking utilities or is it time for me to write my own?   Raffi   java

[JAVA3D] Picking in Immediate Mode

2002-12-27 Thread Ranjan.George
Hi All, I am planning to use the immediate mode rendering in my 3d molecular viewer application due to memory and performance constraints of Java3D. One of the requirements is that I should be able to select atoms (drawn as sphere's with bonds) in my canvas. How do i do this??? i.e. how do i use

[JAVA3D] Picking Problem

2002-12-25 Thread Appalaraju.Kvrapati
Hello Forum, When I change the frontClipDistance of the View then Some part of the structure is clipped. If I start picking a point then the clipped point of the structure is selected. Is there any way out not to select the clipped structure?. Regards, AppalaRaju ==

[JAVA3D] picking from the specified canvas

2002-12-16 Thread A. Murat Tanyer
Hello all, I wrote a class for my picking application. I have a tabbed pane with 3 tabs and on each tab I have different canvasses. I want my code select objects from one of the canvas. So I pass one of the canvas name in my code. But in reality, the code selects the objects on all of the canvasse

Re: [JAVA3D] picking a brachgroup / VRML model

2002-12-01 Thread Andreas Moessner
Hi Csaba, Try to have a look at j3dfly-utils.jar. Under j3dfly-utils.jar/com/sun/j3d/demos/utils/scenegraph/traverser there is a class called NodeChangeProcessor. It searches a scenegraph for the specified classes(e.g. Shape3D) and so you can easily set the capabilities. You can get the above men

[JAVA3D] picking a brachgroup / VRML model

2002-11-28 Thread Csaba Pales
Hi, I'm working on a simple application that requires picking. I have some models in VRML format, and want to pick them. I've already worked a bit with picking, but I only can pick simple shape objects (with picktool, pickcanvas...). What I need here is to pick a whole branchgroup that contains (p

[JAVA3D] Picking with GEOMETRY_INTERSECT_INFO

2002-11-13 Thread Martin Frey
Hi i have a problem when i want to use the PickTool.GEOMETRY_INTERSECT_INFO;   i get an "Improper Level exception" when doing this:       shape3D.getGeometry().setCapability(Geometry.ALLOW_INTERSECT);    shape3D.setCapability(Shape3D.ALLOW_GEOMETRY_READ);    shape3

Re: [JAVA3D] picking problem with pickResult.getNode

2002-11-06 Thread Burrows Anthony
Have you set the capability ENABLE_PICK_REPORTING for the TGs? If not, you won't get them. Tony -Original Message- From: Shantz Family [mailto:shantzfamily@;ATTBI.COM] Sent: 04 November 2002 23:46 To: [EMAIL PROTECTED] Subject: [JAVA3D] picking problem with pickResult.getNode

Re: [JAVA3D] picking problem with pickResult.getNode

2002-11-04 Thread Ricardo Nakamura
Mike, Not sure but I think you have to call setCapability(Node.ENABLE_PICK_REPORTING) on your transform groups. This will cause them to appear in the SceneGraphPath returned from the picking operation. Afterwards, the getNode should work. Ricardo At 21:45 4/11/2002, you wrote:

[JAVA3D] picking problem with pickResult.getNode

2002-11-04 Thread Shantz Family
I am picking in a scene graph that has the following structure of TransformGroups with Links to a SharedGroup. TG TG TG | | | L L L \|/ SG Shape pickResult.getNode( pickResult.LINK) works fine but pickResult.getNode( pickResult.TRANSFORM_GR

[JAVA3D] Picking?

2002-11-04 Thread Martin Frey
Hi i have a problem when i want to use the PickTool.GEOMETRY_INTERSECT_INFO;   i get an "Improper Level exception" when doing this:       shape3D.getGeometry().setCapability(Geometry.ALLOW_INTERSECT);    shape3D.setCapability(Shape3D.ALLOW_GEOMETRY_READ);    shape3D

Re: [JAVA3D] picking and invisible objects

2002-10-29 Thread Kelvin Chung
A. Murat Tanyer wrote: Hi, I have a small questions about picking: My scene contains many objects and I am making some of them invisible by turning the "setVisible()" method true and false. I also created my picking class and I can select objects by creating a PickRay. It shouldn't. Try upgra

Re: [JAVA3D] picking and invisible objects

2002-10-29 Thread Andreas Jerke
> Hi, > > I have a small questions about picking: > > My scene contains many objects and I am making some of them invisible by > turning the "setVisible()" method true and false. > > I also created my picking class and I can select objects by creating a > PickRay. > > However, the PickRay also sele

[JAVA3D] picking and invisible objects

2002-10-29 Thread A. Murat Tanyer
Hi, I have a small questions about picking: My scene contains many objects and I am making some of them invisible by turning the "setVisible()" method true and false. I also created my picking class and I can select objects by creating a PickRay. However, the PickRay also selects the objects th

Re: [JAVA3D] picking many objects

2002-10-24 Thread Jason Taylor
The first question has been discussed here recently, check the archives to see if there's some answers. For the second, check the class of the node and cast it back to it's original, then just do the get/set appearance commands. Make sure you set the write capabilities of the appearance *BEFORE

[JAVA3D] picking many objects

2002-10-24 Thread A. Murat Tanyer
Dear members, I created my class from which I can pick objects by single mouse clicks. 1) Now how can I improve my code so that I could select many objects with the windows created by mouse. Like I click a point on the canvas, open a window and select the objects inside this window. Is this possi

Re: [JAVA3D] Picking question

2002-09-03 Thread Georg Rehfeld
Dear Gregory, > I was wondering if anyone could help point me in the right direction about > picking. Please read the Java3D tutorial Chapter 4.6 'Picking', if then you have a specific question feel free to ask again. regards Georg ___ ___ | + | |__Georg Rehfeld Woltmanstr. 12

[JAVA3D] Picking question

2002-09-03 Thread Gregory Gimler
I was wondering if anyone could help point me in the right direction about picking. I am importing VRML objects with Java3d and I want to be able to select these objects with the mouse and perhaps have a translucent sphere engulf the objects when I select them and be able to retrieve any characte

Re: [JAVA3D] Picking: Select By Area (mouse-rectangle drag)

2002-08-14 Thread Luis Villablanca
parallel view use a rectangular prism extending between the front and the back clipping planes. Regards. --- Luis - Original Message - From: "Asaf Dafner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 14, 2002 7:05 AM Subject: [JAVA3D] Picking:

[JAVA3D] Picking: Select By Area (mouse-rectangle drag)

2002-08-14 Thread Asaf Dafner
In his Raw J3D, chapter 6, ( http://www.j3d.org/tutorials/raw_j3d/chapter6/picking.html ), Sir Couch comments that it is possible to use PickBounds to implement "drag area selection techniques that drawing applications are fond of". I want to do that, but I'm having trouble defining a bounding

Re: [JAVA3D] picking and dragging

2002-07-29 Thread White Morph
Yes, you can, I guess. I did sth like: pick any vertex on a geometry object, drag and drop it to change the geometry shape. It's not so easy. Refer to the PickRotateBehavior, PickTranslateBehavior class, it may be helpful, but those classes have problems of not considering view orientation as

[JAVA3D] picking and dragging

2002-07-28 Thread aant
Hi all, I want to know if it is possible to change the dimensions of of cube (or some other 3d form) by picking an corner of is and drag it to an other place. I have a cube with on all the 8 corners a small anchor cube, I can pick those anchors, but is het possibel by draging one of those

[JAVA3D] Picking Intensities

2002-07-14 Thread Vijayaraghavan Rajagopal
Hello again, Is there a function in Java3D that allows you to only show those voxels that have a certain intensity? I know there is one for Alpha values. I can't seem to find one for colors. thanks vijay __ Your favorite stores,

Re: [JAVA3D] Picking CapabilityNotSetException

2002-06-27 Thread Katja Loescher
I just wanted to thank for all the answers. One of the suggestions helped me to get it working. Katja > Katja, > > Check out the VrmlPickingTest example from my book. It should include most > of what you need. You will just have to create your scenegraph yourself, > rather than loading from a VR

Re: [JAVA3D] picking the wrong object

2002-06-26 Thread Anett Berger
his might work for > you. > > --russell > - Original Message - > From: "Anett Berger" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, June 23, 2002 11:52 PM > Subject: [JAVA3D] picking the wrong object > > > > Hi, >

Re: [JAVA3D] picking the wrong object

2002-06-24 Thread Russell Power
, June 23, 2002 11:52 PM Subject: [JAVA3D] picking the wrong object > Hi, > > I've got the following problem: > > I have a scene with several objects (extends Shape3D). These objects shall > be picked. I did pickBehaviour.setTolerance(0.0f). > But there's still th

[JAVA3D] picking the wrong object

2002-06-23 Thread Anett Berger
Hi, I've got the following problem: I have a scene with several objects (extends Shape3D). These objects shall be picked. I did pickBehaviour.setTolerance(0.0f). But there's still the problem that I can't pick the correct object each time. I.e. the result of the picking is very often an object n

Re: [JAVA3D] Picking CapabilityNotSetException

2002-06-14 Thread Daniel Selman
Katja, Check out the VrmlPickingTest example from my book. It should include most of what you need. You will just have to create your scenegraph yourself, rather than loading from a VRML file. Sincerely, Daniel Selman Author - "Java 3D Programming" http://www.manning.com/selman -Original

Re: [JAVA3D] Picking CapabilityNotSetException

2002-06-14 Thread Kevin Glass
The reason you get GeomertryArray and Shape3D capability runtime exceptions is because the Box is built up of these elements. You might try using the flag, Primitive.ENABLE_GEOMETRY_PICKING when you construct the Box primitive. When you say a plane, I assume you've creatd a Quad or some other

  1   2   3   4   >