Re: [JAVA3D] Need of Equivalent code in Java

2001-07-10 Thread Martin Desruisseaux
A slight correction... There was a bug in the code I proposed. The line bits = (bits << 8) | getByte(); (or arr[i] instead of 'getByte()', it is the same except for byte order) should be replaced by: bits = (bits << 8) | (((long) getByte()) & 0xFF); Rational: 'byte' and 'long' are signed in

Re: [JAVA3D] About Vrmlloader: how can a Java3d-based applet load VRML files?

2001-07-10 Thread Daniel Moscoso
I have tested it passing the file as an URL like this: VrmlLoader loader = new VrmlLoader(); URL fileURL = getClass().getResource("test.wrl"); Scene s = loader.load(fileURL); and it works. Hope this helps !! Dani Hi,guys and gals,

[JAVA3D] Making objects come out of the screen...

2001-07-10 Thread Tor Einar Kjørkleiv
Hi, I have problems with making the objects I make "come out of the screen" when I work in stereo. I can se them disappearing in the back of the screen, but they will not come out. Is there any parameteres I have to set to achieve this effect? Todda ___

[JAVA3D] tracking a point across 3D surfaces

2001-07-10 Thread Alex Bowden
Hello All I am using the mouse to track a marker object across a set of surfaces in 3D. This works surprisingly well Not unexpectedly it turns out to be inappropriate to use the packaged higher level pick facility and instead I am doing a BranchGroup.pickClosest(PickRay) when and only when th

Re: [JAVA3D] Rand / Stars dissappear in the distance

2001-07-10 Thread Christian Bartel
Hi Corysia! Thank you for the code below. But I do not really understand what is happening there... You are creating "BranchGroup createBackGraph()" but you are adding the pointArray to "objRoot"... what is the use of the objBack then? When I tried to add the pointArray to objBack there were no

[JAVA3D] Java3D 1.3

2001-07-10 Thread Anand Pillai
Hi All, Greetings. I just wanted to know when the full version of Java3D 1.3 would become available for release. Regards Anand Anand Pillai DELMIA Solutions India. 680, 8th Main, JP NAGAR II Phase, Bangalore 560 078. Tel: +91-80- 658 9858/59 Fax: +91-80- 658 9855. [EMAIL PROTECTED] =

Re: [JAVA3D] Java3D 1.3 and 1.2.1_02?

2001-07-10 Thread Jason Taylor
I believe 1.3 is due 3rd or 4th Q this year don't think an exact date has been published yet. Check the web site for confirmation. On a simular line, anyone know when 1.2.1_02 is going to be released? It's meant to fix a problem I have so I want to test it in case I still have to write around the

Re: [JAVA3D] Java3D 1.3 and 1.2.1_02?

