POV-Ray : Newsgroups : povray.general : Example of .obj import please : Re: Example of .obj import please Server Time
7 Dec 2021 10:33:08 EST (-0500)
  Re: Example of .obj import please  
From: Alain Martel
Date: 1 Oct 2021 11:13:08
Message: <61572584$1@news.povray.org>

> 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.


Post a reply to this message

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