|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kenneth wrote:
> I'm not sure, but the slope pattern may not be working correctly(?).
> I went back through the postings in several newsgroups, but didn't see
> anything about it.
>
> Using slope {0,-1,0} and without choosing Lo_slope and Hi_slope values, the
> pattern does what is expected....covering the object "fully" with a
> color_map or texture from top to bottom (that is, assigning the color_map
> to the full 0-to-1 "slope"...all the object's normals.)
>
> But sticking in Lo_slope and Hi_slope values ...like 0, .5
> respectively...doesn't *seem* to do what the docs say:
>
> "By specifying Lo_slope and Hi_slope you get more control:
> slope { <Direction>, Lo_slope, Hi_slope }
> Lo_slope and Hi_slope specifies which range of slopes are used, so you can
> control which slope values return which pattern values. Lo_slope is the
> slope value that returns 0.0 and Hi_slope is the slope value that returns
> 1.0."
>
> The way I read it, if I choose Lo_slope and Hi_slope to be 0 and .5, then
> the function should completely ignore any object normals outside that range
> and should map the full color_map only to the specified normals, nowhere
> else. But the color map repeats at slope .5 and continues down to slope
> 1.0. ...in other words, it's re-applied to the object's
> normals that are outside the range.
> If I make Hi_slope something like .2, then the visual result is
> exactly the same as if I had used the frequency keyword on a typical
> pattern: the color map repeats five times.
>
Have you tried adding the "ramp_wave" keyword to your pigment
definition? http://www.povray.org/documentation/view/3.6.1/404/
Jerome
- --
******************************
* Jerome M. Berger *
* mailto:jeb### [at] freefr *
* http://jeberger.free.fr/ *
******************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDzV8Ld0kWM4JG3k8RAm8pAJ4uCSsE8wMGuRVQif75dVQ2XcOz0wCggLxQ
TPdvNwiHsHf0aQNo+hH39mA=
=14+f
-----END PGP SIGNATURE-----
Post a reply to this message
|
|