[JAVA3D]

2004-09-06 Thread Vjiay Dharap
Hi, In an Attempt to implement terrain following I have used the following code Point3d pickStart = new Point3d(); Vector3d down = new Vector3d(0.0, -15.0, 0.0); Transform3D newT3d = new Transform3D(); newT3d.setTranslation(new Vector3d(0.0, 1.5, STEP)); newT3d.mul(ourTrans); newT3d.transform(pic

[JAVA3D] Terrain Following Problem

2004-09-06 Thread Vjiay Dharap
Hi, In an Attempt to implement terrain following I have used the following code Point3d pickStart = new Point3d(); Vector3d down = new Vector3d(0.0, -15.0, 0.0); Transform3D newT3d = new Transform3D(); newT3d.setTranslation(new Vector3d(0.0, 1.5, STEP)); newT3d.mul(ourTrans); newT3d.transform(pic

Re: [JAVA3D] 2D

2004-09-06 Thread Dirk L. van Krimpen
Marcin, I suppose you want to move and rotate your 3d objects while the text should remain in the plane of the screen. If so, take a look at the java3d demo files where you can find OrientedShape3D/OrientedTest.java. Just take out the portion at // create 3D text: Appearance apText = new A

Re: [JAVA3D] Terrain Following Problem

2004-09-06 Thread John Wright
Vijay, I used to use code like you've written but found it unreliable and buggy. I'm guessing your "picker" is a "PickTool". Well... I found the Java 3D Utilities to be buggy and had to stop using PickTool and switched to branchgroup picking. Like: sceneGroup.pickAll(pickRay); Then check if th

[JAVA3D] 2D, once again

2004-09-06 Thread Marcin Iksinski
I attempt to create some kind of 2D layer on the top of Canvas3D, where i'd be able to put something, drawing or text (e.g. frames counter) Layer should be fixed size, positioned independly from Canvas3D's dimension __ | | |BBB | canvas |BBB___| B - fixed

Re: [JAVA3D] 2D, once again

2004-09-06 Thread Franck Calzada
Please check what I have done in my java3d pool game at: http://membres.lycos.fr/franckcalzada/Billard3D/Pool.html Let me know if this is what you want to achieve, then I can help you. Regards, franck -Original Mess

Re: [JAVA3D] 2D, once again

2004-09-06 Thread Marcin Jasiński
Hello Franck, the overlay screen in your (great!) pool game is exactly what I want to do. Marcin FC> Please check what I have done in my java3d pool game at: FC> http://membres.lycos.fr/franckcalzada/Billard3D/Pool.html FC> FC>

[JAVA3D] Three simple (and rapid) question.

2004-09-06 Thread Claudio Mazzuco
I'm using the OrbitBehavior object to rotate,size and traslate my scene. 1) The mouse behaviour on the rotation is not so user-friendly. Often when you rotate a object is difficutlt make it well orientated. Is possible to change the default? For example using a swing slider to rotate, instead of th

Re: [JAVA3D] 2D, once again

2004-09-06 Thread Enrique Dumas
Hello,   Well nice game !   A little bit slow on my computer (10 FPS on [EMAIL PROTECTED] mhz with radeon 9200 SE)   Very good job !!!   __Franck Calzada <[EMAIL PROTECTED]> wrote: Please check what I have done in my java3d pool game a

[JAVA3D] Java 3D FAQ Weekly Posting (06 Sep 2004)

2004-09-06 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday September 6 2004 This is a posting of topics covered in the Java 3D FAQ. The answers to these questions are kept at: http://www.j3d.org/faq Please consult this list and the web site before asking questions on the mailing list. If t