Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (blaurock), 750 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Rendering model with +64K verts #459746
06/02/16 17:02
06/02/16 17:02
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline OP
Expert
Matt_Aufderheide  Offline OP
Expert
M

Joined: Oct 2003
Posts: 4,131
I have thought that using groups, you can have a model with more than 64k verts, but so far in my tests it doesn't seem to work... I still get this error. ANy idea what I am doing wrong? I simply import my mesh with each "chunk" as a separate group, and each chunk is under 64k


Sphere Engine--the premier A6 graphics plugin.
Re: Rendering model with +64K verts [Re: Matt_Aufderheide] #459862
06/09/16 09:06
06/09/16 09:06
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

Joined: Mar 2012
Posts: 927
cyberspace
rendering a model with +64k requires mesh vertex/index buffer support above 16bit .

back in the days, hardware had the 16bit limit ,nowadays we have hardware that can handle more ,like 32bit , but acknex is old tech and the limit in it remains at 16bit for mesh buffers.

when you have your model "chunks" (nodes) under this limit , in your modeling application , and need to stay within the limits of acknex engine , you have to remember that everything exported in the mesh file ,will be the mesh when imported , the keyword here is "mesh" , even though you may have submeshes (nodes) which make up the whole "mesh" , the final mesh consist's of these submeshes as a single mesh buffer when imported ,i believe .

therefore if in total ,your submeshes , together , consists of more than the limit at which the engine is at (16 bit in this case) , you have options of either two things ,

A) code the file loader yourself ,and seperate the nodes to become each a seperate model mesh .

B) export each node as a seperate mesh on theire own.

the principle is quite simple , in general , each chunk/mesh may consist of more than one submesh with different materials/shaders but , as long as each chunk/mesh consists entirely as a "whole" in total when added together ,as a single buffer under the limit of what the tech supports.

the problem here becomes , what the model file loader does at loading time with nodes , if it would have been able to split buffers based on the set limits when reading the file , it would have had so much more complications in regards to what the engine is and does , *totaly opinion based reply by the way.


Compulsive compiler

Moderated by  HeelX, Spirit 

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

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

Powered by UBB.threads™ PHP Forum Software 7.7.1