News:

Come Chat with us live! Learn how HERE!

Main Menu

How to change max vertices

Started by Lonly, August 24, 2009, 12:33:01 AM

Lonly

Where do I go if possible to change the maximum vertices for tremulous?

gimhael

The limits are compiled into the client, so you have to patch and recompile it:

Option 1: go into src/qcommon/qfiles.h and change the defines for SHADER_MAX_VERTEXES and SHADER_MAX_INDEXES
Option 2: try this experimental patch which removes the limit on model size (except available memory) but also contains a lot of other stuff and isn't really tested on anything except my PC.

Archangel

i never got that vbo patch to work. if at all possible, you should try stripping out all the other stuff from it (if i don't get to trying to do that first)

gimhael

Could you be more specific about what failed ? (patch errors, compiler errors, runtime errors ?)

I know that the SSE stuff caused problems for some ppl, but I have removed that from the patch some time ago.

Lonly

Patch failed, at-least most of it failed. I tried editing the qfile.h, compiled, tried, fail, still says too many vertices, so I went back over my work and found that i put the max vertices too low, raised it, compiled, tried again, still failed, says too many vertices, any more options?