|
|
news:cq6m0l$65g$1@chho.imagico.de...
> It is not a good idea to start demanding a new feature just because it
> is not obvious to you how to accomplish a certain effect with existing
> means.
You can do it with texture_map, but it's not very practical if you want to
have separate maps for more than 2 different channels. To create a finish
pattern independent from the pigment pattern we have currently:
texture{
Pattern_Finish
texture_map{
[0 pigment{Pattern_Pigment} finish{Finish_1}]
[1 pigment{Pattern_Pigment} finish{Finish_2}]
}
}
But if you want to have diffuse values following a pattern different from
the reflection pattern, it's necessary to nest texture maps, which can turn
into a headache:
texture{
Pattern_Reflection
texture_map{
[0
Pattern_Diffuse
texture_map{
[0 pigment{Pigment_Pigment} finish{Finish_1}]
[1 pigment{Pattern_Pigment} finish{Finish_2}]
}
]
[1
Pattern_Diffuse
texture_map{
[0 pigment{Pattern_Pigment} finish{Finish_3}]
[1 pigment{Pattern_Pigment} finish{Finish_4}]
}
]
}
}
Where Finish_1 etc. correspond to the different combinations of diffuse and
reflection, for instance
diffuse 0.5 reflection{0,0.5}
diffuse 0.5 reflection 0
diffuse 1 reflection{0,0.5}
diffuse 1 reflection 0
If patterns could be applied independently to all channels, this would look
like this:
texture{
pigment{Pattern_Pigment + pigment parameters}
diffuse{Pattern_Diffuse + diffuse parameters}
reflection{Pattern_Reflection + reflection parameters}
}
G.
--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters
Post a reply to this message
|
|