• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java 3D: Need to get the Box vertex

 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK Rob. Thanks for the advise
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic