5,389
edits
No edit summary |
m (arrays, elements and indices) |
||
Line 99: | Line 99: | ||
Anyway, it makes sense to increase the number of quads per leaf rather than decreasing the leaf minimum size. Of course 4095 quads per leaf would be way too much but nobody says that the max value used is 4095. The max value for 12/20 is 426 and this happens in a place where the geometry is a bit complex - level 2, a piece of the deadly brain thingie (and that leaf is 16 in size, the smaller size possibile so it's normal that the max number of quads was bumped up). | Anyway, it makes sense to increase the number of quads per leaf rather than decreasing the leaf minimum size. Of course 4095 quads per leaf would be way too much but nobody says that the max value used is 4095. The max value for 12/20 is 426 and this happens in a place where the geometry is a bit complex - level 2, a piece of the deadly brain thingie (and that leaf is 16 in size, the smaller size possibile so it's normal that the max number of quads was bumped up). | ||
[[User:Neo|Neo]] | [[User:Neo|Neo]] | ||
:''"If you look to package 16, the 20-bit is 256 (read from right to left). What does it tell me? | |||
:''Start with package 256 and read 227 packages or start at position 256 and read 227 packages?" | |||
:The former. Read 227 elements ("packages") starting with element number 256. Index, not offset. | |||
:Thanks for ignoring my request to resume synchronization of Oni Galore with Oni Stuff, BTW ^^ | |||
::[[User:Geyser|geyser]] 00:29, 28 April 2007 (CEST) |