Re: [JAVA3D] x,y,z rotation and angles

2000-02-07 Thread Dan Todor
Clara, I had the same problem, but a Bilboard behavior attached at every label with point as center of rotation ( wich was the center of the label ) solved my problem. Clara Dinh wrote: > I've looked through the archives for Java3D and have read the > messages dealing with obtaining rotation ang

Re: [JAVA3D] behavior errors

2000-02-07 Thread Kelvin Chung
Hi Eric, From the line number of the source code, it seems that you pass criteria = null in wakupOn(WakeupCondition criteria) If it is the case, then this is expect behavior. Otherwise, it is a bug and it would be helpful if you can send us a test case for it. Thanks, - Kelvin -

[JAVA3D] behavior errors

2000-02-07 Thread Eric Arnold
I would greatly appreciate it if someone could help me out. I am trying to use picking to get the transform group of one of the objects in my scene. Right now when I click anywhere inside the application I get this error: Exception occurred during Behavior execution: java.lang.NullPointerExcepti

Re: [JAVA3D] HiResCoord - complete overkill ???

2000-02-07 Thread Daniel Selman
Heiko, That's the whole point... Coordinates are all in doubles or floats but are relative to the position of the Locale. 256 bit coordinates are used to allow objects the size of an atom to be described, yet be positioned within an area larger than the size of the known universe. This would allo

Re: [JAVA3D] x,y,z rotation and angles

2000-02-07 Thread Doug Gehringer
> From: Clara Dinh <[EMAIL PROTECTED]> > > I have a 3D graph, with the standard x,y,z axes and labels. > When I rotate the graph, the labels rotate with it, as they should. > However, depending on the direction of rotation, sometimes the labels > will appear upside down. Sounds like a perfect use

[JAVA3D] HiResCoord - complete overkill ???

2000-02-07 Thread Heiko Gottschling
Hi, I want to use two different Locales in my program and I came across the HiResCoord class which is needed to set the Locale's location within the VirtualUniverse. Just curious: what's the use of specifying these coordinates with a precision of 256 bits??? Why wouldn't double values do as well

Re: [JAVA3D] 3D scene serialization problem

2000-02-07 Thread Olivier fillon
There was a thread on this before.. No you can not serialize as far as i know a scene (at least with j3d 1.1.*; It is very sad but it is so...) I need to check if there is something new under 1.2 any help welcome as it is a common problem: I solved it by doing my own serialization( restricted

Re: [JAVA3D] Performance drop in 1.2 Beta

2000-02-07 Thread Shawn Kendall
Although, I am happy to get a good responce on this, I have to say this is a VERY disappointing development. Walk-thru's are a small piece of the applications of a 3D API. And even in walk-thru's, there should be some "moving" i.e. transforming objects in the scene! Static 3D models are nearly

[JAVA3D] x,y,z rotation and angles

2000-02-07 Thread Clara Dinh
I've looked through the archives for Java3D and have read the messages dealing with obtaining rotation angles and quaternions and matrices, etc. However, from all of that information, I still haven't been able to fix my problem. I have a 3D graph, with the standard x,y,z axes and labels. When I r

Re: [JAVA3D] maybe new BUG ?

2000-02-07 Thread Uma Sabada
Java3D allows node component objects (such as coloring attributes in your test program) to be shared between multiple views/universes. You have pointed out a bug in our implementation and will be fixed in beta2. -Uma Java3D Team - Begin Included Message - >From [EMAIL PROTECTED] Mon Fe

Re: [JAVA3D] maybe new BUG ?

2000-02-07 Thread Frédéric Chopard
I got the same problem (as said in a previous post ), but don't get any solution ! So if someone could help this would be greatly appreciated. Thanks. > Can anyone confirm if this problem really exists or am I confused , and if are there some solution ? > > Thanks. > > > > Hi everyone, > > > > T

Re: [JAVA3D] maybe new BUG ?

2000-02-07 Thread Daniel del Río
Can anyone confirm if this problem really exists or am I confused , and if are there some solution ? Thanks. > Hi everyone, > > The problem arises when two or more Universes are working together, then > if the ColoringAttributes from one shape is changed (under some > circumstances) the follow

Re: [JAVA3D] How to set up the terrain following in java 3d

2000-02-07 Thread Matthew Flagg
Sorry, I was trying to reply to a previous post by [EMAIL PROTECTED] He said let him know if any one was interested in knowing about terrain following in Java3D. What I assumed was that if the terrain was not flat but contained hills and/or depressions, an object would move along the terrain, ri

Re: [JAVA3D] Smoke

2000-02-07 Thread Doug Gehringer
Billboards are one way to render "fuzzy particles" but there are two alternatives which should be faster: 1) Large, anti-aliased points. These should be the fastest, but there may be problems with inconsistent rendering on different OpenGL implementations 2

