POV-Ray : Newsgroups : povray.general : A little help about old vers. : Re: A little help about old vers. Server Time
26 Apr 2025 11:49:42 EDT (-0400)
  Re: A little help about old vers.  
From: Bald Eagle
Date: 23 Apr 2025 16:50:00
Message: <web.68095263ce24a8bb1f9dae3025979125@news.povray.org>
"GioSeregni" <gms### [at] hotmailcom> wrote:
> "Bald Eagle" <cre### [at] netscapenet> wrote:
> > "GioSeregni" <gms### [at] hotmailcom> wrote:
> >
> > > DEF GOLDDARK Material {diffuseColor 0.81 0.71 0.23 ambientIntensity 0.5
> > > specularColor 1 1 1 shininess 1}
> >
> > my guess:
> >
> > #declare GOLDDARK = material {texture { pigment {rgb <0.81, 0.71, 0.23>} finish
> > {ambient 0.5 specular 1} } }
> >
> > I would probably replace ambient with diffuse, and drastically decrease
> > specular, or at least keep diffuse + specular < 1.
> >
> > - BW
>
> Many thanks! but my english is poor,
> do you mean these are just your preferences, or the literal translation of the
> syntax?

I mean that I don't know what the material is supposed to look like, so it's
hard to know if I'm correctly rewriting the material.

Specular doesn't take a color, just a scalar value.
But now that I think about it more, this is supposed to be a metallic material,
so maybe:

#declare GOLDDARK = material {texture { pigment {rgb <0.81, 0.71, 0.23>} finish
{diffuse 0.5 metallic specular 0.5 brilliance 1 } } }

Would be better.
I'm a terrible person to ask about textures and finishes - but hopefully this
helps a little.

- BW


Post a reply to this message

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