Re: [JAVA3D] Menu bar and Canvas3D

2002-11-04 Thread Justin Couch
Alejandro Allievi wrote: problem I have is that when I drop the menu items they are hidden behind the canvas. If I remove the canvas, everything is viewed fine. http://www.j3d.org/faq/swing.html -- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddl

[JAVA3D] Menu bar and Canvas3D

2002-11-04 Thread Alejandro Allievi
Hi all, I have a Canvas3D in the center region of a layout. The north region is occupied by the menu bar. The problem I have is that when I drop the menu items they are hidden behind the canvas. If I remove the canvas, everything is viewed fine. Has anybody experienced this problem before? Tha

[JAVA3D] Using PickConeSegment

2002-11-04 Thread Mike Pilone
Hello All, I am trying to use PickConeSegment to pick in my scene. The scene is composed of a sphere (the earth) centered at 0, 0, 0. The sphere has a 1000 unit radius and is composed of individual cells (Shape3Ds) of about 50 x 50 units. Each cell is a square TriangleStripArray. The cells and the

Re: [JAVA3D] picking problem with pickResult.getNode

2002-11-04 Thread Ricardo Nakamura
Mike, Not sure but I think you have to call setCapability(Node.ENABLE_PICK_REPORTING) on your transform groups. This will cause them to appear in the SceneGraphPath returned from the picking operation. Afterwards, the getNode should work. Ricardo At 21:45 4/11/2002, you wrote:

[JAVA3D] picking problem with pickResult.getNode

2002-11-04 Thread Shantz Family
I am picking in a scene graph that has the following structure of TransformGroups with Links to a SharedGroup. TG TG TG | | | L L L \|/ SG Shape pickResult.getNode( pickResult.LINK) works fine but pickResult.getNode( pickResult.TRANSFORM_GR

[JAVA3D] Java 3D FAQ Weekly Posting (04 Nov 2002)

2002-11-04 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday November 4 2002 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 th

Re: [JAVA3D] Texture Names

2002-11-04 Thread Kelvin Chung
Alan Hudson wrote: Kelvin Chung wrote: Alan Hudson wrote: It is just a counter starting from 1. Prior to v1.3 this counter is not reset when Texture detach from BranchGroup but this is fixed in v1.3. Can you recommend a safe way to allocate a texture name? Set the ID to number larger

Re: [JAVA3D] AntiAliasing a BufferedImage

2002-11-04 Thread Martin Frey
Hi Kevin your code works really fine. thank you very much for this fast reply. greetz Martin - Original Message - From: "Kevin Glass" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 7:18 PM Subject: Re: [JAVA3D] AntiAliasing a BufferedImage > Martin Frey wr

Re: [JAVA3D] program stops when calling SimpleUniverse.getPreferredConfiguration

2002-11-04 Thread Kelvin Chung
Martin Frey wrote: Hi all Did someone already had the same error when calling SimpleUniverse.getPreferredConfiguration() after Picking ? I can make as many JInternalFrames with a Canvas3D in it as i want. And there is a call for the GraphicsConfiguration. I implemented a Pickbehavior which return

Re: [JAVA3D] AntiAliasing a BufferedImage

2002-11-04 Thread Kevin Glass
Martin Frey wrote: Hi does someone know how to antialias a bufferedimage? i need to print my canvas3d and i thought i would be great if it can be antialiased before printing. else the printing works very fine. thanks Martin You could use a filter to perform an averaging across your buffered im

Re: [JAVA3D] Texture Names

2002-11-04 Thread Alan Hudson
Kelvin Chung wrote: Alan Hudson wrote: It is just a counter starting from 1. Prior to v1.3 this counter is not reset when Texture detach from BranchGroup but this is fixed in v1.3. Can you recommend a safe way to allocate a texture name? Set the ID to number larger than current texture

[JAVA3D] program stops when calling SimpleUniverse.getPreferredConfiguration

2002-11-04 Thread Martin Frey
Hi all Did someone already had the same error when calling SimpleUniverse.getPreferredConfiguration() after Picking ?   I can make as many JInternalFrames with a Canvas3D in it as i want. And there is a call for the GraphicsConfiguration. I implemented a Pickbehavior which returns me the Tran

Re: [JAVA3D] Graphics Programming Books

2002-11-04 Thread Simeon H.K. Fitch
Zak Nixon wrote: I have all the Java3D programming books that are out, and I was wondering what other books are out that let me learn about the underlying techniques of graphics programming. For the math part of it, this book rocks if you're not a natural mathematician (like me): http://www.a

[JAVA3D] AntiAliasing a BufferedImage

2002-11-04 Thread Martin Frey
Hi does someone know how to antialias a bufferedimage? i need to print my canvas3d and i thought i would be great if it can be antialiased before printing. else the printing works very fine.   thanks Martin

Re: [JAVA3D] How convert triangle array to triangle strip array ?

2002-11-04 Thread Artur Biesiadowski
Gerd Mueller wrote: Hi, I'm working on a molecule editor using Java3D. The application is able to visualize iso surfaces which are calculated by a marching cube algorithm. The result of this algorithm is a list of triangles. So I'm using a simple TriangleArray to visualize them. The problem is t

[JAVA3D] How convert triangle array to triangle strip array ?

2002-11-04 Thread Gerd Mueller
Hi, I'm working on a molecule editor using Java3D. The application is able to visualize iso surfaces which are calculated by a marching cube algorithm. The result of this algorithm is a list of triangles. So I'm using a simple TriangleArray to visualize them. The problem is that the Gourand-shadin

Re: [JAVA3D] Graphics Programming Books

2002-11-04 Thread David Jones
Computer Graphics: Principles and Practice by Foley, Van Damn, etc is really the Bible of computer graphics programming, but is quite heavyweight. There is also an Introduction to Computer Graphics by the same Authors which is a smaller subset of the information. Hope this helps David >= O

[JAVA3D] Picking?

2002-11-04 Thread Martin Frey
Hi i have a problem when i want to use the PickTool.GEOMETRY_INTERSECT_INFO;   i get an "Improper Level exception" when doing this:       shape3D.getGeometry().setCapability(Geometry.ALLOW_INTERSECT);    shape3D.setCapability(Shape3D.ALLOW_GEOMETRY_READ);    shape3D