# groups obj 3d
hi
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?
any suggestions
jurgen
yeah this is a pending feature request by yours truly as well..
v a d e //
www.vade.info
abstrakt.vade.info
I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I
LIVE! I LIVE! I LIVE! I LIVE!
You will not be saved by the Holy Ghost. You will not be saved by the
God Plutonium.
In fact, YOU WILL NOT BE SAVED!
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.
-Joshua