2001-07-10 Thread John Wright
Jason, Our understanding is that Java 3D 1.3 will be released first BETA late this year (we probably won't see a "final" release until sometime next year). We are also eagerly awaiting 1.2.1_02 in the hopes that it will clear up some critical bugs that are killing us. Our impression was "soon"

[JAVA3D] fps needed.

2001-07-10 Thread ERGUN GUVENC
Hi friends, I 'm trying to develop RPG based game called zid. I need FPS (frame per second) info at Run Time, because when i started to walk my character, if FPS is not high enough my character is walking shorter than my expectation. Does anyone know, how can I get FPS info. Or any other suggest

[JAVA3D] Memory Leak

2001-07-10 Thread Karsten Fries
Hi there, i have some memory leaking problem that i want to drag down, because it gets the critical issue for my application. It's actually very critical, since the the application will run as an applet using the java plugin. And i got an avarage leak of 2 MB per page reload, which causes a the n

Re: [JAVA3D] fps needed.

2001-07-10 Thread Yazel, David J.
First suggestion is to mkae sure your animation is not frame rate dependant. No animations in 3d should be frame rate dependant IMHO. For this you will need a high resolution timer, which you will have to write an interface to under windows. Note that under windows the lowest granularity of Syst

[JAVA3D] How do i create a virtual pointer and move it ?

2001-07-10 Thread BRANDY Cyril
Hi ! I am working on a collaborative tool using Java3D. I have two Canvas3D. One acts as the master the other as the slave. When the master move the scene, the scene moves on the slave. It works fine. But now, i want that when the master mouve its mouse over the scene, the slave sees a virutal

Re: [JAVA3D] fps needed.

2001-07-10 Thread Karsten Fries
Hi, you can get the time for the last frame (in ms) and compute the frame rate form this value. Canvas3D canvas; int frameDuration = canvas.getView().getLastFrameDuration(); float frameRate = 1000.0f / frameDuration; But it's more convinient if you avarage at least the last 5 frames, or comput

[JAVA3D] Shape3d retained class

2001-07-10 Thread Saurabh Akhauri
hi I am facing problems in deallocating the memory used by scene graph because the shape3d object's reference count never becomes zero, the profiler shows that Shape3dRetained class holds its reference 1. Can someone help me with some details on Shape3DRetained class , 2. pls help me with some

Re: [JAVA3D] Shape3d retained class

2001-07-10 Thread Karsten Fries
Hi Saurabh, i just had a look at my shape3dretained instances. They are dropping to zero once i terminated my application. I introduced a ShapeManager which handles all Shape3D objects in my app. this manager is also responsible for freeing the shapes properly. currently i use this approach for e

Re: [JAVA3D] Rand / Stars dissappear in the distance

2001-07-10 Thread Corysia Taware
I'm afraid that's a typo. I was trying to be less confusing by using the names objBack and objRoot. In my original code, I was sloppy and used objRoot twice (the classic "cut and paste error"). When I composed my post, I missed one. Just renaming that odd objRoot to objBack should have solved

Re: [JAVA3D] fps needed.

2001-07-10 Thread Fred Klingener
From: "Yazel, David J." <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 8:30 AM > ... > Note that under windows the lowest granularity of System.currentTimeMillis() > is 55 ms, which is abysmal and inappropriate for animation. > ... Probably true for W95, W98, WMe, etc., and highly unreliable

[JAVA3D] FileLoaders for Java3D

2001-07-10 Thread John Barreto
Hi all, Does anyone know where there may be file loaders available to the public? I didn't see anything on Sun's site. thanks, John. === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the messa

Re: [JAVA3D] FileLoaders for Java3D

2001-07-10 Thread Daniel Moscoso
Just here: http://www.j3d.org/utilities/loaders.html -- Hi all, Does anyone know where there may be file loaders available to the public? I didn't see anything on Sun's site. thanks, John. === To un

[JAVA3D] FileLoaders Thanks

2001-07-10 Thread John Barreto
Daniel, I was looking for something they don't have. Oh well, I guess I'll have to go write my own. thanks. John. > > From: Daniel Moscoso <[EMAIL PROTECTED]> > Date: 2001/07/10 Tue PM 01:06:34 EDT > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] FileLoaders for Java3D > > Just here: > > http

Re: [JAVA3D] FileLoaders for Java3D

2001-07-10 Thread Leif Oppermann
Hi John, http://www.j3d.org/utilities/loaders.html should help. I personally use ObjLoad at the moment (supports colors and one texture per Object). regards, . leif John Barreto wrote: > Hi all, > > Does anyone know where there may be file loaders available to the public? I didn't >see a

[JAVA3D] Semi-Transparent BranchGroup?

2001-07-10 Thread Leif Oppermann
Hi all, hoping for help as well ;) My problem is the following: I'd like to load a Wavefront OBJ and set its transparency afterwards to achieve a water-like effect. The OBJ only consist of one texture-mapped plane. Without transparency, everything works well. I just cannot get it to work/compile

[JAVA3D] fullscreen

2001-07-10 Thread Jack Gundrum
I am using W2K with Java3D 1.2.1 OGL and java -Dj3d.fullscreen=REQUIRED MyApp with no success. How can I get fullscreen or at least delete the menubar. Thanks Jack S. Gundrum Visualization Group Center for Academic Computing Penn State University Email:[EMAIL PROTECTED] Phone:(814)865-1863 =

Re: [JAVA3D] fullscreen

2001-07-10 Thread Corysia Taware
http://www.j3d.org/faq/running.html#fullscreen - Original Message - From: "Jack Gundrum" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 10:32 AM Subject: [JAVA3D] fullscreen > I am using W2K with Java3D 1.2.1 OGL and java -Dj3d.fullscreen=REQUIRED > MyApp wit

[JAVA3D] Live scene

2001-07-10 Thread Shaun Shepherd
Hi all, I've been looking all morning for a solution to my problem. I'm trying to move a triangle's vertice with the keyboard, but it won't let me modifiy the geometry because the scene is live. I believe this has been discussed before, can anyone help me out? How can I modify the geome

Re: [JAVA3D] Live scene

2001-07-10 Thread Corysia Taware
Look at the Java3D tutorial on Sun's site. The first chapter covers how to update the position and orientation of objects. http://developer.java.sun.com/developer/onlineTraining/java3d/ You want to read section 1.8.2 on page 24. - Original Message - From: "Shaun Shepherd" <[EMAIL PROT

