Re: [JAVA3D] Collision question

2002-09-03 Thread Burrows Anthony
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

Re: [JAVA3D] HOW CAN I KNOW THE TRANSFORMATION OVER A SCENE GRAPH NODE ?

2002-09-04 Thread Burrows Anthony
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

Re: [JAVA3D] Adding Geometry or BranchGroups after scene has been compiled

2002-09-27 Thread Burrows Anthony
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

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 I am pick

Re: [JAVA3D] Collision detection issues

2002-11-06 Thread Burrows Anthony
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

Re: [JAVA3D] Collision detection issues

2002-11-11 Thread Burrows Anthony
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

Re: [JAVA3D] viewer VRML

2002-11-11 Thread Burrows Anthony
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

Re: [JAVA3D] Behaviours and loaded files

2002-11-20 Thread Burrows Anthony
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,

Re: [JAVA3D] collision problem

2002-12-11 Thread Burrows Anthony
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

[JAVA3D] Making Sounds

2003-01-27 Thread Burrows Anthony
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

Re: [JAVA3D] Java 3d research material???

2003-01-30 Thread Burrows Anthony
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

Re: [JAVA3D] Java3D on Linux

2003-02-10 Thread Burrows Anthony
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

[JAVA3D] Java 3D Tutorial

2002-01-31 Thread Burrows Anthony
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

Re: [JAVA3D] Java 3D Tutorial

2002-01-31 Thread Burrows Anthony
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

Re: [JAVA3D] Removing Shpa3D from a live SceneGraph

2002-02-14 Thread Burrows Anthony
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

Re: [JAVA3D] [J3D] x, y, z

2002-02-14 Thread Burrows Anthony
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

[JAVA3D] Waking up behaviours

2002-02-26 Thread Burrows Anthony
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

Re: [JAVA3D] ANNOUNCE: Book - "Java 3D Programming" online now

2002-03-05 Thread Burrows Anthony
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

[JAVA3D] Tracing the scenegraph path

2002-06-25 Thread Burrows Anthony
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

Re: [JAVA3D] Java3D Team...keep it simple

2002-07-03 Thread Burrows Anthony
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

Re: [JAVA3D] bounding volume - a simple question

2002-07-05 Thread Burrows Anthony
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

Re: [JAVA3D] Any docs for vrml97.jar

2002-07-09 Thread Burrows Anthony
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. ==

Re: [JAVA3D] Java3d on Linux RedHat exits...

2001-10-03 Thread Burrows Anthony
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

Re: [JAVA3D] Collision avoidance, bounds & co

2001-10-04 Thread Burrows Anthony
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

Re: [JAVA3D] VRML Loader

2001-10-05 Thread Burrows Anthony
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

Re: [JAVA3D] VRML Loader

2001-10-05 Thread Burrows Anthony
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

Re: [JAVA3D] utils documentation

2001-10-31 Thread Burrows Anthony
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:

[JAVA3D] Navigation Help Wanted/ Needed

2001-11-02 Thread Burrows Anthony
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

Re: [JAVA3D] How to reset view please

2001-11-09 Thread Burrows Anthony
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

Re: [JAVA3D] collision detection

2001-11-13 Thread Burrows Anthony
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

Re: [JAVA3D] How to view an object from opposite direction?

2001-11-14 Thread Burrows Anthony
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

Re: [JAVA3D] getting Transform3D x,y,z values ??

2001-11-16 Thread Burrows Anthony
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

Re: [JAVA3D] getting Transform3D x,y,z values ??

2001-11-16 Thread Burrows Anthony
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