|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
Thanks a lot
Matt Taylor
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Chris Colefax <chr### [at] tagpovrayorg> wrote:
: 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...
Megapov supports "solid" meshes if that's of any help.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 3 Oct 2000 09:06:12 -0400, Warp wrote:
>Chris Colefax <chr### [at] tagpovrayorg> wrote:
>: 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...
>
> Megapov supports "solid" meshes if that's of any help.
"Solid" meshes are unnecessary for proper operation of interior. What's
necessary is a topologically closed object with a consistent interior. You
can even give an interior to a bicubic patch mesh and get it to work.
But you can't give an interior to a triangle, because it doesn't have an
interior. Well, you can, but as Chris said, it won't do what you want.
--
Ron Parker http://www2.fwi.com/~parkerr/traces.html
My opinions. Mine. Not anyone else's.
Proudly not helping RIAA and SDMI steal my rights --
http://www.eff.org/Misc/EFF/Newsletters/EFFector/HTML/effect13.08.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|