POV-Ray : Newsgroups : povray.general : A little help about old vers. : Re: A little help about old vers. Server Time
18 May 2025 03:35:34 EDT (-0400)
  Re: A little help about old vers.  
From: jr
Date: 26 Apr 2025 09:15:00
Message: <web.680cdbd9ce24a8bb721a48e56cde94f1@news.povray.org>
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.


Post a reply to this message

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