Re: [JAVA3D] Memory leak

2003-10-29 Thread Osama Abdalah
Thank you all for your concern, But if any one have found this problem before and solved it please give me a hint since i thing that this problem is not a minor one since implementing java3D over swing components is not a strange thing to do,I hope to find a solution soon since this is critical

[JAVA3D] Embedding 2D graph in 3D scene

2003-10-29 Thread Olivier Lefevre
Hi, I am new to 3D stuff and I would like a rough idea of whether it is possible to embed (that is, to transform) a 2D graph so that it can be rotated in 3D and look "correct". The graph in question is not a static image held in file or memory but something that must be drawn and possibly upda

Re: [JAVA3D] Memory leak: A simple idea

2003-10-29 Thread Jean-Robert D'Amore
Noticing the same problems with memory leaks, here is what I do each time I remove/add new graphics to display to force freeing memory:                 mainWindow.setState(Frame.ICONIFIED);         try{ Thread.sleep( 20); }         catch( InterruptedException ie) {}         mainWindow.setState

[JAVA3D] Changing a line color??

2003-10-29 Thread Silvano Maneck Malfatti
I am inserted a line in a Shape3D and before It´s add in a BranchGroup. I like to know what can I do to change the color line again, after it is inserted into a shape3d and branchGroup. I need to get the line that was insert in BranghGroup?? How I can do it? As follow, my code is: Shape3D crea

[JAVA3D] Collision Detection

2003-10-29 Thread Cassia Trojahn dos Santos
I need to detect the collision between object and viewer (avatar). My scene is a set of rooms, and I do not want the viewer to run through walls. I use WakeupOnCollisionEntry and WakeupOnCollisionExit conditions ... but how avoid the modification in transform related to viewer? Thanks a lot.

Re: [JAVA3D] Collision Detection

2003-10-29 Thread Christian Britton
Huuum... You mean the fact that your viewer actually goes partly through the wall? To fix that, just make the viewer's collisionBounds a bit bigger (trial and error) till he no longer goe through the wall.  8*)   Hope this helps, CHRIS - Original Message - From: Cassia Trojah

Re: [JAVA3D] Memory leak: A simple idea

2003-10-29 Thread Fei Li
Hi Jean,   From your test I can say it is not memory leak at all. It is Java gc working. Otherwise you won't get memory back even you sleep all day.:)     - Original Message - From: Jean-Robert D'Amore To: [EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 10:47