POV-Ray : Newsgroups : povray.general : About Raytracing : Re: About Raytracing Server Time
24 May 2024 22:49:04 EDT (-0400)
  Re: About Raytracing  
From: scorp08
Date: 12 Jul 2019 09:10:00
Message: <web.5d2886724548e55256755e030@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "scorp08" <ozo### [at] gmailcom> wrote:
>
> > Is eval_pigment() used for colors only?
>
> Yes.
> http://wiki.povray.org/content/Reference:Functions.inc
> Pre defined functions
> eval_pigment(Pigm, Vect): This macro evaluates the color of a pigment at a
> specific point. Some pigments require more information than simply a point,
> slope pattern based pigments for example, and will not work with this macro.
> However, most pigments will work fine.
>
> Parameters:
>
> Vect = The point at which to evaluate the pigment.
> Pigm = The pigment to evaluate.
>
> > because I want to give names to the stl
> > or step objects then , I will start shooting to get thickness, intersection
> > points (coordinates) and names of objects
> > Is it possible ?
>
> Right, which is why I laid out the scheme to do everything stepwise - you can
> only do what POV-Ray can do - everything else has to be structured to take that
> into account.

Does pigment has to be color or can it be any other string ?
Also Can I use those macros in freecad ?
Thnks for the help


Post a reply to this message

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