POV-Ray : Newsgroups : povray.newusers : Box with different texture in each side : Re: Box with different texture in each side Server Time
30 Jul 2024 12:28:06 EDT (-0400)
  Re: Box with different texture in each side  
From: Christopher James Huff
Date: 13 May 2004 16:23:07
Message: <cjameshuff-59672A.15231613052004@news.povray.org>
In article <pNW### [at] econymdemoncouk>,
 Mike Williams <nos### [at] econymdemoncouk> wrote:

> You could uv_map the box, or you could replace the box by an
> intersection of planes (like the way "cube" used to be defined in early
> versions of POV).

You should add "bounded_by {box {P1, P2}}" to that intersection. POV-Ray 
is incapable of automatically bounding that shape, since it is just an 
intersection of infinite shapes.

Anyway, that is likely to be slower than an actual box. You could also 
use a mesh, or a more complex pattern...there are many ways one could do 
it with a pattern.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

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