I have attempted to use Java3d to evaluate volumetric data which has some of
the same problems you're running into. What I ended up doing was creating an
IsoSurface from the volumetric data, by using the marching cubes algorithm

The result is a triangle surface mesh. The density of the mesh is dependent on
how fine the cube mesh was.

I know this isn't what you want, but it gives you an idea of what you're up
against. You'd have to do something similar by evaluating each ray into
recursively smaller and smaller pieces as you get closer to the threshold. Once
you reach the threshold you'd have to generate a cube around the point to
establish the surface appearance, shading, normal ect....  then you can
establish the pixel color and plot it onto a 2D Canvas.

A daunting task....

In short, although I'm sure it could be done, this isn't what Java3D is really
meant for. Java3D is designed to generate VR type worlds, interactive, going
beyond VRML to give the programer tons more control and functionality, but
still it is an interactive environment sacrificing realistic appearance for
interactivity.

Another note, the above mentioned volumetric viewer was slow as a dog.


Terren wrote:

> Hi all,
>
> I'm new to Java 3D and VRML so forgive me if I'm missing something obvious.
> I'm interested in developing a java3d based ray tracing utility.  Sounds
> possible except for the fact that I need to render pure spheres, not
> approximated ones. From what I've read so far, this doesn't appear to be
> behavior that's currently implemented in J3D.  Is this right?
>
> Terren
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to