Alex,
Well, let's start with what kind of a video card are you using?
The next trick I'd suggest is perhaps redesigning your terrain so that
it's more than one Shape3D so that Java 3D has more of a chance to cull
out what can't be seen.
- John Wright
Starfire Research
Alex Hew wrote:
>
> 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".