Re: [JAVA3D] window xp

2003-12-02 Thread Florin Herinean
You should make sure you have the latest xp drivers for your graphic card installed.   Cheers,   Florin -Original Message-From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]On Behalf Of Fei LiSent: Montag, 1. Dezember 2003 23:56To: [EMAIL PROTECTED]Subject: [JAV

[JAVA3D] using OrbitBehavior

2003-12-02 Thread dafna gordon
1) where i can find some explanation about OrbitBehavior? is there something in the java3d tutorial?   2) what is the difference between the OrbitBehavior and the Mouse Behavior class? i saw that orbitBehavior also does rotation, zooming and translation via the mouse buttons, so where is the

Re: [JAVA3D] using OrbitBehavior

2003-12-02 Thread Florin Herinean
You'll find everything in the apidocs ! Just read them. Available to download at the official site: http://java.sun.com/products/java-media/3D/download.html   Cheers,   Florin -Original Message-From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]On Behalf Of dafna g

Re: [JAVA3D] using OrbitBehavior

2003-12-02 Thread Ben Moxon
1. The javadocs are best for this.   2. The basic difference is that with a MouseBehavior it is like you holding the camera still and moving the universe around, whereas with an orbitbehavior you move the camera around within the universe - consequently the orbitbehaviour is slightly less h

[JAVA3D] Transparency in Texture

2003-12-02 Thread Michael Pfeiffer
Hi, when I load a picture with transparency information (e.g. a GIF-file) using the TextureLoader and map it onto a Shape3D, the transparent parts of the image appear transparent for the object too. But when I try to do the same using a dynamically created BufferedImage, it doesn't works. The ARGB

Re: [JAVA3D] Transparency in Texture

2003-12-02 Thread Jeremy Booth
Michael Pfeiffer said: > Hi, > > when I load a picture with transparency information (e.g. a GIF-file) > using the TextureLoader and map it onto a Shape3D, the transparent parts > of the image appear transparent for the object too. > > But when I try to do the same using a dynamically created Buffe

Re: [JAVA3D] Transparency in Texture

2003-12-02 Thread Michael Pfeiffer
On Tue, 2 Dec 2003 12:49:34 -, Jeremy Booth <[EMAIL PROTECTED]> wrote: BufferedImage flareImage=new BufferedImage(width,height,BufferedImage.TYPE_INT_ARGB); flareImage.setRGB(0,0,width,height,pixels,0,width); according to the javadoc setRGB doesn't set any alpha, just the RGB, so the alpha will

Re: [JAVA3D] Transparency in Texture

2003-12-02 Thread Alessandro Borges
Hi, Try to set also a TransparencyAttribute to your shape's appearance. Just setting a texture with alpha is not enougth. Alessandro --- Michael Pfeiffer <[EMAIL PROTECTED]> escreveu: > On Tue, 2 Dec 2003 12:49:34 -, Jeremy Booth > <[EMAIL PROTECTED]> > wrote: > > >> BufferedImage flareImage

Re: [JAVA3D] Transparency in Texture

2003-12-02 Thread Michael Pfeiffer
Yes, that works! Thank you! On Tue, 2 Dec 2003 10:37:41 -0300, Alessandro Borges <[EMAIL PROTECTED]> wrote: Hi, Try to set also a TransparencyAttribute to your shape's appearance. Just setting a texture with alpha is not enougth. Alessandro --- Michael Pfeiffer <[EMAIL PROTECTED]> escreveu: On T

[JAVA3D] question about orbitBehavior

2003-12-02 Thread dafna gordon
OrbitBehavior theBehavior = new OrbitBehavior();  simpleU.getViewingPlatform().setViewPlatformBehavior(theBehavior);     is that all the code i need for an orbitBehavior? because i don't get any response in my movie when i try to

Re: [JAVA3D] question about orbitBehavior

2003-12-02 Thread Michael Pfeiffer
I think you have to specify the scheduling bounds too: http://java.sun.com/products/java-media/3D/forDevelopers/J3D_1_3_API/j3dapi/javax/media/j3d/Behavior.html#setSchedulingBounds(javax.media.j3d.Bounds) On Tue, 2 Dec 2003 16:51:30 +0200, dafna gordon <[EMAIL PROTECTED]> wrote: OrbitBehavior theBe

Re: [JAVA3D] question about orbitBehavior

2003-12-02 Thread dafna gordon
Thanks Michael!! now it works! - Original Message - From: "Michael Pfeiffer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 02, 2003 4:58 PM Subject: Re: [JAVA3D] question about orbitBehavior > I think you have to specify the scheduling bounds too: > http://java.sun

Re: [JAVA3D] window xp

2003-12-02 Thread Fei Li
Yes, I have, but it does not help.   Thanks   - Original Message - From: Florin Herinean To: [EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 12:08 AM Subject: Re: [JAVA3D] window xp You should make sure you have the latest xp drivers for your graphic

Re: [JAVA3D] window xp

2003-12-02 Thread Jean-Robert D'Amore
Maybe you should make sure that your Graphics Card is using the correct driver for the monitor you're currently using. Most Graphics Cards software come now with a list of supported drivers for most popular monitors. JR Fei Li wrote: Yes, I have, but it does not help.   Tha

[JAVA3D] No compatible device found, please switch to other display mode and try again

2003-12-02 Thread Fei Li
It is very strange that if I run java3d demo everything is fine. But if I run my application I got   No compatible device found, please switch to other display mode and try again   The trouble code is:   GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();   running jav

Re: [JAVA3D] No compatible device found, please switch to other display mode and try again

2003-12-02 Thread Fei Li
Such problem seems related to Sun ONE Studio, because if I try to run java3d demo under this IDE I got display mode problem.     - Original Message - From: Fei Li To: [EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 4:21 PM Subject: [JAVA3D] No compatible devic

[JAVA3D] Sections

2003-12-02 Thread Ibrahim Z Mohammad
Hi, I have a SimpleUniverse and some visual content and I’m using OrbitBehavior to rotate/translate the view. I’m trying to find a way to define planes through my visual objects, such that I can view the resulting cross-sections. I tried using ModelClip to do this but the clipping planes d

[JAVA3D] Screen coordinates.

2003-12-02 Thread Anand Janakiraman
Hi, Is the z-coordinate of the screen in image plate coordinates, always at z=0? If not, is there some part of the API from where the screen coordinates can be found out? Thanks, Anand. === To unsubscribe, send email t