Jerky textures on bigger terrains

Blitz3D Forums/Blitz3D Beginners Area/Jerky textures on bigger terrains

3DFish(Posted 2004) [#1]
I'm using 2 or more textures on my terrain.

When I increase the terrain size, I get a jerky texture behaviour.
This happens only when the camera moves.

This only happens on smaller screen cards. (Nvidia Riva 32MB TNT Pro)
No problem with Nvidia Geforce 64MB

The same jerky texture appears on my water plane.

Anyone heard of this before?
I will really appreciate your help.
I'm using this in my next project, Adventure fishing 2.

Thanks


BlackD(Posted 2004) [#2]
Try this is a quick fix test. Render the entire scene without flipping it, before you start your main loop, with the entire terrain in the render view of the camera. Then re-set the camera coordinates correctly and start the mainloop.
eg:

;Your scene setup code
positionentity camera,0,0,-100    ;or whatever u need to get the entire scene in view
UpdateWorld
RenderWorld    ;notice we don't flip it to visible
positionentity camera,0,0,0    ;or wherever u need to put it :)

.mainloop
;your main loop code
updateworld
renderworld
flip 

Also, the Riva has a max texture size of 2048x2048.. if you're going over that you're going to run into a multitude of issues. Remember to try both 16-bit and 32-bit modes.

+BlackD