Hi,

I'm putting together a kind of 3D histogram for a simulation package
we've developed. I say kind of as its more for visualization and less
for charting per se. Anyway, the general idea is to visualize objects
residing in a 2D grid indexed by x, y coordinates. At the moment I
working on a field of Box shapes where the height of the box will
represent the amount of some simulation specific thing located at those
x,y coordinates, so to with color etc.

To create this field of boxes I'm creating boxes with the appropriate
dimensions and adding each one to a TransformGroup. Each box is
translated to the appropriate point on the grid. Each TransformGroup is
then added to the BranchGroup which is added to a SimpleUniverse.

Given this setup I had a few questions.

1. Is this a reasonable way to create this kind of 3D Histogram?

2. When create boxes of differing heights (z dim is different), the z
orgin is not the same for them. The higher box extends further in both
the positive and negative z directions. What's going on here?

3. To view this correctly, i.e. not head on. I translate the view along
the positive x axis and the negative y-axis (i.e. to the right and
down). This gives me something like the perspective I'm looking for, but
it looks a little odd. Any other suggestions?

thanks very much,

Nick

--
Nick Collier
Social Science Research Computing
University of Chicago
http://repast.sourceforge.net

[EMAIL PROTECTED]

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