I'd suspect that texture/appearance gets compiled to the display list and if
you allow writing those, the lists would have to be reworked for each frame.
glDrawArrays() is the fastest way to draw non-static elements, so using it
sounds reasonable.

Jarno

-----Original Message-----
From: Jack Pien [mailto:[EMAIL PROTECTED]]
Sent: 18. elokuuta 2000 1:11
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Question regarding ALLOW_TEXTURE_ATTRIBUTES_WRITE and
glDrawArrays


hi,

this question is more or less for the Java3D/Sun guys -

i was wondering if anyone knows why Java3D ends up called glDrawArrays() to
draw Triangle Meshes when appearance.setCapability(
Appearance.ALLOW_TEXTURE_ATTRIBUTES_WRITE ) is set - it actually happens
when Appearance.ALLOW_APPEARANCE_WRITE is set too.  usually, a glCallList
draws the geometry if the capability is not set but when it is set, Vertex
Arrays get used.

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