Re: [JAVA3D] Overlay Library

2001-06-11 Thread Adrian Jon Brown
Hi Dave, Did you have any plans for implementing helper methods for device selection capture inside the overlay? I'm thinking of an application where you might display a map of your 'universe' in the overlay, and move the user to the location they click on in the overlay. Just a thought. Your l

[JAVA3D] Overlaying text and 2D graphics on top of a Canvas3D....

2001-06-11 Thread Jonathan Kelly
Hi everyone, As part of a project I'm working on, I need to overlay some text (and possibly some graphic images) on top of a Canvas3D. The basic idea is to create a 'Heads-Up Display' on top of Java3D generated content. So far, I've tried overriding the Canvas3D paint() method, with no success.

[JAVA3D] java.lang.NullPointerException error

2001-06-11 Thread Mona Wong
Hi: I'm getting the following error and I cannot figure out why: Exception occurred during event dispatching: java.lang.NullPointerException at javax.media.j3d.GeometryArrayRetained.setCoordinates(GeometryArrayRetained.java: 2680) at javax.media.j3d.GeometryArray.setCoord

Re: [JAVA3D] Overlay Library

2001-06-11 Thread Leyland Needham
> > 2. Overlay is implemented using textured quads. > > Why have you choosen quads instead of rasters ? I used texture quads on a project I was working on some time ago, although it was not as feature rich as the one David is talking about. But why use rasters? I havent worked with them before,

Re: [JAVA3D] Overlay Library: Implemented

2001-06-11 Thread Blaine Alex Bell
Woops, forgot to put this test file with my last message. This program is a simple example of how you can use the OverlayGroup. (simple modification of HelloUniverse). B On Mon, 11 Jun 2001, Blaine Alex Bell wrote: > Here is the Overlay Library that I have implemented. I have tried > minimizi

[JAVA3D] Overlay Library: Implemented

2001-06-11 Thread Blaine Alex Bell
Here is the Overlay Library that I have implemented. I have tried minimizing this implementation so it can be as flexible as possible. Two classes exist, both in the package edu.columbia.cs.cgui.j3d: FixedCanvas3D and OverlayGroup. FixedCanvas3D is interchangeable with Canvas3D, and NEEDS to be us

[JAVA3D] Non-OGL Support for Texture By Reference

2001-06-11 Thread Mark Ferneau
Everything I've read about using texture by reference indicates what to do for Solaris OpenGL and Win32 OpenGL. How about other platforms: Direct3D Linux / Blackdown JVM/J3D --Mark Mark Ferneau240-462-6262 (cell) Director of Adv. Technology 801-437-4608 (efax)

Re: [JAVA3D] readRaster when to call?

2001-06-11 Thread Kelvin Chung
>Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Date: Mon, 11 Jun 2001 21:10:56 +0200 >From: Joachim Diepstraten <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] readRaster when to call? >To: [EMAIL PROTECTED] > >Ehlo > >Not only that the speedup is tremendously. And another thing >is odd the light

Re: [JAVA3D] Overlay Library

2001-06-11 Thread Artur Biesiadowski
"Yazel, David J." wrote: > 17. No plans to implement resize because of the issus involved in rebuilding > the sub-textures. Would be easier to just make a new one. We might support > use of model-clips to clip in from a maximum size. I was trying to do overlay system some time ago and failed.

Re: [JAVA3D] readRaster when to call?

2001-06-11 Thread Kyle McDonald
Hmm... Maybe your card uses the Zbuffer as an integer, and you are trying to interpret it as a float?? Just a guess. -Kyle -- _ ---ooO( )Ooo--- Kyle J. McDonald

Re: [JAVA3D] Overlay Library

2001-06-11 Thread Artur Biesiadowski
"Yazel, David J." wrote: > 2. Overlay is implemented using textured quads. Why have you choosen quads instead of rasters ? Artur === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "

Re: [JAVA3D] readRaster when to call?

2001-06-11 Thread Joachim Diepstraten
Ehlo Not only that the speedup is tremendously. And another thing is odd the lighting of the scene is suddenly differnt. It's the exact opposite as in D3D! As if the normals or the light source is suddenly facing in the opposite direction. I think I better stay away from the D3D interface in the

Re: [JAVA3D] readRaster when to call?

