[JAVA3D] How to put texture on a non rectangular surface? (Test source avilable)

2004-01-14 Thread Fredrik Andersson
Hello! I'm trying to make a model of a EastGerman Tank (MTLB). So far I have made the body, this example builds on Sun GeomInfoApp.java. Now I wan't to add differnet texture on each surface (not only rectangles) of the tank, but I can't understand how. My class extends from BranchGroup and has

Re: [JAVA3D] OpenGL - Java3D

2004-01-14 Thread Kevin Glass
Yohan Baillot (Contractor) wrote: Dear all, I am currently using OpenGL in my project to render graphics but I would like to use some of the Java3D and JMF tools as well. I have now the problem to let Java3D know what display surface created by OpenGL to use to draw. I must as well have

Re: [JAVA3D] a follow up to my texture map question

2004-01-14 Thread Dennis Wagner
Gregory Gimler wrote: If I then run the program with the specular color equal to black on java3d 1.2, the whole sphere is black. Yet in 1.3.1 it looks fine. What's going on here? Any response to my questions would be greatly appreciated. Thanks.

[JAVA3D] SV: [JAVA3D] How to put texture on a non rectangular surface? (Test source avilable)

2004-01-14 Thread Fredrik Andersson
Hello! Thanks for your reply! But do you mean (if you check my MTLB) that each surface should be a own Shape3D and that the hole thing should be put together with a TransformGroup? My hope is that (if you check my MTLB) that a could add a Texture to one certain surface of my geometry and an other

[JAVA3D] OpenGL - Java3D

2004-01-14 Thread Yohan Baillot (Contractor)
Dear all Alan, thanks for the tip. Does the Java3D team onfirm Alan statement that OpenGL and Java3D cannot be mixed? It seems strange to me since I thought Java3D was implemented in OpenGL in low level anyway (when using OpenGL distribution), therefore there should be some way to mix both,

Re: [JAVA3D] a follow up to my texture map question

2004-01-14 Thread Gregory Gimler
Dennis, I'm glad to hear I wasn't the only one. There must have been some sort of change in the lighting equation used between those 2 version of Java3D. I would really like some confirmation that this is what happened. Furthermore, it makes me a little apprehensive about future versions of

Re: [JAVA3D] OpenGL - Java3D

2004-01-14 Thread Alessandro Borges
About: ... OpenGL and Java3D cannot be mixed? It seems strange to me since I thought Java3D was implemented in OpenGL in low level ... please note there is a Java3D DirectX version too. To develop a application tied in both sides to Java3D and OpenGL when your client may use the DirectX

Re: [JAVA3D] [Fwd: [JAVA3D] OpenGL - Java3D]

2004-01-14 Thread Doug Twilleager
Right now it is not possible to reliably mix Java 3D and OpenGL in the same window. In theory it is possible, but not supported. You could get the native window handle through AWT, create your own OpenGL context, and tap into just the right place in the Canvas3D callbacks to get it to work.

Re: [JAVA3D] [Fwd: [JAVA3D] OpenGL - Java3D]

2004-01-14 Thread Kevin
Your needs are way more involved than I know about, but it sounds like you might be more interested in JOGL... https://jogl.dev.java.net/ kddubb On Wed, 2004-01-14 at 11:02, Doug Twilleager wrote: Right now it is not possible to reliably mix Java 3D and OpenGL in the same window. In theory

Re: [JAVA3D] SV: [JAVA3D] How to put texture on a non rectangular surface? (Test source avilable)

2004-01-14 Thread John Wright
Fredrik, In a way you can do this, you can make a compound texture and carefully select the texture coordinates (i.e. a single texture that is actually several textures put together). Generally it's easier to make your model in a 3D design program (like 3D Studio Max) and do your texturing there

[JAVA3D] Antialiasing Failing

2004-01-14 Thread Mark McKay
Hi, I'm trying to enable antialiasing for a scene I'm rendering in Java 3D. I believe Ive done everything I need to do, but still my scenes are not antialiased. I've tried this on three computers now, each with great video cards. I am: - Making sure to request a canvas with antialiasing