Re: [JAVA3D] improving performance in access to multidimensional array ele ments

2003-02-05 Thread Nathan Bower
Title: Re: improving performance in access to multidimensional array elements Alan,   (suppose this is relevant to the list too)   I re-read your email just now. I always try to allocate the full array (2-dimensional or n-dimensional) at the point of declaration. I had an incle-ing that this

Re: [JAVA3D] improving performance in access to multidimensional array element s

2003-01-28 Thread Nathan Bower
Title: improving performance in access to multidimensional array elements Hi Alan,   Great program! I have a question for you - I use 2D arrays of integers in my program either of 400x400 cells or 800x800 cells, and operate on the values (perhaps 5-10 accesses to each value) individually. I c

Re: [JAVA3D] java3d cones

2003-01-24 Thread Nathan Bower
float getHeight() Returns the height of the cone from the java3d (1.3) docs. :) N - Original Message - From: "Brobbey,Isaac (neuron)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 6:46 PM Subject: [JAVA3D] java3d cones > Dear all, >

Re: [JAVA3D] A little help with code / system resource efficiency

2003-01-21 Thread Nathan Bower
how are you measuring "used memory"? If using the system monitor thingy I dont think it will show any internal releases of memory inside the JVM at runtime. Im sure I listended to someone say something about this at one point, but I cant quite remember. I THINK the VM never releases resoursces tha

Re: [JAVA3D] ROAM, Delaunay and terrain-discuss list archive

2003-01-21 Thread Nathan Bower
If the grid of vertexes is regular (x point by y points of constant separation), Delaunay triangulation would not be needed, and is 1000x less efficient than a regular grid triangulator that I have. So i presume something must be wrong with the implementation. Is it possible for your data to have

[JAVA3D] SMP - interactively loading large objects.

2003-01-18 Thread Nathan Bower
OK, I dont have SMP on my machine, and Im wondering if anyone has used java3d on a multi-processor setup. As far as I understand J3D is written to take advantage of MP, and XP and 2000 are supposed to be fairly good (perhaps that should just be "better") at it. Is the system more responsive when r

Re: [JAVA3D] refresh screen from behavior

2003-01-18 Thread Nathan Bower
each time something is attached rather than at the end of the default initialize() methods running. Please note initialise is my preferred spelling - not a mistake. Kind regards, Nathan - Original Message ----- From: "Nathan Bower" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

[JAVA3D] refresh screen from behavior

2003-01-18 Thread Nathan Bower
Hi, Simple question really, and I suppose there is a simple answer. I have a behaviour that loads objects into the scenegraph. After each object is attached I want the screen to update and show the changes before the next object starts to load (takes 4 minutes to load all objects). Currently its

Re: [JAVA3D] WG: [JAVA3D] AW: [JAVA3D] ? Frame Rates ?

2003-01-16 Thread Nathan Bower
260FPS PIII 800 Geforce3-Ti200 @ default clock speeds - Original Message - From: "Florin Herinean" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 3:19 PM Subject: [JAVA3D] WG: [JAVA3D] AW: [JAVA3D] ? Frame Rates ? Again me, Was anybody curious enough to tes

Re: [JAVA3D] ? Frame Rates ?

2003-01-10 Thread Nathan Bower
> > For the system you're trying to run it on, yes, that's quite a complex > model. I'm guessing something around 10 - 15K polygons and a collection > of scripting. TNT cards are not known for being fast, and practically > become graphics decelarators when textures are applied. Not quite! I used t

[JAVA3D] Triangulating irregular grid of points.

2003-01-10 Thread Nathan Bower
Hello List, Ive been piddling around with a problem for a while now, and have not yet found an elegant solution. I have an array [x][y] that holds height values (x always equals y) and another identically sized array that holds importance values. From these arrays I extract height values only if

Re: [JAVA3D] Out of Memory error

2003-01-09 Thread Nathan Bower
I don't think this is really in the spirit of things. The first step on the path to knowing everything is knowing nothing you know. N > - consider this code snippet : ... > Vector comp1 = new Vector(); > comp1= processComplement(hix,viis); > objRoot.addChild(makeOneGraph(k,comp1))

[JAVA3D] Triangulating an irregular grid.

2003-01-06 Thread Nathan Bower
Hello List, Ive been piddling around with a problem for a while now, and have not yet found an elegant solution. I have an array [x][y] that holds height values (x always equals y) and another identically sized array that holds importance values. From these arrays I extract height values only if

[JAVA3D] test

2003-01-06 Thread Nathan Bower
Test: can anyone see this? N === 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

