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
=
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
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
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
@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
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
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)
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
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
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
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
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
> [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
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
, 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
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
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
---
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
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
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
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
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
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
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
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
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"
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
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
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
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
===
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
]
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,
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
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
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
: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
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.
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 -
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
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
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
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
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
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
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
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
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
> 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.
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
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
> 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
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
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
> 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
> 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
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
> 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
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
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
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
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
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
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
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
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&
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
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
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
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
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
| 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
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
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
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
==
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
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
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
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
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
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:
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
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
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
> 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
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
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
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
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
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
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:
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
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
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
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,
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
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,
>
, 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
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
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
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 - 100 of 317 matches
Mail list logo