[JAVA3D] Problem with orthogonal view

2002-11-01 Thread Di Pasqua, Aldo
Hi all,   We use the Transform3D method lookAt(Point3d eye, Point3d center, Vector3d up) to move the ViewingPlatform such that we can fly our world scene. Currently our viewing defaults to the perspective projection (lookAt(...) produces this). We would like to also view the scene in the paralle

[JAVA3D] Still can't react to transformation changes

2002-11-01 Thread Ben Moxon
I'm still stuck on this problem: If I have TransformGroup transG in my scenegraph subject and an OrbitBehaviour on my ViewPlatform and I need to move a second transformgroup transG2 based on the relationship between transG and the ViewPlatform, moving it appropriately when either of these moves

[JAVA3D] Moving Lights

2002-11-01 Thread RWGRAY
I have a sphere in my scene. I put a point light in the center of the sphere. I want to move the sphere/pointlight (a glowing orb) around in the scene. Since light positions don't change when a transformgroup's transform (location) is changed, how do I keep the light within the sphere as the sp

Re: [JAVA3D] Moving Lights

2002-11-01 Thread Ben Moxon
What do you mean lights dont change when you move their transformgroup? Pointlights certainly do, I'm not sure about other types. -ben -Original Message- From: RWGRAY [mailto:rwgray@;RWGRAYPROJECTS.COM] Sent: 01 November 2002 16:26 To: [EMAIL PROTECTED] Subject: [JAVA3D] Moving Lights

Re: [JAVA3D] Moving Lights

2002-11-01 Thread RWGRAY
Well, I just tried it again and your right. I don't know what I was doing wrong yesterday Sorry. Forget last e-mail note. Thanks, Bob Gray -Original Message- From: Discussion list for Java 3D API [mailto:JAVA3D-INTEREST@;JAVA.SUN.COM]On Behalf Of Ben Moxon Sent: Friday, November 0

[JAVA3D] Problems of picking multiple objects by drawing a window on screen (Sample code)

2002-11-01 Thread White Morph
Hi All, I attached a simple program of picking multiple objects by dragging mouse to draw a window on the screen. This program draws 2 polygons. If my window is near or enclosing the right common point of the 2 polygons, it works fine. Otherwise, it can't get the right result. The picking proces

Re: [JAVA3D] Still can't react to transformation changes

2002-11-01 Thread Kasparian, Raffi J.
Ben, Here's how I would handle it. As you know, any time your view platform or scenegraph subject moves, a redraw is automatically triggered. So, have your behavior wake up on WakeupOnElapsedFrames( 0, true ), check the Transform3Ds in question and if they've changed do what you need to do. Raff

Re: [JAVA3D] Problems of picking multiple objects by drawing a window on screen (Sample code)

2002-11-01 Thread White Morph
The program works fine with this set of shape, but why it doesn't work for the previous case??? Does any one have a clue? ---white /* * PickAllTest.java * * Created on July 23, 2002, 10:15 AM */ /** * * @author */ import javax.vecmath.*; import javax.media.j3d.*; import com.sun.j3d.utils.p

[JAVA3D] Java3D wishlist

2002-11-01 Thread Zak Nixon
Group:       I know that most of us what certain features either in the API or in a 3rd party package. I was wanting to ask from the developers that have some experience in Java3D:         What would be one feature/tool/addon to the Java3D capabilities that you would like to see?   I plan

[JAVA3D] Graphics Programming Books

2002-11-01 Thread Zak Nixon
I have all the Java3D programming books that are out, and I was wondering what other books are out that let me learn about the underlying techniques of graphics programming. I was also curious if there were any links to any detailed information on how Java3D is built, and how the internal gu

[JAVA3D] setMnemonics() method for MainFrame class

2002-11-01 Thread Alejandro Allievi
Hi all, Has anybody used setMnemonics() to create a menu bar with the MainFrame class as for example in: new MainFrame(new HelloUniverse(), 256, 256); I find that the mnemonics work when I use HelloUniverse as an applet but mnemonics do not work when used as an application. Any hints will

[JAVA3D] Passive Mode and Windows ME

2002-11-01 Thread Steven Yrkshire
Hello, Currently we are working on a program that runs concurently with other 3D/OpenGl applications. We are running in passive mode and most of our behaviors are being executed every frame. For the most part everything appears to be working fine, however if we run the program on a Windows ME ma

[JAVA3D] text2D texture mapping to a metaball

2002-11-01 Thread ldu
I need to texture mapping some text such as "C A R" to a metaball(similar to a sphere). First I create a text2D object then I use TextCoordGeneration. The problem is the text is textured to the metaball, but there is also a reflection of the text is also textured. I use OBJECT_LINEAR. I can't f