Re: [JAVA3D] JPEG 3D - output

2002-12-03 Thread Nathan Bower
why is it essential to output directly to a browser?   I dont understand why you would want to do this.   N - Original Message - From: André Barbosa To: [EMAIL PROTECTED] Sent: Tuesday, December 03, 2002 11:15 AM Subject: [JAVA3D] JPEG 3D - output People,

Re: [JAVA3D] Efficiency (follow up)

2002-12-01 Thread Nathan Bower
how much memory do you have? setting max to 1024 on a 128 meg system will cause disk swapping which is orders slower in terms of performance (40MBs-1 instead of upto well 1000MBs-1 in ram).   N - Original Message - From: Bura Tino To: [EMAIL PROTECTED] Sent: Sunday,

Re: [JAVA3D] Efficiency (follow up)

2002-12-01 Thread Nathan Bower
it could be garbage collection is running at those points.   do you compile your graph? what attributes do you set? Can you perform this transform somewherere farther up the scene graph - ie transform only 1 node and the subnodes automatically show the canges?   As a last resort I would down

[JAVA3D] nvidia stereo driver + Java3D = Crash

2002-11-26 Thread Nathan Bower
Hi, Ive found that whenever I uses nVidias stereo driver for my GeForce3 Ti200 my Java3D application (under XP and the DirectX API) will reliably crash when it is run for a second time. First time ok, second time crash. Strange. Anyone have similar experiences? Nathan

Re: [JAVA3D] Snooker / Billiards game

2002-07-23 Thread Nathan Bower
How about this - create a sphere then set the culling so that front facing triangles are culled, and back facing triangles are drawn. This way you should see the inside of the sphere. N > I think the sphere classes which are present create it using the triangle > array, so it would not be poss

Re: [JAVA3D] Antialiasing?

2002-07-22 Thread Nathan Bower
I have a Geforce3 Ti200, using the latest drivers. When i turn anti-aliasing on in the nvidia control panel thing it makes a difference. N > Well, I am using a GeForce2Go card (in my laptop), Windows 2000, OpenGL, > Java3d 1.3. > > Other applications I use have antialiasing features I can turn o

Re: [JAVA3D] Texture mapping

2002-06-13 Thread Nathan Bower
Time to buy a book I think Sagar. ... But briefly, Hardware texture mapping removes load from the cpu by "painting" the textures onto the shapes (there are several ways) instead of having the CPU do it before sending the results to the graphics card. But the CPU is hardware too I hear you cry? Y

Re: [JAVA3D] is java good for game development?

2002-06-13 Thread Nathan Bower
I think that the stencil buffer is basically an overlay image that is rendered "flat" on top of the 3d stuff. Well I think the "stencil" outlines which bits of the image are displayed, and which bits are transparent allowing you to see the 3d view. Good examples of using a stencil buffer would b

Re: [JAVA3D] Does anybody here use NVidia Quadro ?

2002-06-13 Thread Nathan Bower
http://www.asus.com.tw/vga/agpv8200t2/overview.htm That is the graphics card and glasses that I use. I have had it work well with java3d, from 120hz at 800*600, to 85hz at 1600*1200... in stereo mode. I use the stereo enabled drivers from the nvidia site. Search the archives for a post by me abo

[JAVA3D] Applet Memory Allocation

2002-06-13 Thread Nathan Bower
Hello,Quick question: I think that when you run a java3d application as anapplet the maximum amount of memory assigned to the java process(es) is64 megs. When running my program as stand-alone, I use the -Xmx switchto allocate 512 megabytes.Is there any way of allowing applets to use more m

Re: [JAVA3D] OrbitBehavior bug

2002-06-11 Thread Nathan Bower
> I have an orbit behavior attached to my view platform, > and I've noticed that if I zoom out past the bounds on > the behavior, the behavior disables and I can't zoom > back in. Is there a way around this? set the behavior bounds to double posative infinity? Alternativly you could have differe

Re: [JAVA3D] is java good for game development?

2002-06-11 Thread Nathan Bower
well its not that much slower and with a geforce 4 well I dont think speed is the foremost concern when choosing an api / language anymore. If you write efficient code, java3d will not be slow.   The main problem I think is that java3d is not going to use vertex shaders / displacemen

Re: [JAVA3D] Does anybody here use NVidia Quadro ?

2002-06-11 Thread Nathan Bower
> I tried GeForce 2, 3 and 4, but none of them worked with Stereo image (e.g., > left/right eye separated images) automatically. I am really sad about it! Hi, Ive had the geforce 3 running in stereo, using page flipping, and "blinky" glasses. Is this what you mean, or do you use the goggles wit

Re: [JAVA3D] Java3d performance

2002-03-10 Thread Nathan Bower
> Here's a screenshot to show off what I've been able to do in a short amount > of time. These shots are a little dated already, but they show signs of > something coming together. > http://vp2.onebigvillage.com/screens/tofutti.jpg > http://vp2.onebigvillage.com/screens/biggroup1.jpg Did anyone

[JAVA3D] Stereo Instability Bug?

2002-03-03 Thread Nathan Bower
List / Sunteam,   I have been having stability problems when developing my code. About every one in thirty or so runs the program would seemingly break. I would not be able to interact with the system at all, yet MP3's kept playing and the net (my computer is gateway) kept on working. The p

Re: [JAVA3D] ANNOUNCE: Book - "Java 3D Programming" online now

2002-03-02 Thread Nathan Bower
Good News! I have been waiting for this book for a while. However I have a problem; I live in the UK. Amazon.co.uk price = £44.99 (projected release March 31st) Amazon.com price = $34.96 (released now) So I decided to order the e-book version... but my card was refused! I use VISA, and have used

[JAVA3D] Best Design Pattern For concurrent Applet and standalone APP development.

2002-02-24 Thread Nathan Bower
Dearest Java3D,   I am currently re-vamping a program I wrote in java3d. This time I want the product to be equally 'at home' in either applet or stand alone form. I think that I have resolved most of the simple issues now, however it is not clear how it is best to handle the creation of fram

Re: [JAVA3D] Just little statistics.

2002-01-29 Thread Nathan Bower
Emacs for win32 How much is this Jbuilder? Do students get discount or anything? N === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, sen

[JAVA3D] Stereo Success!

2002-01-13 Thread Nathan Bower
Hello All,I am writing to report my success at enabling stereo viewing with java3d. Read on for a description of my setup HardwareAsus 8200 ti 200 deluxe (can clock core to 220 with mem at 450 fyi), Standard shutter glasses included with the above, Running at 1024*768*32bit @ 120 hertz on a

Re: [JAVA3D] OverlayTester problem

2002-01-06 Thread Nathan Bower
ill be *finally* > finished in the course of this month. > > Best of luck. > > Sincerely, > > Daniel Selman > > -Original Message- > From: Discussion list for Java 3D API > [mailto:[EMAIL PROTECTED]]On Behalf Of Nathan Bower > Sent: Sunday, January 06,

Re: [JAVA3D] OverlayTester problem

2002-01-06 Thread Nathan Bower
> I would try switching on verbose GC output for the JVM and see if the delay > coincides with GC. What platform/versions are you running on? OK I turned verbose on (very funky output) but this failed to show any problems, the fps is still written to the console (the stutters co-incide with this)

[JAVA3D] OverlayTester problem

2002-01-06 Thread Nathan Bower
Hi all,   Just been mucking around with the overlay packages, and davids OvelayTester class. I have a problem! The system becomes unresponsive about every second or so!   I have removed the chat dialouge test overlay, and the overlapping overlay sections leaving just the fps counter, but the

Re: [JAVA3D] Overlay Library

2002-01-06 Thread Nathan Bower
Hi David, list,You mentioned in your release of the overlay classfiles that it wasnt thefinal version. Do you have the final version now? I dont think I everrecieved it through the list :(TIA,NathanFrom a while back:> From: "David Yazel"> Here is our first cut at an overlay library.  This isn

Re: [JAVA3D] DirectX and OpenGL do they fit together?

2001-09-03 Thread Nathan Bower
A slightly better explanation would be: DirectX and OpenGL are the mechanisms that "render" the scene that you have created in java3D's scene space. They create the actual pixel color values that you see on your screen. They dont change the way that shape information is stored. The fact that you

Re: [JAVA3D] rebooting

2001-08-01 Thread Nathan Bower
heh, I suppose Im pretty lucky then... N > for some chipsets running under Windows 2000 and can > result in the machine becoming non responsive and > resulting in the reinstall of Windows 2000. Under 6 > systems tested, only 1 was very happy with the > change to an ACPI-less state. __

Re: [JAVA3D] rebooting

2001-07-31 Thread Nathan Bower
I can almost gaurantee that this is a problem with ACPI and your motherboard (which will use a VIA chipset). I had the same problem... and it drove me nuts... then one day it just stopped. Im not complaining, but im afraid that this means I cant really help you out! I have an abit VA6 I think, a

[JAVA3D] test

2001-07-22 Thread Nathan Bower
plz ignore.   N

Re: [JAVA3D] fullscreen

2001-07-10 Thread Nathan Bower
I use D3D implementation of J3D - fullscreen (and alt-enter) works fine, N > > I am using W2K with Java3D 1.2.1 OGL and java -Dj3d.fullscreen=REQUIRED > > MyApp with > > no success. How can I get fullscreen or at least delete the menubar. > Thanks > > > > Jack S. Gundrum =

Re: [JAVA3D] appletizing

2001-07-06 Thread Nathan Bower
the URL in a method > that isn't called by the applet, i.e. the main() method. When you are ready > to actually retrieve your image(maybe in a getTexture() method), you use the > global URL. > > B.D. > > >From: Nathan Bower <[EMAIL PROTECTED]> > >Reply-To:

[JAVA3D] appletizing

2001-07-06 Thread Nathan Bower
Hello guys, and gals,An appletizing problem (yum) for you here.Ive been turning my java3d standalone program into an applet for erm about a week now. Ive had a few tricky problems and this one I think somone else would have experienced before.In accessing a file (.jpg texture) I am using FIL

Re: [JAVA3D] Win2000 vs. WinNT

2001-07-05 Thread Nathan Bower
Sofar everyone has assumed its the jre / hardware that is causing the bottleneck. How about if the fps couning code is defunct? N === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "s

Re: [JAVA3D] Grafic card question

2001-05-09 Thread Nathan Bower
Justin, > You'd be surprised about how much programmers don't understand many > really fundamental things about computer programming. That is, they are > never taught (and probably rightly so) this like about how a for loop > gets converted to a set of CPU op-codes and then what those opcodes > m

Re: [JAVA3D] Making a starfield Background with PointArray

2001-05-09 Thread Nathan Bower
Im not sure this will work, but its worth trying   PointArray starGeom1 = new PointArray(7, PointArray.COORDINATES); Appearance starAppear1 = new Appearance();starGeom1.setCoordinate( 0, new Point3f( 0.79483311f, -0.58810995f,  0.14955615f));   starGeom1.setColor (index, new

Re: [JAVA3D] Java 1.2 vs 1.2.1

2001-03-28 Thread Nathan Bower
Hi mona,   You are constructing a canvas-3d without first setting a graphics configuration, which is naughty according to 1.2.1   This is what you need to do :    // Sets the requred or preffered rendering options    GraphicsConfigTemplate3D template = new GraphicsConfigTemplate3D(); templat

Re: [JAVA3D] Rotation around arbitary point

2001-03-24 Thread Nathan Bower
Rich, I have just had to solve this problem and would suggest looking at the UI framework located here : http://www.manning.com/Barrilleaux/ The ones you are interested are /navigating/oribtcamera.java The ebook probably wouldnt be a bad idea either... Hope that helps, N > Is there a meth

Re: [JAVA3D] 3D User Interfaces with JAVA3D - Canvas3d problem

2001-03-21 Thread Nathan Bower
Mistake, reconfigured below should be PRECONFIGURED! > After further investigation I have discovered that there seems to be no way > to fix this as the AppDisplay class provided and used by the code in the > book does not have a constructor that can be called with a Canvas3D, which > can of cours

[JAVA3D] 3D User Interfaces with JAVA3D - Canvas3d problem

2001-03-21 Thread Nathan Bower
Hello, I'm reading the 3D User Interfaces with JAVA3D, and have been experimenting with the CameraNavigating example. I have noticed that every single example in this book constructs Canvases without first getting the GraphicsConfiguration of the local machine. After further investigation I hav

Re: [JAVA3D] Maximum texture size

2001-03-15 Thread Nathan Bower
x4096 texture > could be 64 Meg (depending on the color depth you are using). I doubt > this has anything to do with Java 3D. > > - John Wright > Starfire Research > > Nathan Bower wrote: > > > > Hello everybody, > > > > I am texturing a triangle

[JAVA3D] Maximum texture size

2001-03-15 Thread Nathan Bower
Hello everybody, I am texturing a triangle strip array with a standard jpeg image. Renders fine when using any (2^n) resolution upto and including 2048 * 2048, however it does not work with 4096 * 4096. Has anyone else had this problem? Is it a simple restriction of java-3d, or is there a work a

[JAVA3D] GeForce 3 Videos

2001-03-01 Thread Nathan Bower
Allthough offtopic, I think that everyone here will appreciate the link : http://www.dailyradar.com/features/game_feature_page_2363_1.html Regards, Nathan === To unsubscribe, send email to [EMAIL PROTECTED] and include in