POV-Ray : Newsgroups : povray.binaries.images : My dorm room... : Re: My dorm room... Server Time
15 Aug 2024 20:22:40 EDT (-0400)
  Re: My dorm room...  
From: Mike Williams
Date: 4 Jun 2002 14:48:32
Message: <nSDiJdA1sQ$8Ew1f@econym.demon.co.uk>
Wasn't it Defective who wrote:
>Doesn't seem to work that way...
>
>At least, not when I tried:
>
>difference {
>    box { <-5,-5,-5>,<5,5,5> pigment { Clear } }
>    box { <-2,-2,-2>,<2,2,2> pigment { Orange transmit .5 } }
>}
>
>sphere { <0,0,0>,.5 pigment { Red } }
>
>Of course, I may have no clue what I'm doing...

The syntax is

box { <-2,-2,-2>,<2,2,2>
   texture {pigment {Clear}}
   interior_texture {pigment {Orange}}
}

Interior_texture is not supported in POV 3.1. You need POV 3.5 or
MegaPOV.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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