Gamestudio Links
Zorro Links
Newest Posts
Specular Shader
by Dooley
Yesterday at 18:17
is 3dgs byDirextX or Opengl?
by Dooley
Yesterday at 18:09
Tensorflow and Python 32 bit
by jcl
Yesterday at 13:28
New Zorro version 2.12
by jcl
05/21/19 17:23
Mixed frequency history (M1+D)
by jcl
05/20/19 12:21
This is my fault-tolerant ATR indicator for you
by OptimusPrime
05/18/19 16:35
missing trade variables
by AndrewAMD
05/18/19 12:37
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online
5 registered (kvm, Michael_Schwarz, Ayumi, Dooley, 1 invisible), 519 Guests and 1 Spider online.
Key: Admin, Global Mod, Mod
Newest Members
Reza65, Pritamchakra, h4h4rd, ccm, Pippo
18224 Registered Users
Topic Options
Rate This Topic
#476982 - 04/30/19 12:03 USE D3D9 API create new mesh 65536 vectex crash!
20BN Offline
Member

Registered: 02/08/03
Posts: 123
Loc: RP China
How to support more vectex with mdl7 file?
If any mdl's vectex exceed 65535, the game engine will crash.
My sandbox game merge some entity model to one model.
The 65535 / per model is very restricted.

Top
#476996 - 05/01/19 10:44 Re: USE D3D9 API create new mesh 65536 vectex crash! [Re: 20BN]
Superku Offline
Senior Expert

Registered: 09/13/03
Posts: 6841
Loc: Kiel (Germany)
That's the limit, you cannot use more than 2^16 (limit of unsigned "short") per vertices per model.
You have to create several models instead, i.e. create your environment in chunks.
_________________________
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends

Top


Moderator:  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de