Guy Volckaert wrote:
Ok. I have a little more information for you guys.
Just to recap the situation: When I run using Bilinear, I get 30 Hz. When I run 
using Trilinear, I get 60Hz.

During my investigation, I noticed that their are actually 2 bilinear modes: 
LINEAR and LINEAR_MIPMAP_NEAREST. LINEAR does not include any mipmaps, whereas 
LINEAR_MIPMAP_NEAREST will include mipmaps.

As a test, I modified my texture attribute visitor to replace LINEAR by 
LINEAR_MIPMAP_NEAREST. Now, the performance is similar to using Trilinear.

It seems that the graphics card does not like using Bilinear textures without 
the mipmaps.

Does anyone know why?

How big is the base level of your texture, and how big is the on-screen rendering? If you use LINEAR but you're minifying, this will produce poorer cache results than if you used a mipmap filter (and thus loaded a smaller texture into the cache).
   -Paul

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to