Hi,
I've already posted this thread in comp.lang.java.programmer because I
didn't know there's a 3d-related group. Anyway, I got no answer. Hope
some of the posters here can help .. I've been trying for hours now and
still can't find a solution.
Here's the problem:
I have a very simple 3D-app with a couple of cubes in the scene which I
want to pick. I dont want to rotate, translate or scale them, I just
want to pick one of them and know which one was picked. (It's for a
battleship-like game, just want to choose a cube to know at which one to
"shoot" at.)
Could anyone suggest me a solution to the problem? All I want is to know
which object was picked. That's all. Hope someone can help, this work
has to be done really soon ..
Thx for your kind help,
Angus
Thomas Escolan - 14 Jun 2005 20:02 GMT
The section 6 of chapter 4 is waiting for you !
http://java.sun.com/developer/onlineTraining/java3d/
> Hi,
>
[quoted text clipped - 18 lines]
>
> Angus
Angus Parvis - 14 Jun 2005 20:32 GMT
> The section 6 of chapter 4 is waiting for you !
> http://java.sun.com/developer/onlineTraining/java3d/
Thx .. but I read it and didn't get it ..
thomas.escolan_SPAM@freesbee.fr - 15 Jun 2005 09:04 GMT
Then take a look at this :
http://java3d.j3d.org/tutorials/raw_j3d/chapter6/picking.html
Angus Parvis a écrit :
> > The section 6 of chapter 4 is waiting for you !
> > http://java.sun.com/developer/onlineTraining/java3d/
>
> Thx .. but I read it and didn't get it ..
thomas.escolan_SPAM@freesbee.fr - 15 Jun 2005 09:12 GMT
Or rather this one (straightfull) :
http://www.java3d.org/selection.html
Angus Parvis a écrit :
> > The section 6 of chapter 4 is waiting for you !
> > http://java.sun.com/developer/onlineTraining/java3d/
>
> Thx .. but I read it and didn't get it ..
Angus Parvis - 22 Jun 2005 15:24 GMT
> Or rather this one (straightfull) :
> http://www.java3d.org/selection.html
Thank your very much for your help - my problem's solved now :)
Angus