Hi All,
 
Just want to say thanks for all the suggestion. I manage to increase the fps to around 30+ now. But i guess I will get better frame rates once I get myself a better graphic card. FYI, I am using a Riva TNT 2 32MB AGP card. Hopefully would be able to upgrade to a ATI Radeon 9700 Pro soon. I guess frame rates should increase dramatically then.
 
Appreciate the help guys.
 
- Alex -
----- Original Message -----
Sent: Thursday, September 26, 2002 12:28 AM
Subject: Re: [JAVA3D] Texture Loading/Choppy Frame Rates

If frame rate drop is more dramatic when setting the texture, than say, adjusting the size of the window (without textures), then it may be definitely that the card doesn't support well texturing.

Try adjusting texture parameters such as Magnification and minification filters, using texture.setMagFilter and texture.setMinFilter. In some old graphics cards, bilinear filters are too slow. Try using FASTEST instead. It won't be so "pleasant" to the eye, but at least it could improve the frame rate.

Carlos

Alex Hew wrote:
002301c26488$422a8d50$6580e298@xephyrlazychai type="cite">
Hi all,
 
I have a terrain generated using the TriangleStripArray, and a model running on the terrain. The fps is around 52.
 
When I set a texture to it using the code stated below,

TextureLoader load = new TextureLoader("grass.jpg", null);
Texture texture = load.getTexture();
appearance.setTexture(text);
 
my frame rate drops to an all time low of 10fps.
 
Any suggestion?
 
Thanks in advance.
 
- Alex -
 
 

Reply via email to