Re: [JAVA3D] Semi-Transparent BranchGroup?

2001-07-10 Thread Brian Eppert
I'm not sure if this has been answered yet, but what works for me is to load objects from a file, and descend the branchgroup to the Shape3D objects and use getAppearance().setTransparencyAttributes(...) If you're object consists of multiple shapes each one must be altered to become transparent.

Re: [JAVA3D] Background Image

2001-07-10 Thread Kelvin Chung
Hi Tina, >X-Unix-From: [EMAIL PROTECTED] Tue Jul 10 07:09:21 2001 >Delivered-To: [EMAIL PROTECTED] >X-Sender: ceetm2@odin >MIME-Version: 1.0 >Date: Tue, 10 Jul 2001 15:08:04 +0100 >From: Tina Manoharan Valappil <[EMAIL PROTECTED]> >Subject: [JAVA3D] Background Image >To: [EMAIL PROTECTED] > > >

Re: [JAVA3D] Jdk1.4 beta

2001-07-10 Thread Kelvin Chung
>X-Unix-From: [EMAIL PROTECTED] Tue Jul 10 04:45:17 2001 >Delivered-To: [EMAIL PROTECTED] >X-Accept-Language: en >MIME-Version: 1.0 >Date: Tue, 10 Jul 2001 13:40:23 +0200 >From: Karsten Fries <[EMAIL PROTECTED]> >Subject: [JAVA3D] Jdk1.4 beta >To: [EMAIL PROTECTED] > >Hi there, > >has anybody tri

Re: [JAVA3D] Memory Leak

2001-07-10 Thread Kelvin Chung
>X-Unix-From: [EMAIL PROTECTED] Tue Jul 10 05:29:09 2001 >Delivered-To: [EMAIL PROTECTED] >X-Accept-Language: en >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >Date: Tue, 10 Jul 2001 14:28:02 +0200 >From: Karsten Fries <[EMAIL PROTECTED]> >Subject: [JAVA3D] Memory Leak >To: [EMAIL PROTECTED

Re: [JAVA3D] fps needed.

2001-07-10 Thread Philip Taylor
this would mean system.currenttimemillis is using windows timers, the worst choice available on windows. a better choice would be the multimedia timers. perhaps the right folk could be pointed out, so this could be addressed? > -Original Message- > From: Fred Klingener [mailto:[EMAIL PR

Re: [JAVA3D] What's better?

2001-07-10 Thread Doug Twilleager
Java 3D does state sorting of this kind as well. And, either case below will work equally well. You will, however, get other performance benefits from using fewer Shape3D nodes. Doug Twilleager Java 3D Team Sun Microsystems >Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Subject: [JAVA3D

Re: [JAVA3D] Scenegraph Culling

2001-07-10 Thread Doug Twilleager
>culling would be quite useful. Also, controling the culling operation >indepnedantly from the render would be quite useful in testing and >debugging. SGI's Performer can do that. ;-) > This type of operation should be possible with extensibility in Java 3D 1.4. Doug Twilleager Java 3D Team Su

[JAVA3D] ID#:529940 Installation Problem

2001-07-10 Thread Paul Pantera
You should post your question to [EMAIL PROTECTED] I think some users have been able to install on JDK 1.4 through this process: 1) Uninstall 1.4 and re-install 1.3. 2) Start the Java 3D installer 3) Install 1.4 4) Complete the Java 3D installation. That's a kludge, but it's the installer t

[JAVA3D] FileLoaders for Java3D: the old VRML Loaders from Sun vs. the 'new' xj3d Loaders

2001-07-10 Thread P. Flavin
The VRML Loaders from Sun provided the highest level of functionality for loading VRML files into Java3d ... -- and still do -- ~~ please ~~ correct me ... if any other VRML loader is more capable for loading VRML into Java3d and rendering it with animation. " VRML-97 Loaders,

Re: [JAVA3D] Problem with IndexedGeometryArray

