FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
554 stars 107 forks source link

Capability of handling Studiomodel limits? #151

Closed fuzun closed 8 years ago

fuzun commented 8 years ago

Defines in "hlsdk-xash3d/engine/studio.h":

// studio limits
#define MAXSTUDIOTRIANGLES      32768   // max triangles per model
#define MAXSTUDIOVERTS      4096    // max vertices per submodel

What can happen if I push these up to these and of course compiling and using a corresponding mdl : (Overflows maybe?)

#define MAXSTUDIOTRIANGLES      1048576 // max triangles per model
#define MAXSTUDIOVERTS      1048576 // max vertices per submodel

I am actually wondering what is the maximum of these limits that Xash3d can handle.

mittorn commented 8 years ago

XashXT and Paranoia2 can handle larger models with custom renderer. Here is exampe of very heavy model: http://cs-mapping.com.ua/forum/showthread.php?t=37136

fuzun commented 8 years ago

Its really good that it supports with a custom renderer. (The tools link is broken)

Не пытайтесь открыть эту модель нигде кроме обновленной паранои

So is not it possible to push these limits up and utilize a high poly model like that 'alyx' model without a custom renderer? Has anyone tested it yet? (I just work with bare Xash3d android project)

mittorn commented 8 years ago

Try code-clean branch. We have updated engine renderer and it should support really big models, it will be in master soon.