[JAVA3D] Java 3D FAQ Weekly Posting (18 Aug 2003)

2003-08-18 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday August 18 2003 This is a posting of topics covered in the Java 3D FAQ. The answers to these questions are kept at: http://www.j3d.org/faq Please consult this list and the web site before asking questions on the mailing list. If the

Re: [JAVA3D] excessive GC on GeometryUpdate

2003-08-18 Thread Tarlton Mark-CMT041
I ran into a similar problem earlier this year and the advice from Justin and Kevin Chung was to be sure to use the "IndexedTriangleArray.USE_COORD_INDEX_ONLY" with "GeometryArray.BY_REFERENCE" The reasoning is that IndexedGeometryArray is implemented using OpenGL vertex array calls or the DirectX

Re: [JAVA3D] application-wide popup switch

2003-08-18 Thread Ben Moxon
That is better - I was calling showInternalMessageDialog using parent frame of the application. I I call showMessageDialog and parent it off the canvas3d it seems to work better. The only problem is that I think you need to use showInternalMessageDialog if you want to be able to use Fullscreen,

Re: [JAVA3D] application-wide popup switch

2003-08-18 Thread Ewan Borland
According to info on the sun website: http://java.sun.com/products/jfc/tsc/articles/mixing/index.html JDialog isn't a lightweight component so the fact that yours are appearing behind the j3d components must indicate some other issue. Maybe if you provide some more info about how you are creatin

Re: [JAVA3D] application-wide popup switch

2003-08-18 Thread Ralf Bednarz
do you call the method JPopupMenu.setLightWeightPopupEnabled(false); before you create the objects of your menues and dialogs? this was my problem first, too. you can also say to a specific component that it should be heavyweight when you call it right before the object creation. but always

Re: [JAVA3D] application-wide popup switch

2003-08-18 Thread Miklos Wagner
Jee, thanx. A great tip...worth to remember Miklos -Original Message- From: ext Ben Moxon [mailto:[EMAIL PROTECTED] Sent: August 18,2003 16:06 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] application-wide popup switch If you use heavyweight components they draw on top of your Canvas3Ds,

Re: [JAVA3D] application-wide popup switch

2003-08-18 Thread Ben Moxon
My JDialogs are all still popping up under the Canvas3D. Maybe I'm creating them wrong or something. -ben -Original Message- From: Ewan Borland [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 14:18 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] application-wide popup switch Hi Ben, I've u

Re: [JAVA3D] application-wide popup switch

2003-08-18 Thread Ben Moxon
If you use heavyweight components they draw on top of your Canvas3Ds, otherwise all your menus and jDialogs draw underneath them and you have to drag them out to see what they say. -ben -Original Message- From: Miklos Wagner [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 14:57 To: [EMA

Re: [JAVA3D] application-wide popup switch

2003-08-18 Thread Miklos Wagner
Hi All, Sorry for the stupid question but I would like to ask what is the benefit of having heavyweight components in your J3D application? br, Miklos -Original Message- From: ext Ewan Borland [mailto:[EMAIL PROTECTED] Sent: August 18,2003 15:18 To: [EMAIL PROTEC

[JAVA3D] AW: [JAVA3D] excessive GC on GeometryUpdate

2003-08-18 Thread Florin Herinean
Hi Dirk, I´ve been away for a while, as you have correctly guessed, and, unfortunatelly, my current free time is almost nothing, I barely have time to *read* the mails, that´s why I wasn´t active on the list. Kind Regards, Florin -Ursprüngliche Nachricht- Von: Discussion list for Java 3

Re: [JAVA3D] application-wide popup switch

2003-08-18 Thread Ewan Borland
Hi Ben, I've used JDialogs over j3d components with no problems. However to make popup menus and tooltips heavyweightyou just need to add the following code when initializing your app: JPopupMenu.setLightWeightPopupEnabled(false); ToolTipManager.sharedInstance().setLightWeightPopupEnabled

[JAVA3D] application-wide popup switch

2003-08-18 Thread Ben Moxon
Is there a way to tell a swing application that you want every popup menu it uses and Jdialog to be created as heavyweight? It's a bit tiresome wandering around a big application telling it to do stuff each time, if you see what I mean. I know this is technically a Swing question, but as they ar

Re: [JAVA3D] exact BoundingBox on an vrml loaded file

2003-08-18 Thread Nikolai V. Chr.
Justin Couch wrote: Ralf Bednarz wrote: i need to change the bounding object of a vrml file i loaded in my scene. originally it is a BoundingSphere, but i need a BoundingBox that fits as good as possible. That, unfortunately is a function of the way Java3D works. Even if you provide a bound _bo

Re: [JAVA3D] excessive GC on GeometryUpdate

2003-08-18 Thread Dirk L. van Krimpen
- Original Message - From: "Alessandro borges" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 17, 2003 2:04 PM Subject: [JAVA3D] excessive GC on GeometryUpdate Hi Allesandro, Although I am using by_reference with IndexedGeometryArray a lot I never checked the resulting G

[JAVA3D] Locking drawing surface

2003-08-18 Thread R K Shyamprakash
Hi, Not really a java 3d question. I want to access the native drawing surface of canvas. At the same time I need to lock the drawing surface by making a function call from java. Can some body please tell me how to expose two methods say lock() and unlock() from java which will lock the nat