Author Topic: How to change max vertices  (Read 3051 times)

Lonly

  • Posts: 231
  • Turrets: +9/-39
    • Host-Man
How to change max vertices
« on: August 24, 2009, 12:33:01 am »
Where do I go if possible to change the maximum vertices for tremulous?

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: How to change max vertices
« Reply #1 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 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

  • Guest
Re: How to change max vertices
« Reply #2 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)

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: How to change max vertices
« Reply #3 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.

Lonly

  • Posts: 231
  • Turrets: +9/-39
    • Host-Man
Re: How to change max vertices
« Reply #4 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?