Alain Martel <kua### [at] videotronca> wrote:
>
> > Howdy folks,
> > Would some kind soul please post a short, simple code example for importing an
> > ...obj file into 3.7.1? I'm consistently getting this error: Parse Error: No
> > triangles in triangle mesh. I don't understand why as the .obj file is properly
> > formed and is imported without problems by a number of 3D modeling programs. I'm
> > using the "boilerplate" code example from the wiki with the parameters changed
> > for my testing:
> >
>
> .OBJ often don't contain triangles but polys. Most are composed of a
> collection of quadrangles.
> That mean that they need to be loaded as unions of bicubic patches.
Generally I tessellate the mesh beforehand and insure its well formed. No
surprises that way ... Cheers.
Post a reply to this message
|