I use threading-model /Draw in my config.prc which gives a definite boost in frame rate. I would like to increase this even more by using threading-model Cull/Draw, but I can’t because it crashes with the following error:
Assertion failed: is_indexed() at line 1505 of c:\buildslave\dev_sdk_win_amd64\build\panda3d\panda\src\gobj\geomPrimitice.cxx
Yes, I run 1.9.0-x64-2014.11.27-503. I just tried the latest release version, and you are right, Cull/Draw now works fine. However, the ground textures now get blurred about 10 meters in front, which was not the case with the prerelease versions. Has something changed in the texture filtering settings that could cause this ?
Its the texture filtering with mipmapping that seems to work out differently in the latest 1.9.0 version compared to Panda3d-1.9.0-x64-2014.11.27-503.
For the road texture that is more blurry from nearby in the latest version I have the following specified in the egg file:
What changed that may be related is that we now explicitly set GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, and GL_TEXTURE_LOD_BIAS. But they are set to what should be the OpenGL defaults.
Might it be that you have a driver setting with a negative mipmap bias, and that Panda is now overriding it?
You could try playing with texture.setLodBias(-1.0) to see if you can get the textures to appear sharper.
Yes, you are right, it’s the negative lod bias. When I use nv inspector to set negative lod bias to -1.5 then the images are similar to the previous version. I can’t find setLodBias as a texture function. Do you know of another way to set the lodbias to a negative value in panda ?