Currently Being Moderated

where dose the "resource limit" come from?

Sep 28, 2011 9:51 PM

hello everybody!

i am new here!

i've recently read about the document of fp11(beta). The difference between the beta and alpha version in the document confused me a lot.

In the Context3D item, the beta version list the resouce limit of all the buffers:

And the alpha one said "The maximum number of vertices in a single buffer is 65535."  &  "The maximum number of 32 bit data per vertex is 64 (or 256 bytes)."

So we can calculate the max size of a vertex buffer,that is 65535 X 256 = 16 776 960 bytes.

Acording to the beta version document, there are 4096 vertex buffers allowed, if each of the vertex size is maximum, the total memory is obviously out of the limit 256MB.

My question is how the total memeory 256MB(vertex buffers) and the 4096 number allowed are derived. Or  are they  just the limit decided by molehill instead of being derived.

Replies
• Currently Being Moderated
Sep 29, 2011 1:26 AM   in reply to Joe Physwf

If a car has a payload of 500kg and has seats for  4 persons, and there are 4 persons with 150kg each, they are not allowed to use it at the same time. But, for example, 3 of them are allowed, also 2 people with 200 or 4 people with 100kg each.

Both limits have their justification.

"max. number of X" are  addressing limits,  256MB is a memory limit. All derived from the lowest  target system  I guess.

|
Mark as:
Actions

More Like This

• Retrieving data ...