Why is this small terrain rendering sometimes, but when you pan, tilt or move the camera just a little bit, the terrain completely disappears? Is there like an engine variable that has to be set to fix this? It is a 2 sided plan, 4 verticies, and it is a .mdl file. Here are some screen shots. Screen shot 1 is when I am zoomed out away, but when I try to move the camera closer to the terrain, it completely disappears.

This is a 25X25 set of tiles for the terrain. When the engine first starts up, it opens a data file to set each of the 4 verticies of each model for height of the terrain. I am using vec_to_mesh to deform the terrain. I have tried adjusting ZNEAR, d3d_near_models and ent_fixnormals, even though I don't know to much on ent_fixnormals. When the camera moves around, I can sometimes pick up certain areas of this cluster of tiles.

Edit: If this helps, my "srv" in my debug list is 1.8 or 1.9 when everything disappears, but 0 when everything shows up correctly.


Any ideas? Thanks.





Last edited by Garrettwademan; 03/28/09 15:51.

Current Project: Computer Repair Simulator
https://www.computer-repair-simulator.com