Re: [JAVA3D] How to set up the terrain following in java 3d

2000-02-07 Thread Vladimir Olenin
What do u mean by 'terrain following'? If what u mean is just the motion around the scene (flat surface), then what exactly u wanna know? vladimir -=V=- >---<=>---< Join in Java community now! http://JavaCafe.VirtualAve.net/ >---<=>---< In you

Re: [JAVA3D] Object File Loading

2000-02-07 Thread Vladimir Olenin
The model u referring at can't be found by the URL u pass. Check up the URL one more time. And browse through this mailing list archive: this topic has been discussed here approximately half a year ago. (There is also a non fatal bug in the default .obj loader concerning the base URL - see the arc

Re: [JAVA3D] How to set up the terrain following in java 3d

2000-02-07 Thread Julian Scheid
what do you mean with "terrain following"? -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Flagg Sent: Monday, February 07, 2000 4:32 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] How to set up the terrain following in java 3d I

Re: [JAVA3D] Object File Loading

2000-02-07 Thread Julian Scheid
These error messages don't help much. What is going wrong here depends on what your program is doing at this point. To me it looks like you specified an invalid URL to the object loader. The "no protocol" error could mean that you did not specify "http://" at the start of the URL. If you are crea

Re: [JAVA3D] Hello

2000-02-07 Thread Julian Scheid
I don't know if it helps you with keyboard input, but I found that using the new JDK 1.3 (which is available as rather stable RC1 from http://developer.java.sun.com) boosts overall performance because it has a much better garbage collector than 1.2. I think you can expect the final 1.3 Release wi

Re: [JAVA3D] How to set up the terrain following in java 3d

2000-02-07 Thread Matthew Flagg
I don't think this question has been answered on the list. If it has then I missed that post. Either way I would be interested in knowing how to implement terrain following. Thanks. > -Original Message- > From: The Casteels [SMTP:[EMAIL PROTECTED]] > Sent: Saturday, February 05, 2000 9

[JAVA3D] Object File Loading

2000-02-07 Thread PK
Hi, I'm trying to load an object file into a 3d scene. The java code I have compiles OK, but when I try to run the application, I get the following error: Exception while getting parameter. java.lang.NullPointerException: Trying to create URL Trying to load URL Err

Re: [JAVA3D] AW: [JAVA3D] IndexedGeometryArrays Vs. GeometryArrays?

2000-02-07 Thread Julian Scheid
Hi Daniel, find the Java/DLL code for my Win32 timer solution attached - not well documented, sorry. Yes, I am using JNI and certainly that incurs an overhead but - there's no way to avoid this (except perhaps recompiling bin\java). The Hires-Timer I am using should work under Win32, but yet I

Re: [JAVA3D] Hello - multiplayer

2000-02-07 Thread Daniel Selman
Fahad, You didn't show how/where you are transferring the new position data to the server? If you are doing this within the Behavior processing loop and you are using synchronous IO you might be slowing down the whole Behavior processing... Also make sure you are not opening/closing a new socket

[JAVA3D] 3D scene serialization problem

2000-02-07 Thread Andrei Karii
Hi All ! , What You think about how is possible  to save dynamically content of 3D scenes  as BranchGroup with all its children with their  current values of them fields  into the file  and then  to read it from   file  and  to load  into scene  on-fly by add and replace BranchGraph  method

Re: [JAVA3D] Hello

