We are having a setTextureTransform performance problem in our GDC demo.
We are setting 10 different texture transforms for about 200-300 vertices.
The code is simple:
texTrans.setTranslation( new Vector3d( cur[0].getFloat(),
cur[1].getFloat(), 0.0f ));
myTexAtt.setTextureTransform( texTrans );
Aside from the new Vector3d every time, there's little happening here in
our code.
When we disable just this code, we get a 20% increase in frame rate.
That is we go from 60 to 80 fps.
Any ideas on this one?
Is there any know bugs with TextureAttribute.setTextureTranform() that
would slow things down this much?
Thanks all
--
___________________________________________________________
Shawn Kendall Full Sail Real World Education
Course Director 3300 University BLVD
Real Time 3D for Gaming Winter Park FL 32792
[EMAIL PROTECTED] http://www.fullsail.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".