Re: [JAVA3D] robot motion animation

2003-10-30 Thread á͹´ÃÙÇì à´ÇÔÊѹ (Andrew Davison)
Dear All, I've added a new online chapter to my Java 3D games book about programming an articulated, moveable figure. It's at: http://fivedots.coe.psu.ac.th/~ad/jg/ch115/ The figure is coded in Java 3D without the use of VRML geometry. Instead we've used our own LatheShape3D class which was deve

[JAVA3D] Transparency and DirectX

2003-10-30 Thread "Schäfer, Peter"
I have some trouble creating a partially transparent object with Java3D for DirectX:       TransparencyAttributes ta = new TransparencyAttributes(TransparencyAttributes.FASTEST, 0.5f);   However, the resulting object is completely transparent (i.e. invisible) ! I also tried other tranparency

Re: [JAVA3D] Memory leak: A simple idea

2003-10-30 Thread Osama Abdalah
Thank you for your concern but can you clarify where should i put those lines,before i close the window(Closing the Widow Event)? Best Regards --- Jean-Robert D'Amore <[EMAIL PROTECTED]> wrote: > Noticing the same problems with memory leaks, here > is what I do each > time I r

Re: [JAVA3D] Memory leak: A simple idea

2003-10-30 Thread Florin Herinean
I think there is another explanation for what Jean is observing: Windows is detecting that the window is no longer fully active, and then it discards large blocks of unused data. That phenomenon is visible with *any* windows program. It's part of how Windows handle memory usage.   Besides th

Re: [JAVA3D] Memory leak: A simple idea

2003-10-30 Thread Osama Abdalah
Thank you for being so fast in answering but in my application i trace memory used by it and every time i close my JDialog only 5MB is released(From about 25 MB Jump) and when i open it again it jumps 25MB so i donot think that that java reuses memory and this means that i have about 20MB increase

Re: [JAVA3D] Transparency and DirectX

2003-10-30 Thread Michael Pfeiffer
The TransparencyAttributes seem to be correct and I have never seen this effect (using Windows/DirectX and Linux/GLX). Possibly the reason for this problem can be found somewhere else in your scene graph!? Le Thu, 30 Oct 2003 09:25:24 +0100, Schäfer, Peter <[EMAIL PROTECTED]> a écrit: I have some

Re: [JAVA3D] Memory leak: A simple idea

2003-10-30 Thread Florin Herinean
Ok, so *you* have a classical memory leak. The resources that your JDialog is using (including java3d resources) are not freed, and besides that each time you open your dialog you create new resources! There are 2 solutions: 1. make sure that all resources are freed. 2. try to reuse the dialog an

Re: [JAVA3D] Memory leak: A simple idea

2003-10-30 Thread Jean-Robert D'Amore
All right, so forcing the GC by iconifying the window does not really "free" the memory, i.e. the memory is not given back to the OS. I know it is the case for all windows application, it even works if you iconify the windows console !! (if your program is run from a console). Anyway, it is u

Re: [JAVA3D] Memory leak: A simple idea

2003-10-30 Thread Florin Herinean
  -Original Message-From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]On Behalf Of Jean-Robert D'AmoreSent: Donnerstag, 30. Oktober 2003 10:27To: [EMAIL PROTECTED]Subject: Re: [JAVA3D] Memory leak: A simple idea By the way, I noticed that past 125MB I have a

[JAVA3D] lw3dLoader

2003-10-30 Thread Hristo Matev
Hello, I want to load lw3d-objects in j3d and then get everyone of them in a way so I can set some capabilities. Say if I have a Scene with 2 Objects (a terrain and house), then I would like to set ALLOW_INTERSECT, ALLOW_COUNT_READ, ALLOW_FORMAT_READ, ALLOW_COORDINATE_READ for Terrain Following (t

[JAVA3D] Triangle intersections in space

2003-10-30 Thread Robert Gomez-Reino Garrido
Dear All, Does anybody know how I can find the intersection points of 2 triangles(solid triangles so that the intersection can be a segment) in a the 3D space if I know the 3 coordinates of the vertex of each one? Any idea, code...? Thanks. Boby

[JAVA3D] developing a 3d desktop

2003-10-30 Thread stereo typical
hi, Im planning to develop a 3D desktop onto an existing windows desktop.Its is not replacing windows but it works seamlessly with the current windows desktop.The movement and navigation within the 3D virtual desktop is identical to a 3D video game. I would like this desktop to be able to launch

Re: [JAVA3D] developing a 3d desktop

2003-10-30 Thread Nicholas Pappas
Im planning to develop a 3D desktop onto an existing windows desktop.Its is not replacing windows but it works seamlessly with the current windows desktop. I'm uncertain as to what you are envisioning when you say it will "work seamlessly with the current windows desktop," and how you are wa

Re: [JAVA3D] developing a 3d desktop

2003-10-30 Thread Ben Moxon
I agree that this sounds basically more like a directX project. You don't really gain anything from platform independance or java working inside the virtual machine (in fact these both play somewhat against you) if you are working only to replicate windows functionality so J3d is probably not th

Re: [JAVA3D] developing a 3d desktop

2003-10-30 Thread Josh Richmond
In case you're curious, this (http://www.vizible.com/) Toronto-based company had a very similar product. I'm not sure what they're doing with it now. >>> [EMAIL PROTECTED] 10/30/03 11:54AM >>> hi, Im planning to develop a 3D desktop onto an existing windows desktop.Its is not replacing windows b

Re: [JAVA3D] Collision Detection

2003-10-30 Thread Bradley Vender
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. Wa

Re: [JAVA3D] developing a 3d desktop

2003-10-30 Thread John Richardson
Hello, I believe there was a demo of such a system at the Web3D event at Siggraph. Perhaps one of the BOF's. Perhaps trolling the Web3D consortium's web site. John F. Richardson === To unsubscribe, send email to [EMAIL PROTE

Re: [JAVA3D] Transparency and DirectX

2003-10-30 Thread Christian Britton
I'm using DirectX Java 3D on my Radeon 9700 and all transparencies are flawless, even the FASTEST (the quality on that mode actually surprised me). I'm guessing your Appearance isn't set up properly... Here's a sample from out game:   appGhostSlimer = new Appearance();    appGhostSlimer.setM

Re: [JAVA3D] developing a 3d desktop

2003-10-30 Thread Christian Britton
You might wanna check out this product, it does exactly that: "3DNA Desktop 1.1"   As for Java being the best solution... I think: a) Java would be slower than other languages; b) A 3D overhead on normal tasks would be fun, but RAM and CPU intensive (specially Java 3D because my CPU shoots 1

[JAVA3D] collision avoidance/terrain following

2003-10-30 Thread Flavius Alecu
ok, another thread about this stuff... Here's my problem...I read everything I found on the subject and I found the tutorials on j3d.org to be the most useful ones for me... So now I understand how to implement the collision avoidance and terrain following, but I just don't have that J3D knowledge

Re: [JAVA3D] collision avoidance/terrain following

2003-10-30 Thread á͹´ÃÙÇì à´ÇÔÊѹ (Andrew Davison)
Flavius, > So now I understand how to implement the collision avoidance and terrain > following, but I just don't have that J3D knowledge. There are two or three chapters in my online book that may help: Ch. 16 3D Maze http://fivedots.coe.psu.ac.th/~ad/jg/ch16/ Ch. 17 Fractal Land http://fi