POV-Ray : Newsgroups : povray.off-topic : The most common 3D mesh file format? : Re: The most common 3D mesh file format? Server Time
6 Sep 2024 17:19:36 EDT (-0400)
  Re: The most common 3D mesh file format?  
From: andrel
Date: 27 Jan 2009 13:00:23
Message: <497F4C1E.4060204@hotmail.com>
On 27-Jan-09 9:23, scott wrote:
>>> Another advantage of OBJ is that it support quads. I think 3DS only 
>>> supports
>>> triangles?
>>
>>  Rendering a (non-rectangular) textured quad is not an unambiguous 
>> process.
>> How do you do that? Dividing it into two triangles will get you a 
>> texturing
>> artifact.
> 
> To be clearer, there is no expected or obvious way how the inside of a 
> quad should be textured given the four vertex texture coordinates.  
> Converting to two triangles does it one way, but there are other 
> possibilities.  In practise every modeller and renderer will convert it 
> to two triangles, so I guess that can be thought of the "standard" way.

I normally cut them in 4 (using the center of mass as a fifth vertex) 
that at least gives a unique division.


Post a reply to this message

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