As long as checked, I could not find a way to define instances in .obj files...
I could extend my loader to have a proprietary option to be able to handle instance definitions.
But, in that case, you still have to write .obj by hand because there is no application software able to handle this proprietary option..
It reduces the size of a model file containing repetitive use of a same shape and probably makes it a bit faster to run on Processing.
So, for now, it would be better to make one independent .obj file for drawing repetitive objects.
A loader for a scene graph may be what is in charge of instance definition. If it's not so hard to write a scene graph loader, I might try to implement it...
gll wrote on Jun 1st, 2005, 5:01pm:Could we load in proce55ing 3D projects with instances handling (The same object is repeated many times - Block equivalent in AutoCAD) and group descriptions For example, I have a wall to import wich is composed of many repetitives objects.
As I saw, OBJ File Format do not support it (grouping exist but there's no instances).Could we have instances with OBJ or there's a way that I didn't saw