Hi All,

I'm trying different things suggested in the last couple of mails under this
link. Here is the first one:

> From: Karsten Fries
> strange requirement. Why would you need to visiualize 50K spheres?
We're making a viewer for large bio-molecules which involves these many
atoms to be viewed at a time. Best we can do is to find out how many spheres
will be completely hidden behind the others and not generate any of the
Java3D objects for them. But such algorithm has to be executed at each frame
when somebody is trying to rotate the view which could result into a
very(very) jerky motion.

> Or, say, you replace the spheres by a quad with a texture
> showing a sphere and
> use the texture alpha channel to make the (black) texture
> background invisible.
This strtegy was also suggested before, The code attached below is using the
same but when we rotate the view the spheres appear cris-crossing each
other.

> you'll need a global billboard behavior that adjusts the
> quads to always face
> the user.
If we assign Billboard behaviour to the transform group which contains the
QuadArray, it does not let it rotate. It tries to keep the z-axis of this
TransformGroup towards the user.


Attachment: redsphere256_256.gif
Description: GIF image

Attachment: SphereAsImage.java
Description: Binary data

Reply via email to