Chien Yang wrote:
> Raj,
>         Let's do some math. A sphere geometry with resolution 15 division,
> in Java 3D, will generate 480 vertices. Let's assume only coord. and normal
> is needed, each sphere requires a minmum of 480 * 24 = 11520 bytes.
> That is likely to be 4X the memory footprint of TransformGroup + Shape3D +
> shared Geometry (~3600 bytes, calculated base on 50K spheres).

I still think it is beneficial. With single sphere per geometry we have

50k x 3600 + 1 x 11520
180000k + 11520 ~= 180012k

With for example 20 spheres per geometry/shape we have

50k/20*3600 + 20x11520
9000k + 440k = 9440k

 From 180MB -> 9MB. I think there is a benefit. Even for a larger
geometries.


Artur

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