Tremulous Forum

Mods => Modding Center => Topic started by: Lonly on August 24, 2009, 12:33:01 am

Title: How to change max vertices
Post by: Lonly on August 24, 2009, 12:33:01 am
Where do I go if possible to change the maximum vertices for tremulous?
Title: Re: How to change max vertices
Post by: gimhael on August 24, 2009, 09:23:12 am
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 (http://patches.mercenariesguild.net/index.php?getfile=1000) 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.
Title: Re: How to change max vertices
Post by: Archangel on August 24, 2009, 10:21:48 am
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)
Title: Re: How to change max vertices
Post by: gimhael on August 24, 2009, 04:48:47 pm
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.
Title: Re: How to change max vertices
Post by: Lonly on August 24, 2009, 05:25:39 pm
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?