[Fluxus] load-primitive vs recalc-normals

David Griffiths dave at pawfal.org
Wed May 4 11:27:59 PDT 2011


On Wed, 2011-05-04 at 21:24 +0300, David Griffiths wrote:
> Hi Kassen,
> 
> The OBJ model format is indexed, so when you save a primitive and load
> it back in it converts it to indexed mode. It's not really possible (or
> quite "non-trivial") to convert them back into straight arrays again.

Actually it's not hard, but possibly a bit counter-productive - the
solution is to find a non-indexed 3D file format. The problems with obj
are compounded by the fact that they support multiple indices for
position, normal, texture etc, whereas OpenGL only supports one for all.

So there is quite a lot of processing going on, and added complexity.

cheers,

dave




More information about the Fluxus mailing list