ue, 3 Jul 2001 20:09:33 +0200
> From: Artur Biesiadowski <[EMAIL PROTECTED]>
> Subject: Re: [JAVA3D] Interleaved array color performance
> To: [EMAIL PROTECTED]
>
> I've done some more testing. It turned out that color data is copied
> only when I enable blend transpar
"Yazel, David J." wrote:
>
> Artur:
>
> What tool are you using to track the OpenGL calls? Looks like it could be
> helpful.
I knew somebody will ask :)
http://www.hawksoft.com/gltrace/
Just remember to add Verbose and LogTime options if you use latest beta
(it is not described in config file
Artur:
What tool are you using to track the OpenGL calls? Looks like it could be
helpful.
Dave Yazel
-Original Message-
From: Artur Biesiadowski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 2:10 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Interleaved array color
I've done some more testing. It turned out that color data is copied
only when I enable blend transparency for quads. In other case
(per-vertex color modulated by texture, non-transparent) color data is
copied directly from same array as coordinates and texture coords.
With blending it looks like
I've done some profiling and it seems that single place is killing me.
java.lang.System.arraycopy
javax.media.j3d.GeometryArrayRetained.setupMirrorInterleavedColorPointer
javax.media.j3d.GeometryArrayRetained.updateData
javax.media.j3d.GeometryArray.updateData
There is incredible number of array