Re: [JAVA3D] ANNOUNCE: Evaluating Java for Game Development

2002-03-11 Thread Joachim Diepstraten
Hi Darrin > As far as the number of triangles never being enough well that goes along > with how many colors are really needed to be displayed. Again, the human > eye can only differentiate about 16 million or so if I recall correctly so Far less already 24bit are more than the human eye can dis

[JAVA3D] Mutlicanvas view setup

2002-03-11 Thread Justin Couch
I'm in need of a little help getting multicanvas/view setups working. Hoping someone could give us a hand to get this working. Basically I want to set up 3 canvas arranged in a wedge in front of the user like this: __ / \ /\ / o \ -+-

[JAVA3D] Sample code using cvs.j3d.org Particle System

2002-03-11 Thread Daniel Selman
All, I've attached the quick example I knocked up which uses the particle system code I wrote for j3d.org. You can use it in commercial applications. I hope we can get enough people behind this so that it's a resource for all of us! :-) The code is designed to allow people to write their own Part

Re: [JAVA3D] Seemingly random performance degradation.

2002-03-11 Thread Daniel Selman
Erik, Sounds like the same issue Thomas Gick just posted. I don't have much experience with the DirectX version of Java 3D, favoring OpenGL. Perhaps you can send your example to SUN for further analysis? http://developer.java.sun.com/developer/earlyAccess/java3D/java3d-bug-report .html Sincerel

Re: [JAVA3D] extending WakeupOnAWTEvent class

2002-03-11 Thread Daniel Selman
Please see the chapter on keyboard behaviors in my book. If you don't want to buy the book you can download the source code and work from there (KeyNavigateTest example).   Sincerely,   Daniel Selman Author - "Java 3D Programming"http://www.manning.com/selman -Original Message-F

Re: [JAVA3D] Particle System

