Re: [JAVA3D] Rotation

1999-09-16 Thread Jon Barrilleaux
If I understand you correctly what you want is for a Vector3d to be facing the same direction. Do you want the vector in local or world coordinates? Assuming local coordinates then you could build a Transform3D using your axis angle and then use it to transform a vector pointing along the -Z axi

Re: [JAVA3D] Picking and returning 3D coordinates...

1999-09-16 Thread Veith, Gernot
Hi Kevin, Dug, it IS already possible to get the triangle that was intersected by pickray. Method intersect() supplies the distance to the surface and so the hitpoint can be calculated. In a second step the according geometry has to be checked which triange does keep the hitpoint. That all takes

[JAVA3D] Using WakeUpOnBehaviorPost

1999-09-16 Thread Leung, Sunny
Hi, Is there any examples available which demonstrates the use of WakeUpOnBehaviorPost(). I am planning to use WakeUpOnBehaviorPost() to perform tasks once the WakeUpOnCollisionEntry() is activated? Thanks Sunny Leung ===

[JAVA3D] Detaching BranchGroup

1999-09-16 Thread Leung, Sunny
Hi, I have tried to detach a branchgroup inside a WakeupOnCollisionEntry() behavior, although I can detach the branchgroup successfully, but the behavior node which attached to that particular branch group seemed to still running in the background after the detachment. Any ideas? Thanks Sunny L

Re: [JAVA3D] Detaching BranchGroup

1999-09-16 Thread Marco Lohse
Hi again, try Behavior.setEnabled(false); Marco. >Hi, > >I have tried to detach a branchgroup inside a WakeupOnCollisionEntry() >behavior, although I can detach the branchgroup successfully, but the >behavior node which attached to that particular branch group seemed to still >running in the b

Re: [JAVA3D] Using WakeUpOnBehaviorPost

1999-09-16 Thread Marco Lohse
Hi Sunny Leung, 1.) write your own Behavior class, something like public class MyBehavior extends Behavior{ MyBehavior(Group root, Bounds bounds) { this.setSchedulingBounds(bounds); BranchGroup branchGroup = new BranchGroup(); branchGroup.addChild(this); r

[JAVA3D] starting alpha at current time

1999-09-16 Thread oliver radfelder
Hi, I am new to java3d, but I am familiar with vrml. Thus I dare to ask the following question. My alpha works fine, when it is created like: Alpha alpha=new Alpha(-1,4000); But I can't figure out how to start it once at a particular point in time: Alpha alpha=new Alpha(1,4000);

Re: [JAVA3D] Rotation

1999-09-16 Thread Ale
- Original Message - From: Jon Barrilleaux <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 16, 1999 9:29 AM Subject: Re: [JAVA3D] Rotation > If I understand you correctly what you want is for a Vector3d to be > facing the same direction. Do you want the vector in l

Re: [JAVA3D] starting alpha at current time

1999-09-16 Thread Benedict, Jon K.
If I understand it, and it seems to work this way, starttime of zero, IS the current time, so if you want to start one second later, make starttime 1000. Not like VRML, where start time is in the year 1970 and you have to use two timers to get it to start at current time. > -Original Message

[JAVA3D] DFAD files

1999-09-16 Thread David Halle
This is not a java question, but does anybody knows where I could find sources of a DFAD loader (Digital Analysis Data) to make my own one?? This is a file format to describe cartographic features in digital form known geographic control. Any suggestion would be welcomed ! David HALLE.--

Re: [JAVA3D] starting alpha at current time

1999-09-16 Thread Kevin Rushforth
StartTime is initialized to the system time at the time Java 3D starts up. If you want a behavior to start up at some point in the future, the easiest way is to either change the start time: alpha.setStartTime(System.currentTimeMillis()+1000); or use the trigger time (although we just d

Re: [JAVA3D] Detaching BranchGroup

1999-09-16 Thread Kevin Rushforth
This sounds like a bug. Do you have a simple example program? If so, please send it to [EMAIL PROTECTED] In the mean time, the suggested workaround of disabling the behavior should work. -- Kevin Rushforth Java 3D Team Sun Microsystems [EMAIL PROTECTED] >Date: Thu, 16 Sep 1999 18:11:

Re: [JAVA3D] view model (by trial and error)

1999-09-16 Thread Kevin Rushforth
>Date: Wed, 15 Sep 1999 13:19:09 +0800 >From: Justin Couch <[EMAIL PROTECTED]> > >Kevin Rushforth wrote: > >> Using RELATIVE_TO_SCREEN should do what you want. Btw, we have >> considered adding a variant of RELATIVE_TO_WINDOW that isn't centered >> in X and Y--similar to RELATIVE_TO_SCREE

Re: [JAVA3D] view model (by trial and error)

1999-09-16 Thread Kevin Rushforth
Thank you for your comments, we'll take them into consideration, although we may not be able to address all of them for the 1.2 release. -- Kevin Rushforth Java 3D Team Sun Microsystems [EMAIL PROTECTED] >Date: Wed, 15 Sep 1999 01:35:42 -0700 >From: Jon Barrilleaux <[EMAIL PROTECTED]> >To: mai

Re: [JAVA3D] KeyNavBehavior in large simple scene broken?

1999-09-16 Thread Guillermo E. Gutierrez
Hi Tim, My guess is the key because it doubles as a windows accelerator function. I've had similar problems where the behavior seems to get "stuck" when I'm using in combination with the arrow keys or . However, in my scenario, the scene keeps moving, just doesn't accept keyboard input anymore.

[JAVA3D] Transparency Problems (Still!)

1999-09-16 Thread Bob Gray
I haven't been able to figure out a solution, so I thought I'd post this problem again I define my own cylinders with QuadArrays. I also use Sphere objects in my scene. I define a plane (quadarray) and set its transparency to 0.5. The plane cuts through some of the cylinders. Other cylin

Re: [JAVA3D] Surface Triangulation

1999-09-16 Thread M.Prabhakaran
Desiree Hilbring wrote: > There is a Triangulator class in Java3D and how to use it you can find > in the Sun Tutorial in chapter 3 Easier Content Creation subsection: > 3.3 GeometryInfo > > Desiree Is it posiible to communicate the exact website for triangulation thank you M. Prabha > > >

Re: [JAVA3D] Picking and returning 3D coordinates...

1999-09-16 Thread Zdenek Kabelac
> Hi Kevin, Dug, > > Java3D. My proposal is to supply the coordinates of the hitten triangle in > method intersect(SceneGraphPath path, PickRay pickRay, double[] dist) of > Shape3D in member dist. > I also encountered another thing: the garbage collector gets really stressed > when you try to pick

[JAVA3D] Windows Page Fault & Java3d

1999-09-16 Thread Zdenek Kabelac
Hello I'm fighting with this problem: --- JAVA caused an invalid page fault in module J3D.DLL at 016f:10001d4d. Registers: EAX= CS=016f EIP=10001d4d EFLGS=00010202 EBX=007aad3b SS=0177 ESP=06a7e88c EBP=06a7e8c8 ECX=06a7ff64 DS=0177 ESI= FS=4127 EDX=00953e90 ES=0177 EDI=057b09a8 GS

Re: [JAVA3D] Surface Triangulation

1999-09-16 Thread Desiree Hilbring
On Thu, 16 Sep 1999, M.Prabhakaran wrote: > Desiree Hilbring wrote: > > > There is a Triangulator class in Java3D and how to use it you can find > > in the Sun Tutorial in chapter 3 Easier Content Creation subsection: > > 3.3 GeometryInfo > > > > Desiree > > > > Is it posiible to communicate the