2001-06-11 Thread Kelvin Chung
Hi Joachim, Bug 4468363 - D3D: Raster getDepthCompoent did not return [0..1] range for DepthComponentFloat is submit for this. This happen in DirectX version which we should manually divide the z buffer content get back from depth buffer by depth buffer depth value. (Unlike OGL which do th

Re: [JAVA3D] readRaster when to call?

2001-06-11 Thread Joachim Diepstraten
Ehlo Yep it's definitly connected to the interface. I switched from Direct3d to OpenGL and now I get values between 0.0-1.0. So it seems to me that this is actually a bug in the D3D Interface EOF, J.D. -- Jmark2k+1 (http://www.antiflash.net/jmark) Test the performance of your PC online! =

Re: [JAVA3D] java3d, javawebstart, and javaOne?

2001-06-11 Thread Paul Pantera
> Date: Fri, 8 Jun 2001 14:44:54 -0400 > From: Jean Laleuf <[EMAIL PROTECTED]> > Subject: [JAVA3D] java3d, javawebstart, and javaOne? > To: [EMAIL PROTECTED] > > A little while ago it was suggested that the j3d team might take advantage > of JavaOne to re-release j3d in a JavaWebStart module. Is t

Re: [JAVA3D] readRaster when to call?

2001-06-11 Thread Joachim Diepstraten
Hi On Mon, 11 Jun 2001, Yazel, David J. wrote: > I always get 0..1 back. Well I don't :(. Maybe a driver/interface problem? I get 1.6777215E7 instead of 1.0 EOF, J.D. -- Jmark2k+1 (http://www.antiflash.net/jmark) Test the performance of your PC online! ==

Re: [JAVA3D] readRaster when to call?

2001-06-11 Thread Yazel, David J.
I always get 0..1 back. -Original Message- From: Joachim Diepstraten [mailto:[EMAIL PROTECTED]] Sent: Monday, June 11, 2001 2:40 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] readRaster when to call? Ehlo Hmm after checking the documentation again. The values should actually lie betwe

Re: [JAVA3D] readRaster when to call?

2001-06-11 Thread Joachim Diepstraten
Ehlo Hmm after checking the documentation again. The values should actually lie between [0,1] with a DepthComponentFloat but they don't. They lie between 0 and 2^24-1. Is this a bug, or am I doing something wrong? EOF, J.D. -- Jmark2k+1 (http://www.antiflash.net/jmark) Test the performance of

[JAVA3D] Overlay Library

2001-06-11 Thread Yazel, David J.
We have started working on an overlay library for java3d. I know this is something that might be of interest to all of you. Initial tests are proving very favorable. We are seeing speeds which rival video textures, which means limited by texture transfer time. We will be releasing the code when

Re: [JAVA3D] flickering cursor

2001-06-11 Thread Kelvin Chung
>Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Date: Mon, 11 Jun 2001 15:20:48 +0800 >From: Xiang Xu <[EMAIL PROTECTED]> >Subject: [JAVA3D] flickering cursor >To: [EMAIL PROTECTED] > >Hi, > >When I point my cursor to the Applet, the cursor always flickers. Anyone who >know how to solve this

[JAVA3D] Mouse and Key Behaviors

2001-06-11 Thread Daniel Balaguer Yagan
hi there to all, I'm just wondering. With regards to system performance, which one is better, adding a Behavior class (this behavior only uses, say, mouse and keyboard inputs) or implementing the java.awt.event.MouseListener/MouseMotionListener/KeyListener? What are the advantages/disadvan

Re: [JAVA3D] flickering cursor

2001-06-11 Thread Magnus Olofsson
My cursor behaves in the same way under Win2000. I have also noticed the rendering is slowed down considerably. If the mouse is used to rotate the scene when dragged, the speed increases dramatically if the dragging continues outside of the internal frame where the Canvas3D is placed. Is there an

Re: [JAVA3D] flickering cursor

2001-06-11 Thread Alvaro Zabala
We get the same effect with Windows2000 when a behavior consumes 100% (it wakeups with a wakeUpOnElapsedFrames(0) condition)of the CPU. If this is your problem, you must modify the cursor's configuration in the O.S > -Mensaje original- > De: Discussion list for Java 3D API > [mailto:[EMA

[JAVA3D] flickering cursor

2001-06-11 Thread Xiang Xu
Hi, When I point my cursor to the Applet, the cursor always flickers. Anyone who know how to solve this problem? Thanks in advance. Xiang Xu === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of t