|
From: Keith W. <kw...@cs...> - 2004-07-22 20:58:03
|
On Thu, 22 Jul 2004, Dair Grant wrote: > Keith Wiley wrote: > > >My highest res textures, which of course cover the entire area of a > >terrain tile, are 1024 pixels across, or just over 1 mil pixels square > >(2 mil bytes of course). Granted, that's a pretty big freaking > >texture, but I do have a very modern computer. Should I be getting a > >hiccup for this kind of texture-loading? > > Try running the OpenGL Profiler app - that should let you see what's > happening in terms of communication with the card. Okay, I'll have to find it first. :-) I can probably find it. > You can't load it in pieces (other than splitting it into separate > textures), so shrinking it would be my choice. That would be a great trick wouldn't it. To piecewise load a texture before you need it, so it's all there by the time you need it. > Do you do any visibility culling yourself? At the moment Quesa won't do > this for you, but if using smaller tiles is to be avoided because it > increases the number of things in your world, you may be able to reduce > the impact by reducing the number of things you actually submit on each > frame. Yes and no. I have tried to use Queeg and Nanosaur's camera frustum culling routines. Queeg's seem to work better. :-) For the most part they work and I intend to use the culling eventually, but it culls too "hard" cutting stuff out that is on the edge of the cone of vision. I'm probably using it wrong. Anyway, culling aside, increasing the number of objects is clearly undesirable, but I may have to find the necessary balance between texture size and number of tiles. Thanks. ________________________________________________________________________ Keith Wiley kw...@cs... http://www.unm.edu/~keithw http://www.mp3.com/KeithWiley "Yet mark his perfect self-contentment, and hence learn his lesson, that to be self-contented is to be vile and ignorant, and that to aspire is better than to be blindly and impotently happy." -- Edwin A. Abbott, Flatland ________________________________________________________________________ |