[JAVA3D] Question about LOD implementation

2000-12-07 Thread Xiaolon Zhang
Hi there, I am trying to do some LOD stuff, but met a problem. I know the idea of LOD, and read the LOD demo code. However, I still couldn't figure out how to just render the selected geometry while hiding others. I cannot find a way to disenable one geometry. Can someone give me a hint? Source

[JAVA3D] Bug in Java3D 1.2.1beta1

2000-12-07 Thread Shawn Kendall
Here is a dump from a new crash in the OpenGL version of Java3D 1.2.1beta1 I was running our run-time "Humid". Same world that I set to the Java3D team. Email me if you need more info. java.lang.IndexOutOfBoundsException: Index: -1, Size: 101 at java.util.ArrayList.RangeCheck(ArrayList.j

Re: [JAVA3D] Retrieving angle from Transform3D Object

2000-12-07 Thread Fred Klingener
Cyrille, Someting like this should work: public double getAngle(Transform3D t){ Quat4d q = new Quat4d(); t.get(q); //and then, the easy (if not very cheap) way of getting the angle is AxisAngle4d a = new AxisAngle4d(); a.set(q); return a.angle; } Anyone have t

Re: [JAVA3D] 1.2.1 D3D error

2000-12-07 Thread Kelvin Chung
Hi Shawn, If you see the message, "Failed to create 3d device 887602ea" the swap buffer error will display (only if -Dj3d.debug=true is used) since context fail to create. You'll not see this message if debug mode is not used. We've try GeForce 256 under both windows98 and window

Re: [JAVA3D] 1.2.1 D3D error

2000-12-07 Thread Shawn Kendall
I am getting this error now too. Also, it prints out this every frame. Buffer swap error DDERR_LOCKEDSURFACES I'm running the Else GLADIAC GeForce2 Ultra, Deto 3 drivers with DirectX8.0. Any ideas? Did you guys ever figure this one out. Kelvin Chung wrote: > Hi Dave, > >This happens whe

[JAVA3D] PositionInterpolator

2000-12-07 Thread Mark Beckman
Hi folks... In my application, I want to use a PositionInterpolator to move an object around. Here is the scenario: A) The object is located at (35, 55, 45). B) I want to move it to (5, 55, 45) over a period of 5 seconds. C) What actually happens is the object "jumps" to (5, 0, 0). D) Here

Re: [JAVA3D] Directional lights in Java3D

2000-12-07 Thread Tom Nelson
Update your graphics drivers. I just updated mine to fix that very same problem. Tom Luis Villablanca wrote: > Hi there, > > I was trying out a simple example where I build a cube > and add two directional in front. > > > I noticed that while the front left side of the box is correctly lit, the

Re: [JAVA3D] Big Emails and Sending 760k of stuff to the group!

2000-12-07 Thread Adriano Cavalcanti da Silva
Dear TMC, I think that your suggestion is valid but it is not a good idea. I have belonged to others discussion lists, and I can truly confess that the best way to interactive and fast technological communication is exactly as it is. I would be suggesting such system of discussion list to OpenGL

Re: [JAVA3D] beta 1.2.1 issue?

2000-12-07 Thread Kelvin Chung
Hi Young, Which Java3D version/OS are you using ? A test program would be helpful for us. The following bugs may cause the crash: 4365165 - JVM crashed when similar text is used on both OrientedShape3D and Shape3D. 4390217 - MultiTexture did not work correctly under OGL 4383467 - D3D: crash

[JAVA3D] PositionInterpolator

2000-12-07 Thread Mark Beckman
Hi folks... In my application, I want to use a PositionInterpolator to move an object around. Here is the scenario: A) The object is located at (35, 55, 45). B) I want to move it to (5, 55, 45) over a period of 5 seconds. C) What actually happens is the object "jumps" to (5, 0, 0). D) Here

Re: [JAVA3D] J3D DirectX 1.2.1 problems

2000-12-07 Thread Kelvin Chung
Hi Dixon, As you mention in the mail, both v1.2FCS OpenGL and DirectX version works fine. But v1.2.1 beta1 DirectX version didn't work. Have you try v1.2.1 beta1 OpenGL release ? We would like to know if this problem is specified to the DirectX native layer or not. Also, you may try to turn

[JAVA3D] Big Emails and Sending 760k of stuff to the group!

2000-12-07 Thread Thomas M Clarke
Hello, Just a note some people (like me) have rather poor internet connections and are not sitting behind hi-speed corporate networks and it does take a while for us to download emails that are rather big. Can you not just put it on a web site/server and put the url in the email? Good idea: Why

Re: [JAVA3D] I want to add a button for zoom in or out

