kons-9
kons-9 copied to clipboard
Text engine overflow when > 65K characters to be drawn
EDIT: This happens with a moderately complex scene (~2K children for a shape). I assume if the total number of characters to be drawn is over 65K it crashes.
I created a voxel-grid-group
with cubes as children and then tried to open the GUI shape inspector. Got text engine error:
The value
65536
is not of type
(UNSIGNED-BYTE 16)
As a workaround, implemented point-instancer-shape
and voxel-grid-shape
which do not store instances as children. Rather they make draw calls procedurally one instance at a time.