POV-Ray : Newsgroups : povray.general : slope pattern bug? : Re: slope pattern bug? Server Time
7 Sep 2024 16:45:13 EDT (-0400)
  Re: slope pattern bug?  
From: Kenneth
Date: 17 Jan 2006 23:50:00
Message: <web.43cdc878e7742b9117cd4fde0@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> "Kenneth" <kdw### [at] earthlinknet> wrote in message

>
> You seem to be misinterpreting the way lo_slope and hi_slope work...

Yes, it does seem so. But I've re-read the slope pattern definition a bunch
of times, and still keeping coming up with  my *own* (wrong) conclusion
about how it operates.  :-[

> If, as I understand it, you want a texture only on the top half,
> you wouldn't use the hi_slope and lo_slope, instead, in the slope map, you
> would have no texture from index 0 to 0.5, and texture from 0.5 to 1.0.

Yes, I agree, that does work beautifully. That's exactly the way I finally
textured my object. But what I as *hoping* was that I could "restrict" the
full color_map colors to only a portion of the object...based on the
object's normals (using a sphere as a simple example.) Alas, no.

Your tip about the <0,-1,0> mistake in the docs has me scratching my
head...I thought I fairly well understood it as written! Egads, time to go
back over the docs once again....

Thanks for your response.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.