POV-Ray : Newsgroups : povray.pov4.discussion.general : Feature proposition: syntax for custom reflections : Re: Feature proposition: syntax for custom reflections Server Time
11 May 2024 00:32:07 EDT (-0400)
  Re: Feature proposition: syntax for custom reflections  
From: Antonio Ferrari
Date: 4 Mar 2008 11:20:00
Message: <web.47cd75c97fd3dde529aed21e0@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:

> A better solution would be to be able
> to define texturing shaders using a shader language. This language could
> do almost anything (including sending new rays) and affect the texturing
> of the surface in almost any possible way.
> ...........
>   Of course this doesn't stop POV-Ray from having a library of shaders
> which imitate what the current hard-coded lighting models and textures do.
> (In some cases perhaps some hard-coded versions may be necessary for
> speed reasons.)

I agree with Warp ideas. We could compare such a technique with Design Pattern
in programming language. Design Patterns says just to avoid hard-coded
features.


Post a reply to this message

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