2000-12-07 Thread Dvorak, Daniel J.
I effect Zoom by altering the field of view. There's a good post on the subject in the archives. Search for "field of view". Daniel -Original Message- From: Qiu Guojin [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 07, 2000 1:44 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] I want to

[JAVA3D] Some utility code

2000-12-07 Thread Bobby Martin
I've worked up a little library of some of the things that I do frequently with Vectors and Matrices, and I thought that it might help out some other people on the list. This code will extract or set euler angles from a Matrix3d (something I saw someone asking for recently), calculate the angles

[JAVA3D] Triangulator earOrder

2000-12-07 Thread Dvorak, Daniel J.
> I'm trying to specify the earOrder in my Triangulator constructor, to see > if some of my geometry will look better. Is the earOrder argument new to > 1.2.1? I installed the beta, then had to revert to 1.2 and don't know if > my API documentation is correct. Anyhow, I tried to use the earOrde

[JAVA3D] Please Help Me....

2000-12-07 Thread Ravi Goel
Hi all,     I'm new to Java3D programming.Actually i have few Shape3D objects arranged in vertical line as seen in the figure in different colors...On the click on any one the objects and when i drag and drop it over another object i want the selected item to move to the Drop position.   I

[JAVA3D] J3D DirectX 1.2.1 problems

2000-12-07 Thread J. Lee Dixon
I switched over to the current DirectX release of J3D and am having some problems that do not show up in the previous version. Initially, the scene looks fine. After "walking" through my scene and returning to one of the original locations, funny things happen. Specifically, it looks as though l

Re: [JAVA3D] Retrieving angle from Transform3D Object

2000-12-07 Thread Eric Reiss
I put this web site up and no one seems to take advantage of it.  It should answer your questions. Feel free to copy the code. http://www.sigda.org/Eric/java3d/index.htm Follow the link under the heading: "Retrieving Correct Rotation Components from Transform Matrix" At 08:33 AM 12/07/200

Re: [JAVA3D] libraries

2000-12-07 Thread John Wright
Chu, We are starting such a repository on j3d.org. So if you have something to contribute feel free to send it to us. - John Wright Starfire Research j3d.org Support Chu Tan wrote: > > I wonder if there's some website or public libraries that Java3D programmers > can contribute or share their c

Re: [JAVA3D] libraries

2000-12-07 Thread Aubri & James Sandlin
There is j3d.org and java3d.org but nowhere to really share code except open source code web pages for all languages like programmersheaven.com That's an idea... maybe someone can start one. At 12:28 AM 12/7/00 -0700, you wrote: >I wonder if there's some website or public libraries that Java3D pr

[JAVA3D] Directional lights in Java3D

2000-12-07 Thread Luis Villablanca
Hi there, I was trying out a simple example where I build a cube and add two directional in front. I noticed that while the front left side of the box is correctly lit, the right side end is not. If you place a face towards the left light source, then it starts shining, however if you place it

[JAVA3D] Picking problem and normals

2000-12-07 Thread Martin Cadik
Hi, I use the Vrml97 loader to construct my SceneGraph and I need to pick some objects (for intersections - to calculate ray-tracing of the scene). Some nodes are ok (QuadArrays), but some I can't pick (probably Primitive classes). Where's the problem? Second trouble is how to get normal in the i

Re: [JAVA3D]

2000-12-07 Thread Rory Douglas
Hi there   I think if you want to subscribe to the list you better send your subscription command to   [EMAIL PROTECTED]   Your last one rocked up on the list itself.   Have a nice day/night Cheers Rory - Original Message - From: Aubri & James Sandlin To: [EMAIL PROTECT

Re: [JAVA3D] 3D Simulator with Parallel Processing

2000-12-07 Thread Mario Juric
Adriano Cavalcanti da Silva wrote: > Dear Colleagues, > I am trying to conduct one industrial simulation concurrently with the > visualization... and the > synchronization between the simulation state and the correspondent visualization are > even more critical > once both are intended as paralle

Re: [JAVA3D] HOw to use AWT to zoom in or out such as button

2000-12-07 Thread Dipl. Ing. Paul Szawlowski
Instead of scaling the scene i would use View.setFieldOfView( ) for perspective Projection or View.setScreenScale( ) and setScreenScalePolicy( View . SCALE_EXPLICIT ); for orthogonal projection. Add this method calls for example to a ChangeListener of a JSlider or use any other GUI element you li

[JAVA3D] Translation co-ordinate system (newbie question)

2000-12-07 Thread Peter Schuller
Hello, I'm trying to to have an object translated using a PositionInterpolator. But for some reason I am unable to change the direction of the translation. Here is the relevant piece of the code: Transform3D translate = new Transform3D(); Vector3f translationVector = new Vector3f