[JAVA3D] Particle animations

2000-06-16 Thread Mark Fleharty
Hello, I have a Java class which spits out X, Y, Z positions of particles at each time step. Does anyone know where I could pick up a simple piece of code which takes X,Y,Z positions and draws spheres and changes at each time step. I looked through the demos that came with Java3d. I'm quite co

Re: [JAVA3D] Reducing CPU-Load with postSwap

2000-06-16 Thread Shawn Kendall
We have tried this technique in many ways this since Java3D 1.1.2. But there are some hidden problems. First, on Win9x and NT, System.currentTimeMillis() does not have that good of accuracy. For example, if you were to print out System.currentTimeMillis() in a loop, the values will jump at appro

[JAVA3D] Reducing CPU-Load with postSwap

2000-06-16 Thread Markus Junginger
The Java3D Render Thread uses 100% of the CPU to maximize the frame rate. But for the human eye it doesn't make a big difference if it's 25fps or 100fps. The CPU-Power is often needed for other calculations. So what do you think of my suggestion of overriding the postSwap method of Canvas3D like t

Re: [JAVA3D] ImageComponent2D by reference does not work with immediate mode?

2000-06-16 Thread Uma Sabada
Dave: You have uncovered 2 bugs in Java3D and both of which will be fixed in 1.2.1 beta. Bug1: TYPE_3BYTE_BGR does make a copy on windows, the way to avoid copy on windows is to use TYPE_CUSTOM Bug2: ByReference texture and raster does not work with immediate mode

[JAVA3D] Newbie config. question...

2000-06-16 Thread Bart Sunseri
I tried to install Java3D v1.2 with jdk1.3 on my NT 4.0 system and am having problems running the HelloUniverse example. At first I saw the following message: D:\apps\j3d1.2sdk\demo\java3d\HelloUniverse>java HelloUniverse Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/j3d

[JAVA3D] 1.2 antialiasing gone?

2000-06-16 Thread McCall, Jonathon D
I have just installed java3d 1.2 on both Sun and NT machines and the antialiasing for the points and lines has disappeared. When it is enabled, the point and lines become thicker, but not blended. It is as if the GL_BLEND is not enabled. I have tried both java sdk 1.2.2 and 1.3, with o

Re: [JAVA3D] Canvas Capture

2000-06-16 Thread Barry Walsh
There is a RecordingCanvas3D class in NCSA Portfolio. Info on where to find it is posted periodically, so check the archive. You can use it to capture canvas images. There is also a free software called "Smacker", which you can use to put these images together into a .avi file. The visual quality

Re: [JAVA3D] Canvas Capture

2000-06-16 Thread John R.
Is there any way to draw an arrow, with the head and tail points known as Point3d's ? In 2d this is fairly simple, but in 3d I'm a tad lost as to how to aim the diagonals properly. Any help would be appreciated. John R. =

[JAVA3D] Canvas Capture

2000-06-16 Thread Malguy, Eric G.
Hi All, I have a canvas updated every 10 seconds and would like to save the content into a file format to create some type of movie file. Is there a way to do such a thing? Can I capture a canvas content and save it in a file to make an avi? Thanks for your help Eric

[JAVA3D] picking on 1.2

2000-06-16 Thread Carlos Proal
Hi everybody i had my application running fine under j3d1.2 but when i run it as applet in solaris i can see that picking fails. I m trying to update those deprecated (1.1.3-1.2) methods for test a compare if it is the problem.it can be ? i had a behavior extending behaviors.picking.PickMouseBe

[JAVA3D] Another j3d 1.1.3 -> j3d 1.2 issue

2000-06-16 Thread Kasparian, Raffi J.
In my ongoing quest to reconcile a previously working Java3D1.1.3 program with Java3D1.2, I have discovered that the following process has been broken by the upgrade. I have a class that extends BranchGroup and is a fairly complex sceneGraph with a PathInterpolator, TransformGroups, other BranchG

[JAVA3D] Problem getting BranchGroup Bounds

2000-06-16 Thread Mohammed Akacem
I am trying to read a BranchGroup Bounds at run time in vain. I set the ALLOW_BOUNDS_READ of this BG but I still get the following error Message. Exception occurred during event dispatching: javax.media.j3d.CapabilityNotSetException: Node: no capability to read user bounds at javax.media.

[JAVA3D] stencil

2000-06-16 Thread Falk Dobermann
Hi,   is there a way to use a stencil buffer to mask out certain parts of the drawing area under Java3D? Before you suggest to use the z-buffer - it must be used for depths testing.   Thanks Falk  

Re: [JAVA3D] LineArray and Arrows

2000-06-16 Thread John R.
=>I'm using a LineArray to create a Shape3D containing 3 lines. =>(an arrow all togeather.) Pardon me. My math for selecting endpoints is entirely wrong. I'll go get another cup of coffee. John R. === To unsubscribe, send

[JAVA3D] LineArray and Arrows

2000-06-16 Thread John R.
I'm using a LineArray to create a Shape3D containing 3 lines. (an arrow all togeather.) I'm having trouble getting all 3 lines to appear. What information is actually stored in a LineArray declared like this? theLine = new LineArray(12,GeometryArray.COORDINATES); Also, if I do this: theLine.setC

[JAVA3D] Problem with picking & pickray

2000-06-16 Thread François Savard
Hi, I have a behavior class that trap the MOUSE_PRESSED event and determine if an object had been picked. It also implement a mouse zoom, translate and rotate on the main TransformGroup. The class work well but when I zoom too near from an object, I can't pick it anymore (it happen about 20(m?)fro

[JAVA3D] PointSound HELP!

2000-06-16 Thread J. Lee Dixon
Okay, I must be losing it. Using PointSound seems very simple, but I cannot get the sound to eminate from anywhere but the origin (0,0,0). I place the sound at (75,0,0), and set an attenuation curve that makes it so that you must be within 5 units to hear the noise. But no matter how I change t

Re: [JAVA3D] bug 4295524 - jmenu causes frame to flash

2000-06-16 Thread Christopher Collins
I have the same flashing problem with the JMenu. It has not been fixed in J3D release 1.2. I haven't tried to replace it with an awt Menu, but I will. Christoper Collins Oceanic Consulting / Marineering Ltd. -Original Message- From: Tiziana Cimoli [mailto:[EMAIL PROTECTED]] Sent: Frida

Re: [JAVA3D] How to slow down keyboard nav?

2000-06-16 Thread Jeff Roberts
Hi, expand java3d-utils-src.jar (jar -xvf java3d-utils-src.jar) and modify the KeyNavigator. rgds JR -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Thomas Björge Sent: Thursday, June 15, 2000 8:21 PM To: [EMAIL PROTECTED] Subject: [JAVA3D

[JAVA3D] Detecting the Picked Face of a Box ( bug? )

2000-06-16 Thread Víctor
Hi all: We are trying to detect the selected face of a box by using PickCanvas and PickResult. But getNode(PickResult.SHAPE3D) return wrong information. It return BACK face when FRONT was expected. Is this a bug? How can we detect selected face box? PRISMAKER TEAM =

[JAVA3D] NURBS rendering in Java3D

2000-06-16 Thread Anirban Bhadore
Hi All,   Presently Java3D does not support NURBS surfaces as geometry. I want to handle NURBS surfaces in a Java3D Viewer, how do I handle picking and other stuff ( which are supported by Java3D on facets )?   What I tried was writing a class of my own extended from javax.media.j3d.Canvas3D

Re: [JAVA3D] bug 4295524 - jmenu causes frame to flash

2000-06-16 Thread Tiziana Cimoli
It happens to me too, but i use j3D 1.1.3 for Linux and i do not know if it happens also with j3D 1.2. I turned around the problem using awt Menu, which works well. Tiziana Cimoli Thomas McKay wrote: > Likely off topic... my apologies. > > There is a bug, > http://developer.java.sun.com/develo