[JAVA3D] How to get the coordinate of a clicked point with Pick method ?

2002-05-17 Thread Christophe Musset
Hi All, I get some value with "getPixelLocationInImagePlate()" on the resulst of my PickObjet when I select a shape. Then I use "getImagePlateToVworld()" but the value that i obtain don't correspond with the coordinate of my vrml box (size 1 1 1) .I get -0.75 0.75 for the left-upper corner.my

[JAVA3D] modelclip problem

2002-05-17 Thread Olivier Tassy
Hello, I have several transparent objects with their names inside (some OrientedShape3D). I use a ModelClip with 6 planes to slice objects but not their name ( I used the ModelClip.addScope(objects) method ). I want each name disappear only when it's object has completely disappear.  so I us

[JAVA3D] Behaviour Scheduler does not stop

2002-05-17 Thread Andreas Jerke
Hello, I'm developing a SceneGraph inspector. This is a Swing Jtree which views the actual SceneGraph for debug and development. This JTree listens to a tree model called InspectorLocal (a Locale implementing interface TreeModel). So you can use InspectorLocale instead of Locale for debugging.

Re: [JAVA3D] Behaviour Scheduler does not stop

2002-05-17 Thread Kelvin Chung
Hi Andreas, Do you have a live viewPlatform attach to View when v.stopBehaviorScheduler() is invoked ? I can see from the current source code that there is a bug causing isBehaviorSchedulerRunning() always return true in this case. - Kelvin -- Java 3D Team Sun Microsystems I

Re: [JAVA3D] Behaviour Scheduler does not stop

2002-05-17 Thread Andreas Jerke
Hi Kelvin, I'm sorry for not replying to the group... (I'm not familiar with this "MS Outlook Tool" here at work...) Meanwhile Paul Byrne gave me the advice to look under java3d.netbeans.org and solved my problem ! Regards, Andreas ::Hi Andreas, :: :: Do you have a live viewPlatform attach to

[JAVA3D] Obtaining the view vector...

2002-05-17 Thread Kovalan Muniandy
Hi, I have a volume rendering application that uses polygon slices that are perpendicular to the view direction. How do I get the view vector in Java3D? Basically, I am porting my code which is an OpenGL application. In the C++ application, I had computed the view vector using the inverse-Eye-Sp

Re: [JAVA3D] Behaviour Scheduler does not stop

2002-05-17 Thread Kelvin Chung
Hi Andreas, The second one is bug 4635636 - NullPointerException in Shape3DRetained.getMirrorShape when collision activate which is fixed in v1.3 beta2. Actually View.stopView() will also stop the BehaviorScheduler so there is no need to explicitly stop it. I test the similar setup u

Re: [JAVA3D] Obtaining the view vector...

2002-05-17 Thread Mark Hood
> Date: Fri, 17 May 2002 14:07:12 -0700 > From: Kovalan Muniandy <[EMAIL PROTECTED]> > > I have a volume rendering application that uses polygon slices that are > perpendicular to the view direction. How do I get the view vector in Java3D? The view vector points along the -Z axis of the v

Re: [JAVA3D] View Transp. Sorting Policy

2002-05-17 Thread Kelvin Chung
>Date: Thu, 16 May 2002 11:42:00 -0600 >From: "Raj N. Vaidya" <[EMAIL PROTECTED]> >Subject: [JAVA3D] View Transp. Sorting Policy >To: [EMAIL PROTECTED] >Delivered-to: [EMAIL PROTECTED] >Delivered-to: [EMAIL PROTECTED] > >Has depth-sorting transparent geometries by invoking >View.setTransparencySor

[JAVA3D] Wakeup when visible

2002-05-17 Thread Artur Biesiadowski
I would like to have a behavior running every frame, but only when it is visible (for performance reasons - I can handle big pauses without problem when it reactivates later). Is it possible ? Other possibility would be to stay with wakeup per each frame, but check at very start if behavior bound

Re: [JAVA3D] Wakeup when visible

2002-05-17 Thread Andreas Jerke
Hi Artur, I think to should use two WakeupCondition criteria: WakeupOnElapsedFrames AND (WakeupAnd) WakeupOnViewPlatformEntry Don't forget to setSchedulingBounds(bounds) for your Behaviour object. Every time an active ViewPlatform enters the region AND after the number of elapsed frames, you

Re: [JAVA3D] Wakeup when visible

2002-05-17 Thread Artur Biesiadowski
Andreas Jerke wrote: > Don't forget to setSchedulingBounds(bounds) for your > Behaviour object. Every time an active ViewPlatform > enters the region AND after the number of elapsed frames, > your behaviour will wakeup. My understanding of ViewPlatformEntry is that it works around view in all d

[JAVA3D] LineAttribute.setLineWidth ( float )

2002-05-17 Thread Mona Wong
Can anyone (Sun?) tell me if there is a (valid) range for the LineAttribute.setLineWidth ( float ) argument? The API doc says: "lineWidth - the width, in pixels, of line primitives" The wording "in pixels" says to me that it must be integer. Is that right?

Re: [JAVA3D] Wakeup when visible

2002-05-17 Thread Andreas Jerke
::> Don't forget to setSchedulingBounds(bounds) for your ::Behaviour object. ::> Every time an active ViewPlatform enters the region AND after the ::> number of elapsed frames, your behaviour will wakeup. :: ::My understanding of ViewPlatformEntry is that it works around ::view in all directions,

Re: [JAVA3D] Wakeup when visible

2002-05-17 Thread Artur Biesiadowski
Andreas Jerke wrote: > But for what do we need > WakeupOnActivation,WakeupOnDeactivation,WakeupOnViewPlatformEntry and > WakeupOnViewPlatformExit ??? Well, I do not see difference between Activation/Entry and between Deactivation/Exit, but generally such conditions are needed. When behavior leav

Re: [JAVA3D] Wakeup when visible

2002-05-17 Thread David Yazel
I hate to say it, but this is one of those things where we have been augmenting the Java3d system. We allow behaviors to be registered with a central system. When it registers it passes activation bounds along with the behavior. On each frame we scan this list of registered behaviors and check

[JAVA3D] WakeupOnActivation or WakeupOnViewPlatformEntry ?

2002-05-17 Thread Andreas Jerke
Hello Group, can anyone explain the difference between WakeupOnActivation or WakeupOnViewPlatformEntry and what is best used ? Thanks, Andreas === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of t