>On Mon, 7 Jan 2002 10:07:46 -0800, Paul Byrne <[EMAIL PROTECTED]> wrote:
>
>The default capability for everything in Java3D is 'NeverEver'.  If you
>don't set the ALLOW_REF_DATA_WRITE capability for your Geometry Java3D will
>assume (actually it will enforce) that you will never change the data.
>

This is PERFECT. In situations where I use ByRef geometry and do not
intend to dynamically update it, I do *not* also set the
ALLOW_REF_DATA_WRITE bit, as you had advised. I was, however, concerned
that there could be other rendering factors peculiar to ByRef geometry.
Your e-mail settles my concerns. Thanks very much.

Actually, in the kind of app. that I am interested in (Scientific Vis.),
the geometry - that is, the coordinates and normals - remain
stationary once created. It is only the attributes ( such as vertex colors,
transparency etc.) that the user may choose to apply repeatedly on the
geometry. So, a REF_DATA_WRITE provision for just the attributes
would be ideal(!), but perhaps would be unwieldy to implement.

The ByRef and USE_COORD_INDEX_ONLY (with some caveats as
mentioned by Kevin Rushforth) provisions incorporated into Java3D
will have a considerable impact in writing memory efficient codes.

Regards,

Raj

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