kaveh808 / kons-9

Common Lisp 3D Graphics Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text engine overflow when > 65K characters to be drawn

kaveh808 opened this issue · comments

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.