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?
yeah this is a pending feature request by yours truly as well..
v a d e //
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
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.
C74 RSS Feed | © Copyright Cycling '74