2000-02-07 Thread Fahad Aziz
What you are trying to achieve is that the whole game is actually being played at server. On the other hand.. In my way of development.. the great thing is the thin communication. that is .. the only 'thing' that will transferred will be some co-ordinates. or a vector, of hardly 10-50 bytes. let

Re: [JAVA3D] Hello

2000-02-07 Thread Fahad Aziz
Servlets Supports network communication VIA Sockets, RMI and even CORBA. but in our case Socket communication is the best and easiest. this is how it will work in my case. PHASE 1: 1. I will have a servlet running on server. 2. It will have threads waiting for socket connection. 3. When applet re

Re: [JAVA3D] Multiple Views / Behaviors ??? - EXAMPLE

2000-02-07 Thread G . Veith
sorry, no :(( I've tried something similar but didn't succeed so far :( I would try to use only one view at the same time and switch to the view in question each time you start a new render loop. Rendered data has to get buffered for all other canvas3ds so that it cannot get lost when they get re

Re: [JAVA3D] Hello

2000-02-07 Thread Rayan Jreije
Thanks Fahad, So you have separate scenegraph for every player? And the servlet is used only to exchange positions? So as i understand you are "replicating" the geometry among users, So I conclude there's no one shared scenegraph on the server. What do you think about Having only one scenegraph o

[JAVA3D] exit procedure

2000-02-07 Thread Stefano Scarpanti
Hi all, Suppose I do not use MainFrame, but a simple frame, in which I create a universe, a scene, and so on. Is it enough to have window listener linked to "dispose" to close the java application and the frame or I sould use some ending specific function of java3D? Should I use also System.exit?

Re: [JAVA3D] browser

2000-02-07 Thread Fahad Aziz
hi, Java3D requires JRE to run.. as i mentioned before. inorder to access JRE from browser.. you have to make 1. "activeX control" for IE 2. "embded object" for Netscape. and this is made possible by just adding some extra tags i nHTML. this tag-addition is done by HTML Converter. fahad

Re: [JAVA3D] IndexedGeometryArrays Vs. GeometryArrays?

2000-02-07 Thread Rayan Jreije
Thanks for the help folks, I always appreciate the presence of some sun people (such as Mr. Hood) in our discussion, this will reassure us we are in the right track. Of course i also appreciate the Java3D Community for being always there supporting each other. >Java 3D provides a utility Stripif

Re: [JAVA3D] Multiple Views / Behaviors ??? - EXAMPLE

2000-02-07 Thread Edgar Delgado Barbosa
Gernot... Thank's for helping me... Do you know some other way to implement a "same universe" / "4 independent canvases" applet?? Edgar.. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviada:Segunda-feira, 7 de Fevereiro de 2000 9:29 Para: [EMAIL

Re: [JAVA3D] Multiple Views / Behaviors ??? - EXAMPLE

2000-02-07 Thread G . Veith
Hi Edgar, as far as I know Java3D renders into that canvas3Ds view that gets visible first. Java3D doesn't let run a render loop for each view. That's why if you transform one viewplatform it will affect all other views. IMHO this is not a bug - it's a feature :) Gernot [EMAIL PROTECTED]

[JAVA3D] Multiple Views / Behaviors ??? - EXAMPLE

2000-02-07 Thread Edgar Delgado Barbosa
That's my applet... The behaviors "rotBehavior3D", "zoomBehavior3D" and "transBehavior3D" work on all the 4 canvas // universe = new VirtualUniverse(); locale = new Locale(universe); body = new PhysicalBo

Re: [JAVA3D] browser

2000-02-07 Thread Stefano Scarpanti
Thank you very much, java brother! >just wanted to add something .. that i think will help you. > >To run a Java3D applet on a browser.. Follow the following step. > >1. Install Java JRE 1.2.2 (or above) >2. Install Java3D (if u r using NT, prefer, OPen GL Version, that is easy >to run) >3. Make

Re: [JAVA3D] Hello

2000-02-07 Thread Fahad Aziz
I am using two transform groups, for two players. What i require to do is that i move the two transform groups, as the two plyers move themselves. i simply use setTransform to perform this job. What is transferred between different users is the new position of player and the position where it hit