2002-03-11 Thread Daniel Selman
Chris, This sounds very familiar. :-( We should get together on this. I checked in my second pass on a generalized particle system into cvs.j3d.org at the weekend. First pass was checked in several weeks ago. The current code is pretty stable, comes with a simple example and I've written Particl

[JAVA3D] extending WakeupOnAWTEvent class

2002-03-11 Thread 안병호
hi. all   I make a small java3d program to use behavior class.   This program interact with key event,   for example press 'A' key and left object rotation, press 'B' key and right object translation   I used WakeupOnAWTEvent class to interact key event, but WakeupOnAWTEven

Re: [JAVA3D] ANNOUNCE: Evaluating Java for Game Development

2002-03-11 Thread John Wright
Check out "IL-2 Sturmovik". It's widely regarded as the best current Flight Simulator. As far as I know it's not using Java 3D but it IS using Java and the performance is fantastic. Yes, they have some occasional "stuttering" issues but it sure is a good case for Java being more than powerful e

[JAVA3D] Code Warrior

2002-03-11 Thread Ellen Slater
I am a taking a course using Metrowerks CodeWarrior Learning Edition V2.0. Is it possible to download the Java 3D API for Windows for CodeWarrior?   Thanks,  

[JAVA3D] Seemingly random performance degradation.

2002-03-11 Thread Innes, Erik
I've changed my Java JDK from 1.3 to 1.4 and Java 3D from 1.2 to the 1.3beta. I'm running on Windows 2000, using DirectX. Performance of the Canvas3D display for my animation is extremely slow, no matter what I'm doing in my application (by about a factor of 10). Occassionally, when I execute the

Re: [JAVA3D] Particle System

2002-03-11 Thread Marc Palmer
> >I just wanted to say that i've gotten a 1.2.1 particle system working that uses > a giant QuadArray and BY_REFERENCE members for quick insertion/removal. > > > >Particles are defined as quads with their own offset transforms (for > scaling/rotation/position offset) and hook into a simple > pos

[JAVA3D] On 64 MB Video card it runs, On 32 MB Card not -> Java3D 1.3 beta stable?

2002-03-11 Thread Thomas Gick
Hi, please help me. i become crazy. Java3D code runs and runs not. I wrote a little java 3d code ( Car Race) . this code i run on 3 different machines. 1) Pentium III 450 MHZ 384 MB RAM Win2000 Directx 8.1 Java 1.4 rc java 3D 1.3 beta1 (DirectX) Elsa Gladiac 511 (64

Re: [JAVA3D] HELP !!! shape3D disappear ...

2002-03-11 Thread Chien Yang
It sounds like the following bug : BugId : 4453839 - GeometryByReference Triangles not always rendered This bug is fixed in the coming Java 3D 1.3beta2. - Chien Yang Java 3D Team. > Date: Mon, 11 Mar 2002 13:49:10 -0700 > From: SUBSCRIBE JAVA3D-INTEREST Anonymous <[EMAIL PROTECTED]> > Subj

Re: [JAVA3D] ANNOUNCE: Evaluating Java for Game Development

2002-03-11 Thread Kevin Grey
Call me crazy, but I think there's more to 3D games (especially first-person shooters) than just the life-like graphics. Once you conquer life-like graphics (as far as the human eye can tell), I believe game vendors will move to more complex physics engines or AI routines to make the oppo

Re: [JAVA3D] ANNOUNCE: Evaluating Java for Game Development

2002-03-11 Thread Jacob Marner
Ok agree there is enough triangles on the screen when the real-time graphics on the PC look completely life-like (read: Lord of the Rings graphics) and when enough CPU is still left to do human-like AI. That will quite a while (if ever). When that happens in a couple of decades or more, I will re

[JAVA3D] HELP !!! shape3D disappear ...

2002-03-11 Thread SUBSCRIBE JAVA3D-INTEREST Anonymous
Hello, I made an app with a ground who is created with individuals shapes (so my map is n * m shape3D = triangleStripArray) To improve performances, I used geometry by reference, (doesn't seem to be faster, is it normal ?) and my BIG problem is the following : some cells disappear in front, i

Re: [JAVA3D] ANNOUNCE: Evaluating Java for Game Development

2002-03-11 Thread Justin Couch
Darrin Smith wrote: > Oh man I don't agree with that. > > The human eye can only discern, what is it 30 or 60 frames per second? No, at least 120fps. Mostly noticable when performing rolling maneauveres. Most current commerical/military flight sims are 60 and the current + next generation are doi

Re: [JAVA3D] ANNOUNCE: Evaluating Java for Game Development

2002-03-11 Thread Darrin Smith
Oh man I don't agree with that. The human eye can only discern, what is it 30 or 60 frames per second? As far as the number of triangles never being enough well that goes along with how many colors are really needed to be displayed. Again, the human eye can only differentiate about 16 million o

Re: [JAVA3D] dispose the children of a detached BranchGroup

2002-03-11 Thread Lan Wu-Cavener
Thank you very much! I didn't think of the way of traversing a BranchGroup. That makes a lot of sense thinking of it now. cheers! Lan At 11:47 AM 3/11/2002 -0500, you wrote: >Hi Lan > >for( int i = theGroup.numChildren() - 1; i >= 0; --i ){ > theGroup.removeChild( i ); >} > >-Raffi > >-

Re: [JAVA3D] dispose the children of a detached BranchGroup

2002-03-11 Thread Sean Sylvis
the problem is the number of children is changing each time you remove a child, so you can remove from the end of the list to the front or remove the first element until the list is empty. while (int i = theGroup.numChildren()-1; i >= 0; i--) theGroup.removeChild(i); or while (theGroup.nu

Re: [JAVA3D] ANNOUNCE: Evaluating Java for Game Development

2002-03-11 Thread Jacob Marner
> > After all, just how many frames do you need to > have per second anyway? Wrong question. The question is "how many more triangles do you need on screen?" And the answer is that I want all those I can get while still getting a a decent frame rate. You will never come to a point where top notc

Re: [JAVA3D] ANNOUNCE: Evaluating Java for Game Development

2002-03-11 Thread Darrin Smith
Believe me I understand the point as the project I am on has a constraint much lower that a 500Mhz processor ( a P166 with 64MB of RAM...now that is sloow ). My point was that moving forward, say a year from now and the difference in performance will seem even less important. Indeed, with ea

Re: [JAVA3D] Java3d performance

2002-03-11 Thread Sean Sylvis
Of interest to 2D overlay artists... The new Java 1.3 beta1 version has addressed the performance hit of drawing to the 2D graphics context during the rendering loop. I was using a work-around solution -- a David Yazel-inspired hovering JWindow overlay -- until the beta1 version was just relea

Re: [JAVA3D] ANNOUNCE: Evaluating Java for Game Development

2002-03-11 Thread Jacob Marner
Hi Darren, Funnily enough, most e-mails I get concerning my report says the exact opposite. Many complain that I make performance appear too unimportant. Here is an except from a mail I got about 3 hours ago: (I will let the mailer be anonymous since he don't know I use his text here - but I kn

Re: [JAVA3D] ANNOUNCE: Evaluating Java for Game Development

2002-03-11 Thread Darrin Smith
FWIW, I like many here coded in C++ for a number of years. I once thought that performance was one of the most important characteristics. Back then, it was given the hardware. Today, with Pentium 4 PC's over 2000Mhz and AMD chips just as fast, does it still make sense to worry about the differ

Re: [JAVA3D] Particle System

2002-03-11 Thread Justin Couch
Chris Forrester wrote: > I just wanted to say that i've gotten a 1.2.1 particle system working that uses a >giant QuadArray and BY_REFERENCE members for quick insertion/removal. For performance comparison, have a look at the latest code that has been added to the j3d.org code repository. Daniel

Re: [JAVA3D] Particle System

2002-03-11 Thread Kelvin Chung
>Date: Mon, 11 Mar 2002 11:41:25 -0700 >From: Chris Forrester <[EMAIL PROTECTED]> >Subject: [JAVA3D] Particle System >To: [EMAIL PROTECTED] >Delivered-to: [EMAIL PROTECTED] >Delivered-to: [EMAIL PROTECTED] > >I just wanted to say that i've gotten a 1.2.1 particle system working that uses a giant Q

[JAVA3D] Particle System

2002-03-11 Thread Chris Forrester
I just wanted to say that i've gotten a 1.2.1 particle system working that uses a giant QuadArray and BY_REFERENCE members for quick insertion/removal. Particles are defined as quads with their own offset transforms (for scaling/rotation/position offset) and hook into a simple position/directio

Re: [JAVA3D] ANNOUNCE: Evaluating Java for Game Development

2002-03-11 Thread Jacob Marner
Hi Rob, In that benchmark the timer is started after the scene is built and stopped after the last frame is drawn. The graphs shown in the report is when I timed how long it took to draw 3000 frames with vertical sync switched off, using the same driver and same screen mode / color depths. So, i

Re: [JAVA3D] ANNOUNCE: Evaluating Java for Game Development

2002-03-11 Thread Elsam, Robert
Jacob, In your paper "Evaluating Java for Game Devlopment"you compare the speed of OpenGl and Java 3D by measuring the time it takes to create a virtual world consisting of several thousand boxes. Please excuse my naivety, but is the time in seconds simply a measure of how long it takes to get t

[JAVA3D] Java 3D FAQ Weekly Posting (11 Mar 2002)

2002-03-11 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday March 11 2002 This is a posting of topics covered in the Java 3D FAQ. The answers to these questions are kept at: http://www.j3d.org/faq Please consult this list and the web site before asking questions on the mailing list. If the

Re: [JAVA3D] 1.2.1_04: my problem is still there?

2002-03-11 Thread Chien Yang
Guaug, The release of Java 3D 1.2.1_04 is to ensure the 1.2.1 version be compatible with JDK1.4. Most reported bugs will be fixed in the coming Java 3D 1.3beta2 release. Java 3D(TM) 1.2.1_04 -- CHANGES

[JAVA3D] Canvas3D not refreshing property in 1.2.1_04 under JDK 1.4

2002-03-11 Thread Scott Rutledge
As the subject says, I'm getting refresh issues with the new J3D 1.2 path under JDK 1.4. The canvas doesn't repaint itself under the following conditions: - a heavyweight popupmenu is display on top of if, then hidden (leaves gray square), note that a heavyweight tooltip doesn't cause this proble

Re: [JAVA3D] crashes on window 2ooo machine

2002-03-11 Thread Chien Yang
For now, if you need to use JDK1.4 you either choose Java 3D 1.2.1_04 or Java 3D 1.3beta1. - Chien Yang Java 3D Team. > Date: Mon, 11 Mar 2002 17:59:12 +0100 > From: Christian Zanardi <[EMAIL PROTECTED]> > Subject: Re: [JAVA3D] crashes on window 2ooo machine > To: [EMAIL PROTECTED] > MIME-ver

Re: [JAVA3D] crashes on window 2ooo machine

2002-03-11 Thread Christian Zanardi
Yes it does. Works perfectly. I am using it right now. - Christian -Message d'origine- De : Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]De la part de Lan Wu-Cavener Envoye : lundi, 11. mars 2002 17:42 A : [EMAIL PROTECTED] Objet : Re: [JAVA3D] crashes on window 2ooo machine

Re: [JAVA3D] dispose the children of a detached BranchGroup

2002-03-11 Thread Kasparian, Raffi J.
Hi Lan for( int i = theGroup.numChildren() - 1; i >= 0; --i ){ theGroup.removeChild( i ); } -Raffi -Original Message- From: Lan Wu-Cavener [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 10:38 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] dispose the children of a detached

Re: [JAVA3D] crashes on window 2ooo machine

2002-03-11 Thread Lan Wu-Cavener
Thanks for your response. I am glad to know it is a bug that has been fixed. JDK1.4 will not work with j3d1.3beta, will it? Lan At 11:13 AM 3/11/2002 -0500, you wrote: >I had the same problem for a year with my app on WinNT and Win2000. >Using the java flag -Xint fixed the crashing but gave a

[JAVA3D] dispose the children of a detached BranchGroup

2002-03-11 Thread Lan Wu-Cavener
Hi, every one: I have a problem with disposing the contents of a detached Branchgroup without setting the BranchGroup to null. I have a BranchGroup generated dynamically through the user interacting with the program. I need to often to detach the BranchGroup and would like to garbage collect its

Re: [JAVA3D] crashes on window 2ooo machine

2002-03-11 Thread Christian Zanardi
Had the same problem. But as mentioned, JDK 1.4 fixed this kind of problem. - Christian -Message d'origine- De : Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]De la part de Roy Duffy Envoye : lundi, 11. mars 2002 17:13 A : [EMAIL PROTECTED] Objet : Re: [JAVA3D] crashes on win

Re: [JAVA3D] crashes on window 2ooo machine

2002-03-11 Thread Roy Duffy
I had the same problem for a year with my app on WinNT and Win2000. Using the java flag -Xint fixed the crashing but gave a huge performance hit because it disables HotSpot compiling. When JDK1.4 came out, the crashing stopped all together. -Roy Lan Wu-Cavener wrote: > Hi, every one: > > When

[JAVA3D] crashes on window 2ooo machine

2002-03-11 Thread Lan Wu-Cavener
Hi, every one: When I run my j3d program on Win2K machine, sometimes I got the error"The instruction at ".." referenced memory at "xx". The memory could not be "read". And the Canel button will prompt another dialog box saying " java.exe has generated errors and will be closed by window.

[JAVA3D] Low-Level Mouse Behaviors?

2002-03-11 Thread Chris Forrester
I've been working with ways to implement a virtual mouse within the java environment. By virtual mouse I mean a system overlying the mouse input that will capture movement, append that movement to a virtual positioning system, and immediately reset the position of the mouse back to the center of

Re: [JAVA3D] obj loader

2002-03-11 Thread Ewan Borland
Hi Rob,   Hope this is some help. I've been using this on models from various different sources.   I simply traverse the scenegraph for the given root node to retrieve all of its Appearance node components. Then I set the indiviual appearance components for each Appearance to attributes which

[JAVA3D] obj loader

2002-03-11 Thread Rob Brown
Anyone have suggestion: After, I load in an object from an OBJ file. How can I make it render as points, wire frame, flat shaded, etc... basically a quick mod to ObjLoad that comes with J3d. Thanks for any help Rob Brown Eyetronics Inc Developer [EMAIL PROTECTED]

Re: [JAVA3D] 1.2.1_04 is out

2002-03-11 Thread Justin Couch
Joachim Diepstraten wrote: > So what we are waiting for 1.3b2 and not for 1.2.1_04 :) Well... I want 1.3b2 so that I can load textures again. -- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddler http://www.yumetech.com/ Author, Ja