are you using a Clip object ? some graphic cards support only 2 clipping planes for textured objects (4 for untextured objects). If you have more than 2 planes the driver might use some kind of software emulation for the remaining planes. (that was my experience, though it had little impact on performance)
-- Peter > -----Original Message----- > From: Alex Hew [mailto:[EMAIL PROTECTED]] > Sent: Mittwoch, 25. September 2002 14:02 > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Texture Loading/Choppy Frame Rates > > > Hi John, > > Thanks for the quick reply. I did as you mention, the fps > only increased by > 1 - 2 frames. Any other suggestion? > > - Alex - > ----- Original Message ----- > From: "John Wright" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, September 25, 2002 7:47 PM > Subject: Re: [JAVA3D] Texture Loading/Choppy Frame Rates > > > > Alex, > > > > The general recommendation would be to buy a reasonably modern video > > card. Another trick you might do is make the texture a bit less > > demanding. Convert the jpg to a GIF (so you are only using > one byte per > > pixel rather than 4 bytes per pixel), also you might > consider reducing > > the size of the texture (if it's 256x256 try it at 128x128). > > > > - John Wright > > Starfire Research > > > > > 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 - > > > > > > > > > > > ============================================================== > ============= > > 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". > > > > ============================================================== > ============= > 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". > =========================================================================== 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".
