• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java 3D: Need to get the Box vertex

 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I'm engaged with the Java 3D application and stuck at the following problem.
The problem is, I have made a CONTAINER box, and I'm placing a BIG box inside it.

Now to place a SMALL box above BIG box, I need to get the vertex of UPPER LEFT of BACK face of BIG Box, but when I tried to get using javax.media.j3d TriangleStripArray#getCoordinate(); method, its returning different tuple which is not the correct one.
Code (snippet) I'm trying:


The function which calculates the vertex

I attached the image file showing what I have done so far and what I need to do ?

So Any pointers/hints ??
s2.JPG
[Thumbnail for s2.JPG]
What i need is vertex tuple
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

Have I missed some details in above question OR the Java 3D API is obsolete ?

else, permit me to cross post the same question to Suns forum
 
Rob Spoor
Sheriff
Pie
Posts: 20610
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think there are just not a lot of people around with much Java 3D experience.

You're always free to cross post on other forums, as long as you Are Forthright When Cross Posting To Other Sites. I'd advise you to do the same for the other forum(s) as well; put a link there to this thread, and post a link to the other forum threads here.
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK Rob. Thanks for the advise
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic