# groups obj 3d

Mar 8, 2006 at 8:56am

# 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

#24772
Mar 8, 2006 at 6:08pm

yeah this is a pending feature request by yours truly as well..

v a d e //

http://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!

#72184
Mar 8, 2006 at 8:01pm

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

#72185

You must be logged in to reply to this topic.