POV-Ray : Newsgroups : povray.binaries.images : POVMan test image : Re: POVMan test image Server Time
19 Aug 2024 10:23:08 EDT (-0400)
  Re: POVMan test image  
From: Vahur Krouverk
Date: 14 Dec 2000 03:40:03
Message: <3A3887E5.375AD306@aetec.ee>
Christoph Hormann wrote:
> Just checked it out and found that transformations are not used in shader
> pigments.  For example
> 
> #declare myWaves=function{
>   pigment{
>     shader{
>       shader_file "waves.slp"
>       "scale" 10
>     }
>     scale 0.001
>   }
> }
> 
> in this scene does not change anything, which seems wrong to me.
> 


Mea culpa! It is wrong! As it appears, I managed to insert bug to the
waves shader :o(
replace line:
  vector NewVect = vfBm(P, 5, lac, 1/lac);
with line:
  vector NewVect = vfBm(pt, 5, lac, 1/lac);
in waves.sl and recompile shader.


Post a reply to this message

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