just looking through old emails because I am trying texturing of terrain models and saw your thread.
How did you get the frame rate up to 30 fps?
Also, do you know how to combine a texture with a more detailed texture on a triangle strip array?
thanks, and happy new year :) ,
chris
Alex Hew wrote:
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 -----From: Carlos D CorreaSent: Thursday, September 26, 2002 12:28 AMSubject: Re: [JAVA3D] Texture Loading/Choppy Frame RatesIf 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:
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 -
