Title: Collision question
As far
as I know, no. Collision does an intersect between the geometries of the
shapes in the scene.
Tony
-Original Message-From: Jonathan Smolarski
[mailto:[EMAIL PROTECTED]]Sent: 03 September 2002
15:20To: [EMAIL PROTECTED]Subject: [JAVA3D]
Collisi
Lets say your primitive is held in a TransformGroup TG.
The getLocalToVworld(X) method gives you the transform which would convert
the position of TG to world co-ordinates. BUT, TG could have a Transform3D
itself which moved your shape, so you need to multiply the transform X by
TG.inverse() - bu
Hi Eric
The simplest way I know of is to create a new BranchGroup, add the
predefined shape to that, then add the BranchGroup to the live scenegraph.
You can only add to a BranchGroup, and have to have the
ALLOW_CHILDREN_EXTEND capability set.
Tony
-Original Message-
From: TF [mailto:[E
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
I am pick
Not sure quite what you mean by the 'collision domain' Ramanath.
-Original Message-
From: ramanathan v [mailto:v_ramanath@;YAHOO.CO.UK]
Sent: 05 November 2002 18:59
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Collision detection issues
Hi Group,
I am working on some collision detections, wh
at.
thanks
ram
--- Burrows Anthony <[EMAIL PROTECTED]> wrote:
> Not sure quite what you mean by the 'collision
> domain' Ramanath.
>
> -Original Message-
> From: ramanathan v [mailto:v_ramanath@;YAHOO.CO.UK]
> Sent: 05 November 2002 18:59
> To: [EMAIL PROTE
CyberVRML is a viewer with all the code you need and the JavaCC file that
the loader was built from.
Tony
-Original Message-
From: Massimiliano Pesente [mailto:massimiliano.pesente@;CALIARI.IT]
Sent: 11 November 2002 15:55
To: [EMAIL PROTECTED]
Subject: [JAVA3D] viewer VRML
I'd like tkn
Jennifer
Once the first object has collided with the second, it won't pick up any
further collisions until it's no longer in collision with the second anyway.
Unless you mean that after the collision, the first object is not allowed to
collide with another one, even after the collision is cleared,
It doesn't work by default, you have to set it. Just make sure that in your
behavior subclass it is NOT in the wakeup conditions.
Tony
-Original Message-
From: Igor Belousov [mailto:[EMAIL PROTECTED]]
Sent: 10 December 2002 09:27
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] collision prob
Can anyone point me to some help for this?
I ran the code from two different J3D books, Selman's and Essential Java3D.
In both cases, the sound started right away then cut out and wouldn't
restart.
How DO you get a simple wav file to sound when you click a button or pick an
object?
Tony
Not
too sure what you mean Phil - what sort of material?
Tony
-Original Message-From: philip robinson
[mailto:[EMAIL PROTECTED]]Sent: 28 January 2003
17:29To: [EMAIL PROTECTED]Subject: [JAVA3D]
Java 3d research material???
Hey guys,
does anyone know where I can get hold of
I've been using it for a while and found it much faster. On an behaviour
triggered as fast as possible, the same machine toook 50-80 ms on Linux,
250-300ms on W2K and 250-1500ms on Win98.
There does seem to be a bug though on updating Text2D strings, giving a VM
error.
Tony
-Original Messag
I'm not sure how much anyone is interested in this, but IBM have posted a
tutorial on using Java3D. You can find it through their alphaworks site
under developerworks, java, education.
It looks quite good for a beginner.
Tony Burrows
--
If rea
January 2002 12:57
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Java 3D Tutorial
hi, please can you give me the name of the site?
tanks
--- Burrows Anthony <[EMAIL PROTECTED]> escreveu:
> I'm not sure how much anyone is interested in this,
> but IBM have posted a
> tutorial o
What if you want to reconnect the Shape3D later, or move it to another part
of the SG? In that case, you've got to have the BranchGroup structure,
can't just remove a child - as I know to my cost!
Tony Burrows
-Original Message-
From: Yazel, David J. [mailto:[EMAIL PROTECTED]]
Sent: 14
Take the top node for the man and get the TransformGroup's Transform3d.
Let's call it t3d.
Now
Vector3d position = new Vector3d();
t3d.get(position);
should put the position in the x, y and z fields of position.
Keeping the man inside needs collision detection, or better, collis
Hi
In the code I'm writing, a particular situation can occur which needs to
wake up a Behavior subclass. Unfortunately, none of the standard wakeups
are appropriate. There seem to be two possibilities:
1: Create an instance of an AWTEvent and use WakeupOnAWTEvent. I can't seem
to get this to w
Like you Nathan, no way was I going to pay the UK price. Bought it on-line
on Friday using my card (MasterCard) with no problems. Card verifications
do freak sometimes.
Good book by the way.
Tony
-Original Message-
From: Nathan Bower [mailto:[EMAIL PROTECTED]]
Sent: 02 March 2002 19:0
I need to get from a particular TransformGroup to one higher up the
scenegraph where data is stored. Now I know that in a live graph you can't
get the parent of a node, but is there any simple way to work down from the
locale?
I have implemented a recursive tree search which works, but it means
But
the more you expose the low level API, the more locked in you are to one way of
doing things. Encapsulate and only show the higher level seems more
sensible.
Tony
-Original Message-From: Kevin Glass
[mailto:[EMAIL PROTECTED]]Sent: 03 July 2002 09:37To:
[EMAIL PROTECTED
But if setBoundsAutoCompute is true, these might not be the real ones. I've
been using the Sun Box primitive, and getBounds returns a sphere!
If you set the bounds when you create the object, after
setBoundsAutoCompute(false), then it works.
Tony
-Original Message-
From: Georg Rehfeld
or any source code?
Tony
-Original Message-
From: brett [mailto:[EMAIL PROTECTED]]
Sent: 09 July 2002 10:01
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Any docs for vrml97.jar
Is there any API documentation for vrml97.jar? Thank you.
==
I'm using SUSE 7.2 with XFree86 4, the JDK 1.3 from Java and the latest j3d
from Blackdown. Apart from a few problems with fonts, I've had no trouble
with my own code or the demos. I have had problems occasionally with
different distributions of Linux.
-Original Message-
From: Didier Bo
Have you looked at Justin Couch's stuff?
www.j3d.org/implementation/collision.html and
www.j3d.org/tutorials/collision ? You might find the answers there.
-Original Message-
From: Roland Sarrazin [mailto:[EMAIL PROTECTED]]
Sent: 04 October 2001 13:04
To: [EMAIL PROTECTED]
Subject: [JAVA3
Any idea where I can find VRML loaders with source code? I need to extend
one.
Thanks
Tony B
-Original Message-
From: Joachim Diepstraten
[mailto:[EMAIL PROTECTED]]
Sent: 05 October 2001 10:04
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] VRML Loader
Hi Juergen
> Does anybody know of
Thanks, the amount of work you've saved me!
Tony
-Original Message-
From: Joachim Diepstraten
[mailto:[EMAIL PROTECTED]]
Sent: 05 October 2001 10:21
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] VRML Loader
Hi
> Any idea where I can find VRML loaders with source code? I need to extend
If you download the J3D documentation from the home page, all the basic
documentation is there. The actual source code comes with the j3d download
if you want that.
Tony
-Original Message-
From: MMB B [mailto:[EMAIL PROTECTED]]
Sent: 31 October 2001 13:28
To: [EMAIL PROTECTED]
Subject:
Hi
I've been trying to develop a general mouse navigation system. It's easy
enough to do a 'walk' through a scene OR to move/ rotate the scene. My
problem is when I try to do both. Once the view transform has changed,
mouse movements need to reflect movement on the canvas, not the original
sce
Hi
If you know the original view platform transform, you can simply have a
method which sets the VPT back to the original start value, for example,
from some of my code (note that you must set the transform write capability:
protected BranchGroup addViewBranch(Canvas3D canvas) {
BranchGroup v
Have a
look at the FAQ pages on http://www.j3d.org/faq for details on just how
to do this. Essentially, you cast a ray in the direction of movement and
see if it intersects anything.
I
wrote some code once to find the intersecting face. The approach was to
look at each face of the interse
There
are two parts to locating the viewer Zhangshi, the position and the
orientation. With no rotation you are simply looking along -z, so at
(0,0,-9) you would have the object behind you.
The
following puts the viewer at position (0,0,6) then rotates about the Y
axis. The result is that yo
if transform is your Transform3D, then
Vector3D tranlation = new Vector3D();
transform.get(translation);
Point3d myPoint = new Point3d(translation);
The get picks out only the translation part if the parameter is a Vector3D,
then you can either use its x, y, z values or pass them to a new Point3
homas
>From: Burrows Anthony <[EMAIL PROTECTED]>
>Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [JAVA3D] getting Transform3D x,y,z values ??
>Date: Fri, 16 Nov 2001 10:42:37 -
>
>if transform is your Transfor
33 matches
Mail list logo