Enrique, The View Frustum culling code relies on some new features in Java 3D 1.3 so there is no way to run the demo on older versions of Java 3D.
This is beacuase the view frustum is very important in reducing the amount of computation the ROAM algorithm performs. If you assumed an infinite frustum you would end up doing so much extra computation and rendering that the algorithm would no longer be interesting. Rgds Paul >Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Date: Fri, 8 Feb 2002 14:51:45 -0800 >From: Enrique Dumas <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] ROAM and GPU Usage (off-topic) >To: [EMAIL PROTECTED] > >Hello Justin, > >I downloaded the code and tryed to run the CullingDemo >sample. >It seems that only j3d 1.3 beta is supported (using >1.2.1_03 gives errors during compilation) >So is there a way to use the current "stable" version >? > >I tryed to see crater_0513.bt and ratcliff_1k.bt >files. >For crater_0513.bt, I don't see the effect of your api >on the rendering, perhaps there is a way to draw cells >with differents colors ? (I don't take a look at the >api yet) >For ratcliff_1k.bt, nothing appears on the canvas ! > >Thanks for your help ! > >________________________________________________ > > > >--- Justin Couch <[EMAIL PROTECTED]> wrote: >> Enrique Dumas wrote: >> >> > I'd like to know how many FPS we can expect with a >> > ROAM algotithm : I currently have a map which size >> is >> > 80 * 80 quads and my FPS on a PIII 800 with >> geforce II >> > is "only" 10-11 FPS (I am using j3d 1.2.1_03 on >> win98) >> > without moving the terrain >> >> Similar hardware, except it's a laptop running an >> ATI Rage M3 - ie no >> h/w T&L and pretty crap texturing. On lit, shaded, >> coloured, but no >> textures TriangleArrays using GeomByRef the code is >> getting roughly >> 40fps. Canvas size is about 200x300 pixels but I >> don't appear to be >> fillrate bound because it doesn't change when I size >> the window bigger. >> The underlying terrain size is 513x513 grid points >> (ie 512x512 quads) >> >> > I don't know why but I'd like >> > to know if there are others tricks to apply to >> expect >> > a better FPS (my geometry is triangleStripArray) >> >> Take a look at the code in org.j3d.terrain.roam for >> some hints :) >> Ideally you could use that code in your application >> rather than writing >> your own and you can help contribute some >> development time to optimising >> it :) >> >> I'm just in the process of dumping the latest >> javadocs to >> http://code.j3d.org/javadoc/ >> >> > I tryed to use the view frustrum culling from j3d >> but >> > I am at this time at the same point !!! >> >> Our roam algorithm does VFC manually. Paul wrote >> this nice frustum model >> that can handle multiple canvases and gives you a >> fast IN/OUT/CLIP test >> for visibility. >> -- >> Justin Couch >> http://www.vlc.com.au/~justin/ >> Freelance Java Consultant >> http://www.yumetech.com/ >> Author, Java 3D FAQ Maintainer >> http://www.j3d.org/ >> >------------------------------------------------------------------- >> "Humanism is dead. Animals think, feel; so do >> machines now. >> Neither man nor woman is the measure of all things. >> Every organism >> processes data according to its domain, its >> environment; you, with >> all your brains, would be useless in a mouse's >> universe..." >> - >> Greg Bear, Slant >> >------------------------------------------------------------------- >> >> >=========================================================================== >> To unsubscribe, send email to [EMAIL PROTECTED] >> and include in the body >> of the message "signoff JAVA3D-INTEREST". For >> general help, send email to >> [EMAIL PROTECTED] and include in the body of the >> message "help". > > >__________________________________________________ >Do You Yahoo!? >Send FREE Valentine eCards with Yahoo! Greetings! >http://greetings.yahoo.com > >=========================================================================== >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff JAVA3D-INTEREST". For general help, send email to >[EMAIL PROTECTED] and include in the body of the message "help". ---------------------------------------------------------- Paul Byrne Email : [EMAIL PROTECTED] Sun Microsystems Phone : (650) 786 9926 Visualization Software Group Fax : (650) 786 5852 ---------------------------------------------------------- =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".