I would like to know how many groups there are in a .OBJ 3d when loaded
by the jit.gl.model object? Of course i know the amount of groups in the
object i made but i cant find a way to have an output to f.e. a number
box in jitter. Is there a way to predefine the number of groups and
attach this to the specific .OBJ and recall this on loading the object?
We can consider exposing a gettable groupcount attribute in a future
version, but one way to accomplish this currently would be to read in
the lines of your OBJ file in a JS via the File object (I think Nesa
has an example of this somewhere in the archives), and count the
number of lines beginning with the "g", group statement.