POV-Ray : Newsgroups : povray.binaries.images : Crackle pattern values : Re: Crackle pattern values Server Time
16 Apr 2024 13:55:19 EDT (-0400)
  Re: Crackle pattern values  
From: Alain
Date: 14 Apr 2018 18:15:56
Message: <5ad27d9c$1@news.povray.org>

> William F Pokorny <ano### [at] anonymousorg> wrote:
> 
>>>> A trick I find useful when working with maps is to hard code a value as
>>>> follows using function{} :
>>>>
>>>> // pigment_pattern {NR_wood_grain}
>>>>       function { 0.91 }
>>>>       texture_map {...}
> 
> Ah, I see this clearly now.   Very clever  :)
> 
> Presumably one can do function {Val1, Val2, Val3}
> 
> to specify any "x, y, z" coordinate to evaluate the map at.
> 
> I'll see what I can work out using that method.
> 
> I also had some issues getting the text object to work well as a pigment pattern
> - is there a trick for getting a text object with infinite thickness - or would
> that not be necessary?
> 
> 
> 
> 

While Willian method is good, if you don't need it to be infinite but 
having it just be extremely thick, you can give it a large value for the 
thickness, and then scale it very large. If the actual thickness get in 
the 1e6 erange, or more, it will effectively /look/ infinite.

Extreeme thickness sample :
text{ttf Fon_Name, Yourtext, 2e6, 0 translate -1e6*z scale<1,1,1e6>}


Post a reply to this message

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