[JAVA3D] How to make a HUD

2005-04-29 Thread BERNUS Guillaume
Hi everybody, I'm working on a project using a doom-style navigation. I 'm working on the HUD (to show a map). I put the map in a BranchGroup wich is a child of the View's TransformGroup. This solution is not really good because the map must be placed at approximately -1 meter on the z-Axis. So

[JAVA3D] textures and gif transparancy

2005-04-28 Thread BERNUS Guillaume
Hello, Is it possible to use the transparancy color of a gif that is used as a texture ? I use a gif with a transparancy color as texture on a shape. I'd like the shape (in fact a 2D square) to be transparent where the gif is transparent. Is it possible and how ? Thank you.

Re: [JAVA3D] textures and gif transparancy

2005-04-28 Thread BERNUS Guillaume
Thank you Hrvoje, I tried it but it didn't do it. So, if you could give me a code example... Thank you in advance On 4/28/05, Hrvoje Smolic [EMAIL PROTECTED] wrote: Yes, it is possible. Just define your shape and TextureCoodinates on it. Don't forget to define TransparencyAttributes in shape's

Re: [JAVA3D] textures and gif transparancy

2005-04-28 Thread BERNUS Guillaume
Thank you Hrvoje, really thank you I had several problems and now, with your help, all is OK. I took a look on your work, that seems beautifull. Bye On 4/28/05, Hrvoje Smolic [EMAIL PROTECTED] wrote: OK. Here is part of class Grass from my game in progress (magicwoods.50megs.com): the class

[JAVA3D] sounds in java3d

2005-04-27 Thread BERNUS Guillaume
I'd like to incorporate sounds in an existing Java 3D v1.3.1 program. Should I move in 1.3.2 or 1.4 ? - If I use 1.3.2, is the sound part of the API working fine (I already with 1.3.0 whitout success) ? - If I use 1.3.2, will my code be compatible with the next version of the API (1.4) ? - If I