POV-Ray : Newsgroups : povray.general : Example of .obj import please : Re: Example of .obj import please Server Time
29 May 2024 10:21:24 EDT (-0400)
  Re: Example of .obj import please  
From: The Traveler
Date: 1 Oct 2021 16:25:00
Message: <web.61576dc0cc8d58d2dd31149be3dfee7c@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.