Re: [JAVA3D] problems with PickCanvas

2004-09-08 Thread Marcin Jasiński
Try to set pickCanvas.setTolerance(0 ); I got a similar problem and this was a solution Marcin DS> Hi, DS> In my scene I have a big Box with four Shperes. DS> Like this: DS> front: side: DS> +-+ + DS> |() ()| (|) DS> | | | DS> |() ()| (|) DS> +-+ +

[JAVA3D] Run as an applet

2004-09-08 Thread FantasyFooty.org
Apologies if this has been asked before, but is there any way to run a Java3D applet without installing it first. ie. is it possible to dump all the api on the server? === To unsubscribe, send email to [EMAIL PROTECTED] an

Re: [JAVA3D] Run as an applet

2004-09-08 Thread Ben Moxon
Unfortunately not,  but if you want an easy deployment for an application you might want to look at Webstart. -Original Message-From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]On Behalf Of FantasyFooty.orgSent: 08 September 2004 16:48To: [EMAIL PROTECTED]Subje

[JAVA3D] Loading Terragen terrains

2004-09-08 Thread FantasyFooty.org
Does anyone know how I can import Terragen terrains as a Shape3d. What loader do I need? === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general hel

Re: [JAVA3D] Out of memory

2004-09-08 Thread Alessandro Borges
I am not sure if you are misspelling but you must type -Xmx512m for 512 mb as maximum memory size and -Xms128m for a initial heap with 128 mb A few days ago I saw a tip about removing/add bg w/o leaking memory... Search in the posts of last month. I guess you can find it. Alessandro --- Mike G

Re: [JAVA3D] problems with PickCanvas (continues)

2004-09-08 Thread Denis Santos
Thanks Marcin, I tried what you said but the problems contineus. The problem can't be with the Spheres. because when i comment the line where the box is added to the scene, all the spheres are identified correctly. my code: In the constructor of my behavior class: (...) pickCanvas = new Pick

Re: [JAVA3D] Loading Terragen terrains

2004-09-08 Thread John Wright
The last time I looked at Terragen (assuming I'm remembering the correct program) it generates a 2D image (i.e. JPEG). - John Wright Starfire Research Justin Couch wrote: FantasyFooty.org wrote: Does anyone know how I can import Terragen terrains as a Shape3d. What loader do I need? Do you know wh

Re: [JAVA3D] Loading Terragen terrains

2004-09-08 Thread Justin Couch
FantasyFooty.org wrote: Does anyone know how I can import Terragen terrains as a Shape3d. What loader do I need? Do you know what file format(s) Terragen can export? That will be your best bet of then looking something up in the loader index at http://www.j3d.org/utilities/loaders.html -- Justin Co

Re: [JAVA3D] Loading Terragen terrains

2004-09-08 Thread Justin Couch
John Wright wrote: The last time I looked at Terragen (assuming I'm remembering the correct program) it generates a 2D image (i.e. JPEG). Ah, just a raster height-map? If so, j3d.org has a couple of classes that could be useful for you to play with. Have a look at the class org.j3d.geom.terrain.Hei

Re: [JAVA3D] Loading Terragen terrains

2004-09-08 Thread John Wright
Terragen does a really great job of creating a beautiful landscape. I'm assuming anyone using it would want all the beautiful texturing. Great for making beautiful pictures (perhaps backgrounds) but I never found a good way to use it with Java 3D (I'm not sure you can even get the height map export

Re: [JAVA3D] Out of memory

2004-09-08 Thread Gilson Laurent
Moin > KRK in his problem got the out of memory problem only > after repeated additions and deletions from his branch group Look at: [JAVA3D] Memory leakage when detaching content (was: [JAVA3D] What happened?) send from Andre Bialojahn <[EMAIL PROTECTED]> on 2004-04-14 22:43 start quote: (..

Re: [JAVA3D] Out of memory

2004-09-08 Thread Andre Bialojahn
Mike, > Current Issue 25 is filed for " Memory leak of removed scene graph objects". > The issue is not very detailed and lacks a test case. I know there was talk > previously about removing a branchgroup and the retained graph not cleaning > up properly, but do not remember the work around. > >

Re: [JAVA3D] Out of memory

2004-09-08 Thread Andre Bialojahn
Gilson, > Moin <:-)) >> KRK in his problem got the out of memory problem only >> after repeated additions and deletions from his branch group [...] > That is the ONLY REALLY SURE FACT that is repeated in all good > in-deep-examinations about the frequent-SG-remove/change = mem-leak > = OutOfMem

Re: [JAVA3D] Loading Terragen terrains

2004-09-08 Thread á͹´ÃÙÇì à´ÇÔÊѹ (Andrew Davison)
> Does anyone know how I can import Terragen terrains as a > Shape3d. What loader do I need? There's a chapter on using Terragen in "Java Graphics and Gaming" at http://fivedots.coe.psu.ac.th/~ad/jg/ The direct link is to chapter 17.5: http://fivedots.coe.psu.ac.th/~ad/jg/ch175/ - Andrew (I hav

Re: [JAVA3D] Loading Terragen terrains

2004-09-08 Thread FantasyFooty.org
Thanks everyone. I'm currently in the process of going through the loaders trying to find what's the best free combo of loaders/3D visual editing software for terrains and shapes. Terragen creates *.ter files which the Sun loader doesn't seem to like. The system just hangs with no stack trace. ==

Re: [JAVA3D] Loading Terragen terrains

2004-09-08 Thread FantasyFooty.org
How do you actually get the Terragen file to load in Java though? - Original Message - From: "á͹´ÃÙÇì à´ÇÔÊѹ (Andrew Davison)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 09, 2004 2:39 AM Subject: Re: [JAVA3D] Loading Terragen terrains > > Does anyone know how