|
|
"Kenneth" <kdw### [at] gmailcom> wrote:
> ...
> Apparently, a warp{...} cannot be added to a previously-#declared texture. I
> sometimes run into similar problems; some things can be added, some can't.
>
> Your syntax is like this:
>
> #declare tmoon = texture
> {
> pbfr // [previously-#declared]
> scale <rfeature, rfeature * 2, 1>
> no_bump_scale
> warp {spherical}
> }
>
> Interestingly, the no_bump_scale *is* OK there. I was surprised at that.
That doesn't seem to be the explanation. I rewrote it without any declared
identifiers and it still fails:
#declare tmoon = texture
{
pigment { color srgb <0.55 0.60 0.65> }
finish { moon_finish }
normal {
bump_map {
png "robo-bfr.png"
bump_size 8e-3 *5
}
}
warp {spherical}
scale <rfeature, rfeature * 2, 1>
no_bump_scale
}
Same message, complaining about the warp.
Post a reply to this message
|
|