[JAVA3D]

2001-02-05 Thread alvaro zabala
Hi! I have a problem with Java3D, and I hope someone could help me. I´ve made a class which extends from Canvas3D, to allowing tasks like save actions in methods postRender or postSwap. The problem is that Canvas3D is continously repainted, so it´s consume 100% of CPU. Does someone Know the re

Re: [JAVA3D] SharedGroups and OrientedShape3Ds and Java 3D 1.2.1 beta 2

2001-02-05 Thread Ingo Brunberg
I have exactly the same problem. Regards, Ingo > Can we no longer put OrientedShape3Ds into SharedGroups? > > I had this running under the Java 3D 1.2 (release). But now I get: > java.lang.NullPointerException > > at > javax.media.j3d.NodeRetained.getCurrentLocalToVworld(NodeRetained.ja

[JAVA3D] Measuring Performance

2001-02-05 Thread Karsten Fries
Hi there, i'm aiming on a constant performance on various systems. some with acceleration some without. is there a possibility to inquire the speed capabilities for the rendering. let's say at least a flag telling me whether the current machine has acceleration or not??? Cheers, Karsten =

[JAVA3D] Picking problems

2001-02-05 Thread Karsten Fries
Hi all, i have a tiny problem with picking. Almost everything is fine. But i get a strange behavior using PickCanvas of the utilities calling its pickClosest() method. The intersections i get are still ok, but my interest lies in the picked node. And it appears to me that in all cases never th

Re: [JAVA3D] Picking problems

2001-02-05 Thread Dvorak, Daniel J.
I'm using multiple geometries in the same Shape3d, and was getting the same results you mention (farthest object always got picked). Others posted the solution to this problem on this list. Here's what I use: pickCanvas.setShapeLocation(currentEvent); // get the starting positi

Re: [JAVA3D]

2001-02-05 Thread J. Lee Dixon
By default, Java3D is a real-time renderer, continually updating if you have any Behaviors in your program which may be changing the scene. See "View.setMinimumFrameCycleTime()". This function will put some delay between frames if your machine is fast enough. -Lee > -Original Message-

Re: [JAVA3D] Measuring Performance

2001-02-05 Thread J. Lee Dixon
Don't know about a flag, but you could measure the frame rate. See "View.getFrameStartTimes()". You should be able to use this to compute the frame rate. You could also set the frame rate using "View.setMinimumFrameCycleTime()". -Lee > -Original Message- > From: Karsten Fries [mailto:

[JAVA3D] NCSA RecordableCanvas3D

2001-02-05 Thread Illarramendi Amilibia, Aitor
Title: NCSA RecordableCanvas3D Hello everybody:     I'm using NCSA's Portfolio RecordableCanvas3D instead of Canvas3D. When I display my application and I interact with te canvas I receive several "canvas = ncsa.j3d.ui.record.RecordableCanvas3D[canvas0,8,25,400x285]" System.out messages

Re: [JAVA3D] Picking problems

2001-02-05 Thread Josh Richmond
Hi Karsten and Daniel, I found the same problem as well. Is this a bug with PickCanvas? I also found that the code snippet Daniel suggests does not always return the closest intersection (although theoretically it should). I've found that the following loop always returns the nearest intersect

Re: [JAVA3D] Picking problems

2001-02-05 Thread Karsten Fries
Thank you Daniel, you saved my day. My problem is a little biot different from yours, because i have not various geometry in one Shape3D node (because you are restricted to the same type of geometry then). I have associated my "abstract objects" with the Shape3Ds i use, by using the setUserData()

[JAVA3D] Clipping of an object.

2001-02-05 Thread Zak
I am trying to zoom in on an object yet whenever I get to close, i actually go through the object. Is there anyway that I can stop the zoom or something to stop form me going through the object.   thanks   Zak

Re: [JAVA3D] Clipping of an object.

2001-02-05 Thread Josh Richmond
Hi Zak, You need to set the Front clipping plane to be nearer: View.setFrontClipDistance(double) The Java3D tutorial (http://java.sun.com/products/java-media/3D/collateral/) discusses how clipping planes work. josh >>> [EMAIL PROTECTED] 02/05/01 09:44AM >>> I am trying to zoom in on an objec

Re: [JAVA3D] Clipping of an object.

2001-02-05 Thread John Wright
Zak, Do you want to *stop* before you go through the object? (collision detection) Or do you want to reduce the front clipping (so you don't see through the object while you are still in front of it)? - John Wright Starfire Research > Zak wrote: > > I am trying to zoom in on an object yet whene

Re: [JAVA3D] Clipping of an object.

2001-02-05 Thread Zak
Thank you for the response, I want to be able to go pretty close to the object, yet not to go through it at all. I have set the front clip distance to be very close, but if I set it too close it seems to mess up the other objects in the scene. Zak - Original Message - From: "John Wright

[JAVA3D] Exports from Studio Max & Poser 4 ----> Java3D & the Networked 3d Web

2001-02-05 Thread P Flavin
Avatars can be exported from : - Studio Max ( the Bi-Ped Characters ) - Poser 4 ( with serious flaws ? ) - Spazz3d and animated interactively on the Web, and with Java3d. | I have a simple model created in 3D Studio Max. | I want to output VRML and manipulate the various | componen

[JAVA3D] Text3D point size

2001-02-05 Thread Glenn Rowe
Hi - I've been experimenting with Text3D and have a question... When creating the Font3D the first argument is a standard java.awt Font object, within which a point size is specified. How does this point size translate into the distance units used in Java 3D? It looks as though the point unit is

Re: [JAVA3D] Clipping of an object.

2001-02-05 Thread John Wright
Zak, that is correct. If your video card is providing a 16 bit Z-Buffer then you must keep the ratio between front and back clipping to a reasonable ratio (3000 to 1 or less), for our application we decided we had to just live with some corruption in the distance in order to set the front clippin

Re: [JAVA3D]

2001-02-05 Thread alvaro zabala
Thanks, but I think that this is not the reason. I´ve three behaviors (mouserotator,translator y zoom) in a program where I didn´t extends de Canvas3D , (instead I used the same Canvas3D) and the CPU wasn´t working at 100%. It was at 100% only when the view was changed. Can anyone help me?

Re: [JAVA3D] Clipping of an object.

2001-02-05 Thread Alan D Workman
Hello, I have a question regarding the ratio (3000 to 1) of front to back clipping distance for 16 bit Z-Buffers. The video card I'm currently using provides a 32 bit Z-buffer. I'm curious as to whether I'm able to increase that ratio or does the ratio of 3000 to 1 still need to hold true no ma

[JAVA3D] QuadArray class

2001-02-05 Thread Monique Jeger
Hi everybody, I'd like to map a different texture on each face of a cube. To my disposal I have the 8 cube's vertices v1, ... ,v8 and I define the 6 faces of the cube with an array of 6 time 4 = 24 Point3f, I also have 6 different texture objects. To do that I'd like to use the the folloing const

Re: [JAVA3D] Unable to extends RotationInterporlator like extending Behavior class

2001-02-05 Thread Paul Byrne
Hi Raymond, Your constructor should be... >public class objTurn extends RotationInterpolator{ >objTurn(Alpha alpha, TransformGroup targetTG){ super( alpha, targetTG ); > this.alpha=alpha; > this.targetTG=targetTG; >} >} Your original constructor did not have a call to

Re: [JAVA3D] QuadArray class

2001-02-05 Thread Doug Gehringer
> From: Monique Jeger <[EMAIL PROTECTED]> > Subject: [JAVA3D] QuadArray class > > I'd like to map a different texture on each face of a cube. To my disposal I > have > the 8 cube's vertices v1, ... ,v8 and I define the 6 faces of the cube with > an > array of 6 time 4 = 24 Point3f, I also have 6

Re: [JAVA3D] QuadArray class

2001-02-05 Thread John Wright
Monique, Combine your six textures into a single texture (simplest is probable a horizontal row/rectangle with each one sitting next to the previous one) and then set your u,v (s,t in Java terminology) coordinates appropriately to pick the right section of the texture for each face. I'm assuming

Re: [JAVA3D] physical engine?

2001-02-05 Thread Syrus Mesdaghi
Hi Alex, Unfortunately I don't have any java sample code handy, but I had written a small cpp class that would align an object with the poly that it collides with. In order to "groundClamp" without any sudden changes of the model's orientation when you drive across polygons, you would need 3 do

Re: [JAVA3D] Clipping of an object.

2001-02-05 Thread Doug Gehringer
> From: Alan D Workman <[EMAIL PROTECTED]> > > I have a question regarding the ratio (3000 to 1) of front to back clipping > distance for 16 bit Z-Buffers. The video card I'm currently using provides > a 32 bit Z-buffer. I'm curious as to whether I'm able to increase that > ratio or does the rati

Re: [JAVA3D] SharedGroups and OrientedShape3Ds and Java 3D 1.2.1 beta 2

2001-02-05 Thread Kelvin Chung
Hi, We can reproduce this and bug 4411851 - OrientedShape3D fail to add under SharedGroup is filed for investigation. Thanks for your bug report. - Kelvin - Java 3D Team Sun Microsystems Inc. >X-Accept-Language: en >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >Date: Sa

[JAVA3D] picktool

2001-02-05 Thread UNG Leng
Hi everybody,   I have a little problem with the PickTool... Well, i am using my picktool with setShapeCylinder. So first, it look to work pretty good, it return me a result that i can get the distance... but when i am picking the same object with another angle it return me a result, but wit

Re: [JAVA3D]

2001-02-05 Thread Kelvin Chung
Hi Alvaro, If your scene graph has active WakeupOnElapsedFrame() then the Java3D will render it continously. /** * Constructs a WakeupOnElapsedFrames criterion. * * @param frameCount the number of frames that Java 3D should draw * before awakening this behavior obje

[JAVA3D] [reposting] Memory management of shapes

2001-02-05 Thread Yazel, David J.
Never got a response on this, so I am reposting > How have people dealt with the need to attach and detach branch groups > without causing memory issues? I am not detecting any leaking, but I > could > be missing it. But my memory runtime increases steadily up to 200mb over > a > 20 minute run

[JAVA3D] ATI RADEON press release

2001-02-05 Thread Fred Klingener
>From time to time on this list, there's interest in 3D on portables. Here's ATI's press release on the MOBILITY RADEON chip. http://www.ati.com/na/pages/corporate/press/2001/4359.html Cheers, Fred Klingener No, I don't have any interest in any of this except to see 3D flourish on portables.

Re: [JAVA3D] ATI RADEON press release

2001-02-05 Thread John Wright
Hopefully it will be an improvement over their previous pseudo "3D" laptop chipsets. Unfortunately that press release indicates 8 MB of memory. We are rapidly approaching desktop machines commonly having 32 MB or more of video memory. And for the work we are doing with lots of textures that memo

Re: [JAVA3D] ATI RADEON press release

2001-02-05 Thread Steve Pietrowicz
Their "old" version, the ATI Rage Mobility pro, will run Java 3D apps. I use that on my laptop. As John pointed out, you can't really do anything with a *lot* of textures, but it will work. (Everquest works well on these things, for example). Toshiba announced a laptop with the GeForce 2 last

Re: [JAVA3D] [reposting] Memory management of shapes

2001-02-05 Thread Doug Gehringer
> From: "Yazel, David J." <[EMAIL PROTECTED]> > > How have people dealt with the need to attach and detach branch groups > > without causing memory issues? I am not detecting any leaking, but I > > could > > be missing it. But my memory runtime increases steadily up to 200mb over > > a > > 20

Re: [JAVA3D] Performance of AlternateAppearance

2001-02-05 Thread Charmaine Lee
Uma is having problem posting message to the alias. Here is her response to the AlternateAppearance question: The original intent of AlternateAppearance is to use it for highlight - such as in response to an user action. Alternate appearance is not designed to dynamically set the appearance at

[JAVA3D] Java3D 1.2.1 Beta 2 Document

2001-02-05 Thread HENG,VEASNA (HP-Corvallis,ex1)
Hello Java3D Team, I am wondering if you have had the chance to update your website to include the Java3D 1.2.1 Beta 2 documentation. I went there and you still have the 1.2.1 Beta 1 documentation. Can you let me know when will you be able to make available the beta 2 documentation? Many thanks

[JAVA3D] Documentation for Java3D 1.2.1 Beta 2

2001-02-05 Thread Veasna Heng
Hello Java3D Team, I am wondering if you have had the chance to update your website to include the Java3D 1.2.1 Beta 2 documentation. I went there and you still have the 1.2.1 Beta 1 documentation. Can you let me know when will you be able to make available the beta 2 documentation? Many than

[JAVA3D] WakeUpOnCollisionEntry/Exit/Move...

2001-02-05 Thread Nicolas Burtin
Hello guys. Here is the usual problem with collision detection: a box (representing a wall) has a behavior attached (WakeUpOnCollisionEntry...); a Sphere has another one with same WakeUpOn... types, but has warned in some documentations, the WakeUpOnCollisionEntry is often not detected (the s

Re: [JAVA3D] Documentation for Java3D 1.2.1 Beta 2

2001-02-05 Thread Dan Petersen
> Date: Mon, 5 Feb 2001 16:03:31 -0800 > From: Veasna Heng <[EMAIL PROTECTED]> > Subject: [JAVA3D] Documentation for Java3D 1.2.1 Beta 2 > To: [EMAIL PROTECTED] > > Hello Java3D Team, > > I am wondering if you have had the chance to update your website to include the Java3D 1.2.1 Beta 2 documentat

[JAVA3D] AccessControlException using JDK1.3.0_01 and Java3D

2001-02-05 Thread Jack Pien
hi,   i was wondering if anyone is using JDK1.3.0_01 and Java3D-sdk.  an AccessControlException gets triggered whenever the line   SimpleUniverse.getPreferredConfiguration()   is called (and the Control Panel indicates that it's using the JVM from the jdk1.3 directory).  the violation doesn't

Re: [JAVA3D] AccessControlException using JDK1.3.0_01 and Java3D

2001-02-05 Thread Kelvin Chung
Hi Jack, Yes, it occurs when Java plugin 1.3.0_01 control panel set runtime environment to use JDK v1.3. (instead of v1.3.0_01) Setting it to match version 1.3.0_01 should solve the problem. Note that the AccessControlException occurs when Java3D try to set thread priority. - Kelvin -

[JAVA3D]

2001-02-05 Thread John Jackson
does anyone know where I can get the vrml.jar file and how I would add the packages to jdk.

Re: [JAVA3D]

2001-02-05 Thread Ahmed Shakil
http://www.j3d.org/utilities/loaders.html -Original Message-From: John Jackson [mailto:[EMAIL PROTECTED]]Sent: Monday, February 05, 2001 8:56 PMTo: [EMAIL PROTECTED]Subject: [JAVA3D] does anyone know where I can get the vrml.jar file and how I would add the packages to jdk.