[JAVA3D] picking individual geometries from a multiple geometry shape3d

2003-03-05 Thread Anirban Bhadore
Hi All, Its a great benefit to club geometries together into lesser no of shapes in the scene graph. I was just wondering if there is any way to still pick different geometries individually and change the appearance of the geometry. Lets take one example. Lets say there is a scene which has 2700

Re: [JAVA3D] AA- Java3D Frame Buffer Card Solaris

2003-03-05 Thread Mark Hood
> Date: Wed, 5 Mar 2003 23:50:45 -0500 > From: Kyle McDonald <[EMAIL PROTECTED]> > > Yes this will work and I didn't think of it, but as you describe below > it's a little complicated to be able to see what the Java3D app is > doing. And I think it's impossible to interact with it (push swi

Re: [JAVA3D] AA- Java3D Frame Buffer Card Solaris

2003-03-05 Thread Kyle McDonald
Mark Hood wrote: Date: Wed, 5 Mar 2003 21:06:20 -0500 From: Kyle McDonald <[EMAIL PROTECTED]> The only way to have Java3D use the video board in your Solaris machine is to sit at the console (monitor and keyboard) of that solaris machine. Ok I should have said 'is to have J3D display to th

Re: [JAVA3D] AA- Java3D Frame Buffer Card Solaris

2003-03-05 Thread Mark Hood
> Date: Wed, 5 Mar 2003 21:06:20 -0500 > From: Kyle McDonald <[EMAIL PROTECTED]> > > The only way to have Java3D use the video board in your Solaris > machine is to sit at the console (monitor and keyboard) of that > solaris machine. It depends on what you need. I actually do this all the

Re: [JAVA3D] AA- Java3D Frame Buffer Card Solaris

2003-03-05 Thread Kyle McDonald
Jefferson Samuel wrote: Hello all, I installed sdk1.4.1 + java3d1.3 openGL 1.2.2 in my computer (Solaris 8 box), but I can't run any demo program now. When I executed the program, I get the followed message. I connect to my Solaris 8 box through vncclient software. Graphic card used: PGX64 8/24-

Re: [JAVA3D] AA- Java3D Frame Buffer Card Solaris

2003-03-05 Thread Mark Hood
> Date: Wed, 5 Mar 2003 00:25:33 -0700 > From: Jefferson Samuel <[EMAIL PROTECTED]> > > I installed sdk1.4.1 + java3d1.3 openGL 1.2.2 in my computer (Solaris > 8 box), but I can't run any demo program now. When I executed the > program, I get the followed message. > > I connect to my Solar

Re: [JAVA3D] help with Save Scenegraph

2003-03-05 Thread Mark Hood
> Date: Wed, 5 Mar 2003 13:39:00 -0700 > From: Yi <[EMAIL PROTECTED]> > I'm wondering if there is a way to save modified scenegraph after some > transformations such as scaling, translation and rotation on initial > scenegraph? I have searched previous messages on this, but the only way >

Re: [JAVA3D] ? Garbage Collection - memory does not decrease ?

2003-03-05 Thread trz
ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA) wrote: Below is a copy of a post someone put to this group in 1998!!! There was no answer in that thread and searching the archives I have not yet found an answer...so, I'm going to ask you all about it. Do you know how to get back the memory after removin

Re: [JAVA3D] Lacking in java3d-utils-src.jar

2003-03-05 Thread Kelvin Chung
Toshiyuki Ishimura wrote: >Hi, >I try to compile java3d util lib from java3d-utils-src.jar but I can't >do it. >It seems that the following java source codes are lacking in the jar file. > >com.sun.j3d.utils.scenegraph.io.retained.RuntimeException >com.sun.j3d.utils.scenegraph.io.state.javax.media

[JAVA3D] help with Save Scenegraph

2003-03-05 Thread Yi
Hi, everyone: I'm wondering if there is a way to save modified scenegraph after some transformations such as scaling, translation and rotation on initial scenegraph? I have searched previous messages on this, but the only way discussed before was to use SceneGraphFileWriter, which requires Simp

Re: [JAVA3D] Serializing Shape3Ds

2003-03-05 Thread kindy huang
Hi Brandon, your message is helpful, while could you please tell me more details about how to use com.sun.j3d.utils.scenegraph.io? Are you using it in a standalone application or a networked application? For ex. in client - server mode,how to let server generate a scenegraph and send it to client

[JAVA3D] Multitexture & separate specular colour handling

