POV-Ray : Newsgroups : povray.advanced-users : Interior in triangle meshes : Re: Interior in triangle meshes Server Time
29 Jul 2024 22:25:49 EDT (-0400)
  Re: Interior in triangle meshes  
From: Chris Colefax
Date: 3 Oct 2000 08:33:13
Message: <39d9d209@news.povray.org>
Matt Taylor <tay### [at] hotmailcom> wrote:
> Hi, Does anyone know of a way to use the interior command on a
per-triangle
> basis in a mesh
> It seems that a mesh triangle can only be modified by a declared texture,
> and I can't put an interior command within a texture declaration. I'm sure
> this must be possible, so any help would be much appreciated

To achieve the advantages offered by the mesh object over a union of
triangles restrictions are necessary, one of these being that only declared
textures may be applied to individual triangles.  If you want individual
materials for triangles you'll have to use a union (or simply specify the
triangles separately).

Be aware, however, that interiors are designed for objects that actually
have clearly defined interiors and exteriors, which triangles do not.  The
results of specifying an interior for a single triangle will change as the
camera changes, which may or may not be what you want...


Post a reply to this message

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