Hi,

We have an application in which we need to display thousands of sphere(upto
50k) at a time. The standard java3D Sphere class takes lot of memory and
gives an OutOfMemory error. I tried sharing the Appearance object (as
suggested in the archives) but it hardly improves the condition. It only
displays maximum 3k spheres at a time.

We need to find a way where we can SAVE on the memory usage. Is there a way
where we can share the Sphere object also. We have only 4-5 different
colours-radii combination. Is there a way to create these 4-5 unique sphere
object and render them at different position.

Another option comes to my mind is to develop our own sphere class, in which
we only display the hemi-sphere which is visible. But, how do we handle the
rotation, because as we rotate the view, the other side of hemi-sphere(which
is not drawn) starts appearing on the screen.

OR
suggest, if there are any algorithms which can be used in such scenarios.

Thanks in advance,

Regards,

Nitin Jain
ingenovis,
A division of i-Labs Ltd.
Hyderabad, India
Phone : 91-40-3352900/2 Ext.2016
Fax     : 91-40-3351522
Email  : [EMAIL PROTECTED]
http://www.ingenovis.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".

Reply via email to