[JAVA3D] Java3d 1.4 and DIRECTX Support

2005-04-28 Thread Frank Jackel
Hi, we try to develope a java3d application for visualisation. We start with java3d 1.3.1 and then we changed to java3d 1.4. No sample is working, our application is not running. Is there no support for DirectX in java3d after 1.3.2 Version ? If not, is there a workaround, like a 3.party tool for s

[JAVA3D] Problem with TriangleArray

2005-04-28 Thread Saeed Ansari
Please see the below code, Nothing appears on the screen. what is the problem? public j3d(){    c3d=new Canvas3D(SimpleUniverse.getPreferredConfiguration());    su=new SimpleUniverse(c3d);    bgRoot=new BranchGroup();    execute();    }     public void execute(){    add("Center"

Re: [JAVA3D] How to have a shape on other shape

2005-04-28 Thread Hrvoje Smolic
What exactly is on your mind? You are working in 3D here... If you want to put something near other object (or on a top of it), you define TransformGroup for each object and Transform3D, too. Then you can put one object on location (1,0,0) and other on (1,1,0), for example. ... .. Transforme3D tran

[JAVA3D] How to have a shape on other shape

2005-04-28 Thread Saeed Ansari
Hello, I want to know how can I draw a box on a rectangle ?     Regards, Saeed__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ===

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 c

Re: [JAVA3D] About posting Java3D job

2005-04-28 Thread Hrvoje Smolic
You can take a look at magicwoods.50megs.com for what I'm doing right now. If you are interested in something like this, please contact me. === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the mes

[JAVA3D] Any kind of new realeases for directx since 1.3.1

2005-04-28 Thread Christian Scholz-Graber
Hello, were planning to implement an application with JAVA3D 1.3.1 DirextX. We found out that there is a newer version for OpenGL available at netbeans.org, with version 1.4.something. We dont want to run into a trap for future apps. Has anyone heard of plans for a new realease for DirectX? Or has

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

Re: [JAVA3D] textures and gif transparancy

2005-04-28 Thread Hrvoje Smolic
OK. Here is part of class Grass from my game in progress (magicwoods.50megs.com): the class define Shape3d and textureCoordinates: -- public Grass1() { Transform3D posTransform3D = new Transform3D(); Vect

Re: [JAVA3D] Camera and Location of a Visual Object

2005-04-28 Thread Hrvoje Smolic
For placing any object anywhere, you have to define TransformGroup tg and its Transform3D(new Vector3f(2,1,0). Then with tg.addchild(your_object) you'll place box in sedired position. === To unsubscribe, send email to [EMAIL P

Re: [JAVA3D] textures and gif transparancy

2005-04-28 Thread Hrvoje Smolic
Yes, it is possible. Just define your shape and TextureCoodinates on it. Don't forget to define TransparencyAttributes in shape's Appearance. That would do it. If you need code examples, tell me. === To unsubscribe, send email

[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.

[JAVA3D] Camera and Location of a Visual Object

2005-04-28 Thread Saeed Ansari
Hi, I want to know, how can I set the location of the a box and it's view angle ? for example I want to locate the box at vector ( 2.0 , 1.0 ,0.0 ) and the camera at ( 2.0 , 3.0 , 0.0 ) .   REgards, Saeed__Do You Yahoo!?Tired of spam? Yahoo! Mail has