2003-03-05 Thread Justin Couch
Anyone tried to do separate specular colour handling with multitexture? I'm trying to find the equivalent of GL_SEPARATE_SPECULAR_COLOR to allow the use of separate specular highlighting of normal textures. -- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit

Re: [JAVA3D] ? Garbage Collection - memory does not decrease ?

2003-03-05 Thread Sean Sylvis
I believe only the objects in the com.sun.j3d.util.geometry package implement this capability. Other objects should be GCed when removed from the scene graph as expected. Sean > -Original Message- > From: ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA) > [mailto:[EMAIL PROTECTED] > Sent: Wedn

Re: [JAVA3D] ? Garbage Collection - memory does not decrease ?

2003-03-05 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
Good point...that did make the garbage collection work although it causes you to have a much larger memory hit from the start since you are not sharing the geometry. But, though this may be a partial solution (or tradeoff) for Java3D objects that have this capability, what about things that don't

[JAVA3D] Xj3D M7 Release

2003-03-05 Thread Alan Hudson
We are proud to announce the availability of the M7 Xj3D release. Highlights of this release include: Navigation fix to stop mouse stutter XML support for final ISO doctype, SF/MFString handling and meta tags. The XML encoding is now ready for prime time. Lots of small issues worked out s

Re: [JAVA3D] ? Garbage Collection - memory does not decrease ?

2003-03-05 Thread Sean Sylvis
By default, the Sphere class (and all of the Primitives) share their geometry. The Sphere class maintains a reference to that Sphere geometry so it can be shared when another Sphere with the same properties is desired. So, even if you remove the Sphere from the scene graph, it will not be GCed.

Re: [JAVA3D] ? Garbage Collection - memory does not decrease ?

2003-03-05 Thread Trung Tran
Oh right, you added them using "new." This is not clean, but you can take out each sphere prior to removing it within the removeSpheres() method. At 11:08 AM 3/5/2003 -0600, you wrote: how exactly do you suggest I set them to null? I don't keep an explicit reference to them...should I be? Mario

Re: [JAVA3D] ? Garbage Collection - memory does not decrease ?

2003-03-05 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
how exactly do you suggest I set them to null? I don't keep an explicit reference to them...should I be? Mario Mariusz Zaczek NASA - Johnson Space Center Automated Vehicles and Orbit Analysis / DM35 Flight Design and Dynamics Division Mission Operations Directorate Bldg: 30A Room: 3040A D

Re: [JAVA3D] ? Garbage Collection - memory does not decrease ?

2003-03-05 Thread Trung Tran
I believe that when you remove the children, those children are taken out of the branchgroup but the references to those children still are valid so GC did not remove them. GC will probably removes those children later on when it determined that the children are no longer being used. A simple met

[JAVA3D] ? Garbage Collection - memory does not decrease ?

2003-03-05 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
Below is a copy of a post someone put to this group in 1998!!! There was no answer in that thread and searching the archives I have not yet found an answer...so, I'm going to ask you all about it. Do you know how to get back the memory after removing a child from a parent? I run my code where I ha

[JAVA3D] Lacking in java3d-utils-src.jar

2003-03-05 Thread Toshiyuki Ishimura
Hi, I try to compile java3d util lib from java3d-utils-src.jar but I can't do it. It seems that the following java source codes are lacking in the jar file. com.sun.j3d.utils.scenegraph.io.retained.RuntimeException com.sun.j3d.utils.scenegraph.io.state.javax.media.j3d.TransformIn

[JAVA3D] Out of Topic: How to find the maximum area rectangle inside a polygon

2003-03-05 Thread Pasi Paasiala
Title: Out of Topic: How to find the maximum area rectangle inside a polygon Hello, Does anybody of you know an algorithm to find the largest area rectangle enclosed in a polygon? Alternatively I could use a check that could say if a rectangle of a given size fits inside a polygon or not

[JAVA3D] stereo properties for opengl

2003-03-05 Thread Karsten Fries
Hi there, does anyone have a nice stereo implementation for the open gl version of java3d. i implemented a little stereo setting, but the eyes look parallel into the scene. how can i focus them on a specified point? Point3d leftEye = new Point3d(); getView().getPhysicalBody

[JAVA3D] Normal generation

2003-03-05 Thread Peter Szinek
Dear all, I am having a little trouble over here with normal generation: I am generating an n-faced mesh from one triangle and n-1 matrices so that the 1st triangle of the mesh is the original one and the i-th one is generated from the original one transformed with the affine transformation descr