Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Engine Limits

From Quake Wiki

Revision as of 21:07, 14 January 2010 by Urre (talk | contribs)

Please add your engine's limits here.

This page is based on aguirRe's http://user.tninet.se/~xir870k/readmegl.txt with kind permission. Brainstorm about what other limits might be interesting (if any) is welcome on the Talk page.

QSB

Started adding Quake Standards Base limits to this article, comments and arguments are welcome in this I3D thread. The thread also contains my comments on each section. The standard isn't finished until the Quake Standards Base page says so, and is subject to change.

Green background means the engine passed the limit set up by the standard, thus making it compatible with that requirement. Feel free to alter the green backgrounds in case I've misinterpreted something!

TODO

  • Nicer table look
* means: Check engine's readme for comments and details
F means: Hard limit as a consequence of Q1 file format (typically BSP).  Increasing requires a format change.

BSP

Clipnodes Faces Lightmaps Marksurfaces Nodes Planes Static entities Surface extents Texinfo Visleafs Vis/light data Dimensions
Normal limit 32768 32768 64 32768 32768 32768 128 512/256 32768 8192 heapsize 4096
Quake Standards Base 65530 F 65536 1024 65536 65535 F 65536 F 512 2000 65536 F 32768  ? 1073741824
aguirRe's 65530 F 65536 1024 65536 65535 F 65536 F 256 >512/256 >32768 32768 2048M* 4096
DirectQ 65530 F 65536 Unlimited 65536 65535 F 65536 F Unlimited (max texture size * 16) - 16 65536 F 32768 Unlimited 3.402823466e+38f
ProQuake 4 32768 65536 64 65536 32768 32768 128 512/256 32768 8192 heapsize 4096
Quore 32768 65536 256 65536 32768 32768 512 512 4096 16384 heapsize 4096
DarkPlaces 65530 F Unlimited Unlimited Unlimited 65535 F 65536 F 256 4080 65536 F 32768 Unlimited 1073741824
Fitzquake 65530 F 65536 256 65535 65535-numfaces  ? 512 2000  ? 32768  ? 4096

MDL

Mesh commands Mesh strips Skin height Triangles Vertices
Normal limit 8192 128 480 2048 1024/2000
Quake Standards Base 16384 256 1024 65536 65536
aguirRe's 16384 256 1024 4096 4096/3984
DirectQ Unused Unused Unlimited 21845 65534
ProQuake 4 8192 128 480 4096 4096/3984
Quore 8192 128 480 2048 2048
DarkPlaces Unlimited Unlimited Unlimited 65536 65536

Sounds

Channels Dynamic channels
Normal limit 128 8
aguirRe's 516 128
DirectQ 516 128
ProQuake 4 128 8
Quore 128 8
DarkPlaces 1028 512

Client/Server

Clients Packet size (Reliable, Unreliable) Progs globals Runaway loop, QC Signon buffer size Stack size, QC Static client message
Normal limit 16 8192 / 1024 32k 100k ops ~8k 32 1024
aguirRe's 64 ~64k 64k 5M ops ~64k 256 8192
DirectQ 16 ~64k  ? (check) 5M ops ~64k 2048 8192
ProQuake 4 16 8192 / 1024 32k 100k ops ~8k 32 1024
Quore 32 ~32k 32k 1M ops ~32k  ?  ?
DarkPlaces 255 64k / 1400 64k 10M jumps 64k 16k 64k

Graphics

Beams Console background Far clip distance GL textures Temporary entities Texture size Texture size, sky Video modes Visible edicts WinQ bmodel edges WinQ bmodel vertices Particles
Normal limit 24 640x480/320x200 4096 1024 64 1200k =256x128 30 256 1000 500 2048 +
aguirRe's 256 1024M* 16384 2048* 512 1024M* any* 600 4096 3000 1000 2048 +
DirectQ 29127 640x480 + Infinite Unlimited 21845 Unlimited 4x2 or higher Unlimited 32768 N/A N/A Unlimited
ProQuake 4 24 640x480/320x200 cvar set 1024 64 1200k =256x128 600 4096 3000 1000 2048 +
Quore 32 Current resolution Unlimited 2048 256 1200k =256x128 N/A 1024 N/A N/A 32k
DarkPlaces 256 Unlimited Infinite Unlimited 65536 Unlimited =256x128 Unlimited Unlimited N/A N/A Unlimited

Misc.

Command/script buffer Console buffer size Edicts Efrags File handles Models, precached Mods, unique Sounds, precached Sounds, unique Temporary files Zone size, default
Normal limit 8k 16k 600 640 10 256 512 256 512 heapsize 48k
aguirRe's 64k 256k 4096 2048 100 1024 2048 1024* 2560 1024M* 320k
DirectQ 1024k 256k 8192 N/A (unused) N/A (unused) 4096 4096 4096 512 Unlimited 32 MB
ProQuake 4 8k 64k 2048 640 10 256 512 256 512 heapsize 1 MB
Quore 8k 64k 8192 2048 10 256 512 256 512 heapsize 48k
DarkPlaces 640k 1048576 32768 Unlimited Unlimited 8192 8192 4096 Unlimited Unlimited Unlimited

See Also