Nieminen Juha <war### [at] punarastas cs tut fi> wrote...
> 2) What a strange name. Wouldn't "no_normal_scale" be better and more
> descriptive?
A good point. How many people would get mad if I changed the syntax?
> 3) I really didn't mean this. What I meant was that there should be a
> way to scale the pattern independently of the normal. This means that
> after scaling the pattern it should be possible to scale the whole
> normal statement (which would scale both the pattern and the normal).
> I don't like the "scale pattern or normal, but not both" type of
> scaling.
You can enclose your pattern as a pigment within a 'function' pattern. This
way, you could do whatever you want to with the pattern before it starts
getting used as a normal.
Instead of using this:
normal{
crackle 0.5
scale 10
}
use this:
normal{
function{pigment{
crackle
color_map{[0 rgb 0][1 rgb 1]} // might be optional
scale 10 // scale goes here
}} 0.5
}
I think adding a 'pattern' pattern would be useful. That would look like
this:
normal{
pattern{
crackle
scale 10 // scale goes here
} 0.5
}
Comments?
-Nathan
Post a reply to this message
|