Re: [JAVA3D] Set antialiasing in SimpleUniverse ?

2004-06-10 Thread NUSSBAUM Pascal
Dear Alessandro, I would like to make the comparison, but I have to install the openGL drivers. I tried to find them in java.sun.com through the link to www.opengl.com, but I cannot find a download option for this. Do you know the best place to take them ? Kind regards, Pascal -Original Mes

[JAVA3D] Slider bar

2004-06-10 Thread romil shah
Hi, I am trying to implement a Slider bar which does the following :: We have a small image with the slider and a large display area. I want the user to be able to drag a slider bar over the small image and accordingly update the large display ( by displaying the selected area ). How should I

Re: [JAVA3D] Texture in a Shape3d

2004-06-10 Thread Romil Shah
In your module createAppearance add : TextureLoader txtL = new TextureLoader("image-name",this); ap.setTexture(txtL.getTexture); This should work. -- Romil D. - Original Message - From: Wendel Silva <[EMAIL PROTECTED]> Date: Thursday, June 10, 2004 1:34 pm Subject: [JAVA3D] Texture in

[JAVA3D] Texture in a Shape3d

2004-06-10 Thread Wendel Silva
Hi, How can i put some texture in a shape3d? []'s Wendel B Silva Below is my code to create a single plane import javax.media.j3d.*; import javax.vecmath.*; public class Shape extends Shape3D { public Shape(double height, double width) { this.setGeometry(createGeometry(height, width)

Re: [JAVA3D] Set antialiasing in SimpleUniverse ?

2004-06-10 Thread Alessandro Borges
I guess you can set AA for lines by using a LineAttributes object with setLineAntialiasingEnable(true) in you appearance This works on OpenGL only. Read the LineAttributes javadoc Alessandro --- NUSSBAUM Pascal <[EMAIL PROTECTED]> escreveu: > Thanks ! I found it, and it works. The imposed setup >

Re: [JAVA3D] how to clip surface in java3d

2004-06-10 Thread Andre Bialojahn
Hello, > I'd like to know how to clip a surface made in java3d ? > which API should i use ? Have a look at ModelClip(), define the clipping planes (just a little maths is all it takes), put the ModelClip() with your object in a TransformGroup and have the bounds and the scope set right. If you s

Re: [JAVA3D] Set antialiasing in SimpleUniverse ?

2004-06-10 Thread NUSSBAUM Pascal
Thanks ! I found it, and it works. The imposed setup is fortunately not reversed by the software. However, I'm a bit disappointed by the result on thin lines, where they appear quite thicker with a moiré effect... Kind regards, Pascal -Original Message- From: Florin Herinean [mailto:[EMA

Re: [JAVA3D] Set antialiasing in SimpleUniverse ?

2004-06-10 Thread Florin Herinean
If you are on a windows box, the simplest way to enable antialiasing for the full scene is to go to the control panel/display properties/settings/advanced. This will open the specific graphic card properties editor, and look there to enable antialiasing. Cheers, Florin -Original Message-