Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Java 3D / May 2007

Tip: Looking for answers? Try searching our database.

File import and mathematics

Thread view: 
taejon - 22 May 2007 11:28 GMT
Hi

I am using Java1.4 and I develop on a mac 10.4 OS Tiger with Eclipse
3.1. I have an ascii-file with four column-values x  y  z  rho. That
means coordinates x,y,z and the density. They are arranged in steps.
I want to import the file and to make the density in the x,y,z-space
visible in Java3D with canvas3d etc. Then I want to mark a part of the
density with the mouse and use the marked area for mathematical
operations (for example integration).
I have absolutely no idea how this can be performed, someone told me
something about voxels...

Is there any literature, source-code or anything availible ? Does
someone give me (in words) a principle idea how I have to tackle this
project ?

Thanks in advance

taejon
~kurt - 23 May 2007 06:41 GMT
> Hi
>
[quoted text clipped - 3 lines]
> I want to import the file and to make the density in the x,y,z-space
> visible in Java3D with canvas3d etc. Then I want to mark a part of the

What do you mean by making the density visible?  How do you plan on
displaying density?  Color coding?

> density with the mouse and use the marked area for mathematical
> operations (for example integration).

In the sense that you would be able to compute mass, moments, etc...?

> I have absolutely no idea how this can be performed, someone told me
> something about voxels...

Huh, interesting.  I would think the hardest part would be determining a
method for selecting (marking).  Since there are finite elements, selecting
the elements should be possible.  I would think making everything somewhat
transparent, and changing the color, transparency, or something, to show
it was selected would be the way to go.  Here is a neat game that might
give you some ideas:

<http://www.nada.kth.se/~joh/minesweep3d/>

> Is there any literature, source-code or anything availible ? Does
> someone give me (in words) a principle idea how I have to tackle this
> project ?

I ran across a lot of stuff just googling for "java3d voxel"

- Kurt


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.