[JAVA3D] View point

2000-03-30 Thread Nicolas Trichaud
Hello, I'm working on a 3D visualization of dynamics data and I'm fighting against a viewing problem: To each visual component corresponds a view point (which moves with it)... and I'm not able to catch the structure of the view part of J3D! Does anybody have some tip?

[JAVA3D] Need an approach to writing an overlay to the Canvas3D

2000-03-30 Thread Williams, Christopher
I am trying to draw some text as an overlay on the Canvas3D. I have the Canvas3D in a JFrame and was hoping to use the glass pane. But I wasn't able to get that to work and I think it has to deal with the heavyweight/lightweight problem. I added a drawString call to the postSwap but this caused

Re: [JAVA3D] Clipping Plane problem?

2000-03-30 Thread pieter
I'm working on exactly the same. And had the same problem. The problem is the z-buffer, it uses a floating-point format. The physical distance between succeeding z-buffer indices increases greatly as you go further from the origin. So triangles that are quite close to eachother, but far from the

Re: [JAVA3D] Lose the radians

2000-03-30 Thread Pondrom, Pierre L
I would like, if you permit me, have the last say in this discussion. As my little sister told me one day after complaining about a monumental problem with the world, she said, "Deal with it". > -- > From: Tim Bray[SMTP:[EMAIL PROTECTED]] > Reply To: Discussion list for Java 3

Re: [JAVA3D] opengl and directx

2000-03-30 Thread Vladimir Olenin
Yes, that's true, but u don't have to reinstall Java3D every time u need another version. Java3D doesn't put anything significant in registry (the most significant line is the path to .isu file in Uninstall section of the registry), that's i can say 4 sure. So, i created very simple .bat files to

Re: [JAVA3D] Packaging a 3D applet/application

2000-03-30 Thread Vladimir Olenin
Forget about running your Lightwave enabled program as an applet, since currently URL loading of lightwave files is not implemented yet (at least it hasn't been in J3D 1.1.x versions). I posted quite a big issue on this topic some time ago. But generally speaking, if u r using smth that can be cur

Re: [JAVA3D] Need an approach to writing an overlay to the Canvas3D

2000-03-30 Thread Pondrom, Pierre L
Wouldn't the Billboard object solve the problem? > -- > From: Williams, > Christopher[SMTP:[EMAIL PROTECTED]] > Reply To: Discussion list for Java 3D API > Sent: Thursday, March 30, 2000 7:42 AM > To: [EMAIL PROTECTED] > Subject: [JAVA3D] Need an approach to wr

Re: [JAVA3D] Clipping Plane problem?

2000-03-30 Thread Doug Gehringer
> From: "Kraemer, Max, CTR" <[EMAIL PROTECTED]> > Subject: [JAVA3D] Clipping Plane problem? > > I'm working on a 3D display of the Earth. I'm trying to draw everything to > scale, so the Earth should have a diameter of about 12 million meters. I > set my clipping planes in my view object. My f

[JAVA3D] Curious: setWindowResizePolicy

2000-03-30 Thread Neil Daniels
I'm curious - Has anyone found a solution to the "setWindowResizePolicy(View.VIRTUAL_WORLD)" problem (i.e., it doesn't work - objects resize as window is enlarged, rather than staying the same size...)?? Or, does anyone know if this will be fixed in the upcoming release? Neil =

Re: [JAVA3D] Need an approach to writing an overlay to the Canvas3D

2000-03-30 Thread Marvin Chase
I haven't looked deep into this class yet, but you might try using the J3DGraphics2D class in Java 3D 1.2 Beta1. It subclasses Graphics2D to provide 2D rendering to a Canvas3D. You can read about it in the API docs. canvas3d.getGraphics2D() returns the a J3DGraphics2D object which then allows yo

[JAVA3D] RotationInterpolator

2000-03-30 Thread Nicolas Thiessen
Hi, i'm trying to use the RotationInterpolator to rotate a scene, but i'm having trouble setting the rotational axis. It doesn't behave the way i thought it would. Could some one please explain how i set the AxisAngle to rotate around differing axis properly? the documentation doesn't say much

Re: [JAVA3D] RotationInterpolator

2000-03-30 Thread Pondrom, Pierre L
If your are using a SimpleUniverse, the viewpoint is on the Z axis, a few meters from the X-Y origin. This is a right-handed system, so you are looking at X axis + to the right, and Y axis + going vertical. Most examples show you how to rotated about the Y axis. If you do, then your objects will

Re: [JAVA3D] RotationInterpolator

2000-03-30 Thread Daniel del Río
Hi Nicolas, RotationInterpolator generates a rotation transform about the local Y-axis. If you want rotate about another axis, you need to change the axisOfRotation in the constructor. Suppose you need to rotate about the X-axis, then the Transform3D "axisOfRotation" should make a rotation to alig

Re: [JAVA3D] Curious: setWindowResizePolicy

2000-03-30 Thread Julian
>> Has anyone found a solution to the >> "setWindowResizePolicy(View.VIRTUAL_WORLD)" problem >> (i.e., it doesn't work - objects resize as window is enlarged, >> rather than staying the same size...)?? here is a workaround: you can replace the projection transformation with one that takes into ac

[JAVA3D] UserData bug ?

2000-03-30 Thread Carlos Proal
Hi all, i dont know if this is a bug. i developed my application on linux using java 1.2.2rc4 and j3d1.1.1 because 1.1.3 shown some known errors. Everything runs fine on this platform. Today i tried to run the same applicacion on windows using jdk1.3 rc2 and j3d1.2 beta 1, unexpectly when its do

Re: [JAVA3D] UserData bug ?

2000-03-30 Thread Kelvin Chung
Hi Carlos, Can you please send us a test program for it ? We would like to investigate the cause for this. Thanks. - Kelvin - Java 3D Team Sun Microsystems Inc. >X-Originating-IP: [140.148.1.196] >Mime-Version: 1.0 >Date: Thu, 30 Mar 2000 18:52:49 PST >From: Carlos Proal <

[JAVA3D] Adding Appearance to BranchGroup

2000-03-30 Thread Jonathan Singer
Hello All, I am using the ncsa loaders to load various 3D objects into a Universe. So far I am able to extract the BranchGroup from the loader's Scene and manipulate the position, scale, and rotation of the 3D object. However, I would also like to change the object's Material and Appearance. Af

Re: [JAVA3D] View point

2000-03-30 Thread william legendre
signoff JAVA3D-INTEREST w. legendre -- "truth is no more nor less than what one feels at each instant in the perpetual climax of the present." begin: vcard fn: william legendre n: legendre;william org:deacon blue's obviously odd productions. ltd. em