|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
A texture map like this:
texture
gradient y
texture_map {
[0.9 robot_texture]
[0.9 GasketTexture]
}
}
I presume will cycle once per unit along the Y direction.
If I scale it to make the pattern the length I want, will that scale the
individual textures in the map as well, or just the gradiant?
--John
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Scaling it will scale the entire texture, including the textures in it.
If you don't want this, you can use frequency for the gradient, although
it is harder to control until you get used to it.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hmmm are you sure of that? 'scale' is supposed to be done where it's
at, ie. just after the primitive values or just before the end
brace }. Although if the scale is placed ahead of the texture_map
within the texture statement it then appears to affect it the same as
if putting it after the texture_map.
'turbulence' doesn't follow this sort of rule but the transformations
do I believe.
Bob
Chris Huff <Chr### [at] compuservecom> wrote in message
news:37DBB7D4.C05A0B9B@compuserve.com...
> Scaling it will scale the entire texture, including the textures in
it.
> If you don't want this, you can use frequency for the gradient,
although
> it is harder to control until you get used to it.
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
This:
texture {
gradient y
texture_map {
[0.9 robot_texture]
[0.9 GasketTexture]
}
scale 0.5
}
will scale the entire texture by 0.5, robot_texture and GasketTexture
are now parts of the texture being scaled, and are scaled with it. Using
frequency 2 in it's place will just affect how those textures are used,
and not their scale.
As for turbulence, if you enclose it in a warp {} statement, it acts
like any other transform, and is dependant on position.
Are you trying to scale the pattern, but not the stuff being patterned?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Chris Huff <Chr### [at] compuservecom> wrote in message
news:37DBB7D4.C05A0B9B@compuserve.com...
> Scaling it will scale the entire texture, including the textures in it.
> If you don't want this, you can use frequency for the gradient, although
> it is harder to control until you get used to it.
re Frequency: thanks. I was thinking I could scale the individual textures
within it to undo the overall scale; that might be easier, but less elegant
engineering because the same value appears in multiple places.
--John
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |