Re: [JAVA3D] Bug in triangulating polygons with multiple contours

2003-01-15 Thread Tero Karhunen
Title: RE: [JAVA3D] Bug in triangulating polygons with multiple contours Ok, thanks for the input from both of you. I have managed to isolate another case (from a shape of 840 polygons phewww...) where this happens again and this time changing the sense of the hole doesn't work.

[JAVA3D] Problem by compiling script

2003-01-15 Thread Ruprecht Helms
Hi, I've some problem in compiling a testscript containing java3d stuff. By the compiling I get different errors. First an illegal Startingpoint by the forloop is reported and than there follows different errors that packages are not found. When I compile and execute the examples of the api (Hel

Re: [JAVA3D] Something wrong about Raster?

2003-01-15 Thread John Wright
TextureLoader is capable of loading "textures" / "images" of sizes other than powers of two. It will automatically adjust the image for you. So it can be flexible if you let it. (I try to make all my textures powers of two so such adjustments aren't necessary) - John Wright Starfire Research G

[JAVA3D] AW: [JAVA3D] Java3D Memory Leaks

2003-01-15 Thread Florin Herinean
-Ursprüngliche Nachricht- Von: Kelvin Chung [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 14. Januar 2003 23:04 An: [EMAIL PROTECTED] Betreff: Re: [JAVA3D] Java3D Memory Leaks > It is a bug if the BranchGroup remove but Node such as Shape3D under it > is still reference by Java3D. > Howe

[JAVA3D] Need help with transparency

2003-01-15 Thread SUBSCRIBE JAVA3D-INTEREST Anonymous
Hi, Well I think that I become crazy trying to do the following things : - create a buffered image buffer=new BufferedImage(width,height,BufferedImage.TYPE_INT_ARGB); - create an Image2D component im2d_1 = new ImageComponent2D(ImageComponent2D.FORMAT_RGBA,buffer); - create a tex

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

2003-01-15 Thread Florin Herinean
More probably there is a problem with the other code, which is eating processing power. I mean, from the figures below, the bottleneck are the calculations that you seem to be performing to update the gui, most probably at every frame. I have played with a simplified model, containing 3 spheres, 1

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

2003-01-15 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
It's probably true that my computation are a big cause...I'll try removing some and see what speedup I get. I do a lot of calculations for figuring out the angle between the orbit plane and the sun (Beta angle) and for diplaying the wedge as the angle...as well as other various calculations. thank

[JAVA3D] JTabbedPane Additional Controls

2003-01-15 Thread Nick Stark
Hello, I am wanting to set up some more advanced features for JTabbedPane, such as: 1) Putting a button on each tab to be able to close that tab. 2) Giving a pop-up menu when a right click is performed on the tab part of each panel. Does anyone know if the first one is even possible? The seco

[JAVA3D] Java3D application compatibility on computers

2003-01-15 Thread Nick Stark
I have an application that I have been installing on multiple computers, and although most computers have no problems at all, some computers I cannot get the 3D portion of the application to work properly no matter what I try. I've updated video drivers, manipulated video settings, tried using the

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

2003-01-15 Thread Florin Herinean
Also, I have seen from other emails from you, that you have a behavior that wakes up every 1 millisecond!!! That's hard to believe. For the normal PC under windows, the java time resolution is 10 ms. Even so, doing your calculation every 10 ms, supposing that the entire cpu power is given only to t

Re: [JAVA3D] ? Frame Rates ?

2003-01-15 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
I'm sorry I may have written incorrectly...basically I had the wakeupon condition set for a sampling time and it was set at 1 For my code, Yes, I try to updated every millisecond..basically as fast as possible. For my beta angle program I base in on elapsed frames (another code I have I use the

Re: [JAVA3D] Java3D application compatibility on computers

2003-01-15 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
I've noticed that some z-clipping issues with 3D were fixed if you just change the color setting under RightClick -> Properties -> Settings -> colors to 32 bits...when I had 16 bit colors then I had orbits appear as if they were in front of the planet when they should have been around the planet...

Re: [JAVA3D] Java3D application compatibility on computers

2003-01-15 Thread Nick Stark
Thanks for this suggestion...in this case it is more than a z-clipping issue. The unsuccessful cases I'm speaking of involve an entire system lockup when trying to open the panel with the 3D canvas (no errors showing up in the console window). Nick |-+--> |

Re: [JAVA3D] Xj3D M6 Release (SUCCESS!!)

2003-01-15 Thread Justin Couch
Michael P. McCutcheon wrote: By setting to the correct system/public id AND setting the classpath to the base dir of the x3d install, IT WORKS! WOO HOO! Before I did one, but not the other. Did the other, then tweaked the code..anyway, long story short it was just a confusing mess. Now I see th

Re: [JAVA3D] Something wrong about Raster?

2003-01-15 Thread Justin Couch
John Wright wrote: TextureLoader is capable of loading "textures" / "images" of sizes other than powers of two. It will automatically adjust the image for you. So it can be flexible if you let it. (I try to make all my textures powers of two so such adjustments aren't necessary) To add to Joh

Re: [JAVA3D] Java3D application compatibility on computers

2003-01-15 Thread John Wright
Nick, A standard PC running Win98 with a GeForce video card (with updated drivers) tends to run Java 3D fairly well. You mention "lock ups". Most locking up issues that I've seen appear to be memory, networking or sound related. From my own experience sound is the number one cause of lock ups.

Re: [JAVA3D] ? Frame Rates ?

2003-01-15 Thread Fred Klingener
Mario, The response to a WakeupOnElapsedTime() criterion is 1.) chunky and 2.) OS-dependent. 'Chunky' because the behavior event queue appears to be polled at an OS-dependent period that ranges from 30 or so milliseconds down to 10ms. Trying to control time with WakeupOnElapsedTime at a granular

[JAVA3D] [Pick capability]

2003-01-15 Thread Phos77
| Hi all, | I've loaded a VRML file using VRML97 loader (vrml97.jar). | Now I want to be able to set the capability bit to pick objects in the VRML | scene I've just loaded. | I want to set this bit for every Shape3D... | How is it possible? | | Thank you very much for any help! | | Fausto Mancini

[JAVA3D] [Picking]

2003-01-15 Thread Phos77
| Hi all,| I've loaded a VRML file using VRML97 loader (vrml97.jar).| Now I want to be able to set the capability bit to pick objects in theVRML| scene I've just loaded.| I want to set this bit for every Shape3D...| How is it possible?|| Thank you very much for any help!||Fausto Mancini

Re: [JAVA3D] ? Frame Rates ?

2003-01-15 Thread John Wright
Just to beat up this subject a bit more: Win98 - 55 ms WinNT(2000/XP) - 10 ms Linux - 1 ms Using WakeupOnElapsedTime can be very handy but it's not precise. I use it often to wake up once every five seconds or fifteen seconds but I've abandoned using it for anything under a quarter of a sec

[JAVA3D] Updating scene graph after switch.setWhichChild

2003-01-15 Thread Steve Bement
I have the 3 mouse behavior nodes (zoom, translate, and rotate) under a branch group called mouseBehaviorBranch. Then mouseBehaviorBranch is under a Switch node, called mouseBehaviorSwitch. We wanted to be able to turn on and off the mouse behavior - we have basically a "picking" mode, where user

Re: [JAVA3D] JTabbedPane Additional Controls

2003-01-15 Thread Hans Horn
Nick, Even though this is not the right place to ask this purely Java-related question, let me take a stab at it. At first glance it sounded tricky, but it wasn't too bad - see attachment. You'd have to provide the close icon, though! It's definitely not perfect (no control over icon placement),

[JAVA3D] detached BranchGroup issue

2003-01-15 Thread Lan Wu-Cavener
Hi, every one: I am looking for solution to this problem. I need to access a detached BranchGroup later on (not immediately after it was detached). I have saved it in a static variable , say bGroup,. when I query bGroup.numChildren(), I got 0. Is this due to the gc removing the children of the Bra

Re: [JAVA3D] [Pick capability]

2003-01-15 Thread Steve Bement
We had this same problem. I wrote a visitor and a traverser, so we can traverse the scene graph collecting all the visited nodes that we are interested in, and put them in a list. Then we iterate over the list, setting various capability bits. Phos77 wrote: | Hi all, | I've loaded a VRML file

[JAVA3D] help! arrow pointing from one box to another

2003-01-15 Thread Xiao hua Xian
Hi, Can anybody help me with my program? I want to draw an arrow pointing from one box to another. Now I confront three problems. 1. How can I get the intersection points of the two boxes with a line whose ends are the center points of two boxes? 2. How can I draw an arrow given the start ane

Re: [JAVA3D] Java3D application compatibility on computers

2003-01-15 Thread Alessandro Borges
S3 Savage4 dumps memory on win2K with some 3D operations. Does not matter if it is Java3D or not. I have locks/dumps with OpenGL native demos, DirectX demos, GLDirect trial etc etc. This card is not suited for 3D, besides the colored box says it. The last drivers are from 1999, and some "improves

Re: [JAVA3D] detached BranchGroup issue

2003-01-15 Thread Lan Wu-Cavener
Please ignore my previous message with this title. I found the error in my code. At 01:12 PM 1/15/2003 -0500, you wrote: Hi, every one: I am looking for solution to this problem. I need to access a detached BranchGroup later on (not immediately after it was detached). I have saved it in a static

Re: [JAVA3D] AW: [JAVA3D] Java3D Memory Leaks

2003-01-15 Thread Kelvin Chung
Florin Herinean wrote: -Ursprüngliche Nachricht- Von: Kelvin Chung [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 14. Januar 2003 23:04 An: [EMAIL PROTECTED] Betreff: Re: [JAVA3D] Java3D Memory Leaks It is a bug if the BranchGroup remove but Node such as Shape3D under it is still ref

[JAVA3D] I need help: Mouse problem

2003-01-15 Thread Brobbey,Isaac (neuron)
hi; i need a little help with java3D. i have a branchGroup with six children , and all the children are also branchGroups. then i do a detach of each child from the parent BranchGroup and append the child to a frame and finally show it. but when i do that the display both the child and the pare

[JAVA3D] Implementations of AudioDevice3D interface

2003-01-15 Thread Michael Schmitz
Hello there! I am looking for possibilities to implement spatialized sound with Java3D and found the AudioDevice3D interface. Is it possible to render multichannel sounds with this class in order to feed a 5.1 or 4.0 speaker setup? Because the AudioDevice class is limited to headphone- and stereo-

Re: [JAVA3D] I need help: Mouse problem

2003-01-15 Thread Hans Horn
Isaac, what exactly do you mean by "...and append the child to a frame..." ? H. === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send ema

Re: [JAVA3D] I need help: Mouse problem

2003-01-15 Thread Hans Horn
Isaac, I'd prefer that you PLEASE send your postings ONLY to the j3d mailing list and not copy me personally! Since I'm reading the mailing list anyways, I sure will read your postings too! Nevertheless, as far as your recent problem is concerned, again I have no clue at all what you are trying t

[JAVA3D] Removing a Capability

2003-01-15 Thread Brandon
Is there any way to remove a capability? If there is any way, even if that means you have to clone the object, please tell me. I ask because I want to save the scene graph and mess with it for a while, but when it is finally done, I want to (hopefully) increase performance by clearing unneeded capa

Re: [JAVA3D] [Pick capability]

2003-01-15 Thread Anthony Arobone
I recently wrote a simple scene traversal algorithm to go through the BranchGroup that the OBJ loader returns. This should get you started, you may have to tweak it to do what you need, change the capability bits and what not. - Anthony /** * Traverse scene graph to set terrain following capa

[JAVA3D] Repaint problem...

2003-01-15 Thread prashant
Hi I am a new member. I have developed a program which loads vrml and x3d files and displays it. The problem is when I add new branch group to existing branch group object it flashes for a second and then disappears. I tried using update method of canvas3d but that is not working. Does any one hav

Re: [JAVA3D] Something wrong about Raster?

2003-01-15 Thread GB Liu
Thank you for all your valuable suggestions. I found the following problem: TextureLoader loader = new TextureLoader(imageAddress, null); ImageComponent2D image = loader.getImage(); Texture2D texture = new Texture2D(Texture.BASE_LEVEL, Texture.RGBA, image.getWidth(), image.getHei

Re: [JAVA3D] [Pick capability]

2003-01-15 Thread Phos77
Thank you very much to Anthony Arobone and Steve Bement for the help. Fausto Mancini === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, sen