2001-07-10 Thread Paul Pantera
> Date: Tue, 10 Jul 2001 11:30:37 -0700 (PDT) > From: Kelvin Chung <[EMAIL PROTECTED]> > Subject: RE: [JAVA3D] Problem with IndexedGeometryArray > > Hi Jyothi, > > >X-Unix-From: [EMAIL PROTECTED] Mon Jul 9 23:42:32 2001 > >From: Jyothi Mohan <[EMAIL PROTECTED]> > >To: "'Kelvin Chung'" <[EMAIL PR

Re: [JAVA3D] FileLoaders for Java3D

2001-07-10 Thread heli
Leif Oppermann wrote: > Hi John, > > http://www.j3d.org/utilities/loaders.html > > should help. I personally use ObjLoad at the moment (supports colors and one texture >per Object). > > regards, > > . leif hello leif, could you please send me a small example of an object file with a texture.

Re: [JAVA3D] Live scene

2001-07-10 Thread Shaun Shepherd
Thanks. I had been using the wrong capability bits. Shaun - Original Message - From: "Corysia Taware" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 12:01 PM Subject: Re: [JAVA3D] Live scene > Look at the Java3D tutorial on Sun's site. The first chapter cov

[JAVA3D] ID#:529975 Java3D question

2001-07-10 Thread Paul Pantera
> From: "Per Eckerdal" <[EMAIL PROTECTED]> > Reply-To: "Per Eckerdal" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Java3D question > > > Dear Sirs! > > I'm working with the Java 3D and I wonder how I can > make .obj-files (as 3-dimensional objects). Does it > exist a program to do that?

Re: [JAVA3D] fullscreen

2001-07-10 Thread Nathan Bower
I use D3D implementation of J3D - fullscreen (and alt-enter) works fine, N > > I am using W2K with Java3D 1.2.1 OGL and java -Dj3d.fullscreen=REQUIRED > > MyApp with > > no success. How can I get fullscreen or at least delete the menubar. > Thanks > > > > Jack S. Gundrum =

Re: [JAVA3D] ID#:529975 Java3D question

2001-07-10 Thread Corysia Taware
Milkshape 3D is a US$20 shareware modeler for Windows that can import and export many different formats, including OBJ and 3DS. http://www.swissquake.ch/chumbalum-soft/ - Original Message - From: "Paul Pantera" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 2:18

Re: [JAVA3D] Jdk1.4 beta

2001-07-10 Thread Justin Couch
Kelvin Chung wrote: > There are problem when underlying graphics context is > initialize using JDK1.4 with Java3D: > > 4470749 -Java3D fail to initialize underlying OGL/D3D library in jdk1.4 > sometimes I'm just going to put in a good word here for JDK1.4. I've been running it for about a month

Re: [JAVA3D] fps needed.

2001-07-10 Thread Justin Couch
Philip Taylor wrote: > a better choice would be the multimedia timers. > > perhaps the right folk could be pointed out, so this could be addressed? I believe Sun have been made aware of this for at least a couple of years now. I remember back in the days of the old Berkeley advanced-java list th

Re: [JAVA3D] fps needed.

2001-07-10 Thread Paul Byrne
Hi All, The large time steps returned by System.currentTimeMillis() on the MS-Windows OS is something I've been looking at for a while. The issue is that under windows there does not seem to be ANY OS call (or combination of calls) that can meet the semantics of currentTimeMillis(). That is ret

Re: [JAVA3D] Background Image

2001-07-10 Thread Daniel Selman
Tina, Use a unit Sphere as background geometry, generate flipped normals, and apply your image as a Texture to the Sphere. Should be full screen (well, all around you!) and a lot better frame rate. Sincerely, Daniel Selman -Original Message- From: Discussion list for Java 3D API [mailt

[JAVA3D]

2001-07-10 Thread Tonz .
hi every body how r u!! iam asking for a loader of 3ds formate which take an input as URL and not as String thanx for hellping _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. ==

Re: [JAVA3D] Scenegraph Culling

2001-07-10 Thread Chris Thorne
Hi Michael, I missed your reply and just saw it. I am very interested in terrain modelling myself and auto-generate all mine (usually from GIS height grids). I expect to be doing something along the line of what you are trying. I was hoping to go into some detail on this stuff with David before

Re: [JAVA3D] Textures & hardware

2001-07-10 Thread Roberto Gutierrez
Hola, ya que tienes puerto AGP, quizas podrias comprar una tarjeta gráfica más potente. Seguramente eso ayudaría. Ahora estan francamente baratas. Yo he comprado reciente una Nvidia TNT32 por unas 16000 pelas. Se la he comprado a esta gente: http://www.pcbox.es/ pero debe haber en cualquier lado..

Re: [JAVA3D] About Vrmlloader: how can a Java3d-based applet load VRML files?

2001-07-10 Thread SUBSCRIBE JAVA3D-INTEREST Wu AnBo
Hi,guys and gals, Maybe I haven't explain my question clearly, so nobody answer me. :) I embed a Java3D applet in an html to present some 3D models, in the applet I use VrmlLoader to load outer VRML files (.wrl files), My puzzle is: the applet cann't load the wrl files correctly because