[Radiance-general] obj parser in obj2rad and obj2mesh
Kirk Thibault
kthibault at biomechanicsinc.com
Wed May 18 19:05:22 CEST 2005
Greg, you are my hero.
Kirk
On May 18, 2005, at 12:53 PM, Greg Ward wrote:
> Hi Lars,
>
> I found the problem. You have a couple of polygons with 105
> vertices, which obj2rad leaves as is, but obj2mesh has to convert
> these to triangles, since that's all the mesh primitive supports.
> Unfortunately, the algorithm in place to do this only works
> properly for convex polygons. Implementing a proper, general
> triangulation method is a hard problem, and not something I have
> time for at the moment.
>
> If anyone out there has a bit of code they'd like to lend to the
> cause, or a good reference they can recommend, I'd be happy to hear
> it.
>
> -Greg
>
>
>> From: Lars O. Grobe <grobe at gmx.net>
>>
More information about the Radiance-general
mailing list