POV-Ray : Newsgroups : povray.general : A little help about old vers. : Re: A little help about old vers. Server Time
27 Apr 2025 04:38:54 EDT (-0400)
  Re: A little help about old vers.  
From: Bald Eagle
Date: 26 Apr 2025 10:25:00
Message: <web.680ceb9fce24a8bb1f9dae3025979125@news.povray.org>
"GioSeregni" <gms### [at] hotmailcom> wrote:

> Yes, this is exactly the page by me indicated previously, if you see the whole
> topic.
> This page is very confusing to me.
> I would like to find a way to update the old definitions as faithfully as
> possible.
> This "material" way is a suggestion I had, but I already knew it didn't work.
> Thanks!

What happened is that texture used to have interior as part of it.
Then interiors became it's own thing - separate from texture.
So to apply both to an object, you need to put them in a material {} statement.

material {} does accept a pigment {} statement directly.

So just do

material {
     texture {pigment {}}
}

and that will work.

- BW


Post a reply to this message

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