POV-Ray : Newsgroups : povray.general : A little help about old vers. : Re: A little help about old vers. Server Time
27 Apr 2025 04:36:25 EDT (-0400)
  Re: A little help about old vers.  
From: GioSeregni
Date: 26 Apr 2025 10:10:00
Message: <web.680ce921ce24a8bb7e2ea33059126100@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
> "GioSeregni" <gms### [at] hotmailcom> wrote:
> > ...
> > #declare GOLDDARK = material{
> >  pigment{rgb<0.81, 0.71, 0.23>}
> >  finish{diffuse 0.5 ambient 0 specular 1 metallic roughness 0.01
> >   reflection{0.6 metallic}
> >   }
> >  }// This is a metal.
> >
> > I get:
> > Parse Error: No matching } in 'material', pigment found instead
> > Render failed
>
> POV-Ray is looking for a 'texture{}' to wrap the pigment and finish, see:
> <https://wiki.povray.org/content/Reference:Material>.  hth.
>
>
> regards, jr.

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!


Post a reply to this message

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