POV-Ray : Newsgroups : povray.general : Help Povray! The master class is required! : Re: Help Povray! The master class is required! Server Time
28 Jul 2024 22:22:08 EDT (-0400)
  Re: Help Povray! The master class is required!  
From: LanuHum
Date: 8 Jan 2014 10:55:01
Message: <web.52cd7451edf830fd7a3e03fe0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:

>
> The material includes the "interior" block:
>
> #declare MyMaterial = material {
>    texture { ... }
>    interior { ... }
> }
>
> #declare MyMesh = mesh {
>    ...
>    material { MyMaterial }
> }
>

Thanks!
>
> Unfortunately it doesn't work for meshes with multiple textures. Still,
> there should be a way to specify an interior for those as well, such as:
>
> #declare MyMesh = mesh {
>    triangle { ... texture { MyTexture1 } }
>    triangle { ... texture { MyTexture2 } }
>    ...
>    interior { MyInterior }
> }

My exporter has it. No problem!


Post a reply to this message

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