File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Java 3D: Need to get the Box vertex Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Java 3D: Need to get the Box vertex" Watch "Java 3D: Need to get the Box vertex" New topic
Author

Java 3D: Need to get the Box vertex

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

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 ??



[Thumbnail for s2.JPG]



[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

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

Joined: Oct 27, 2005
Posts: 19785
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

OK Rob. Thanks for the advise
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java 3D: Need to get the Box vertex