Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Creating a colored cube from a three-dimensional array

843799Apr 25 2008 — edited Apr 26 2008
Hey guys,
I'm working on this application which basically displays a 3-dimensional MRI representation of a brain as well as 2-dimensional slices of that representation. As of right now, this MRI data is being stored as gray-scale values in a 3-dimensional array. I've perused the Java3d tutorial and API but I'm not quite sure how I should go about doing this. I am new to using Java3D and so I was wondering if any of you more experienced guys could suggest what you believe is the most sensible as well as efficient method of going about doing this. I was thinking of treating each element in the array as a pixel and representing each pixel as a cube or some other geometric object but this seems highly inefficient and considerably difficult to work with in terms of allowing the user to manipulate (rotate, etc.) the object. I've looked into using geometry arrays but I'm not quite sure they are what I want. Any thoughts, even those such as "this is a stupid post, do more research, the answer is pretty obvious", would be greatly appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 24 2008
Added on Apr 25 2008
3 comments
250 views