POV-Ray : Newsgroups : povray.unofficial.patches : slope-dependent pattern : Re: slope-dependent pattern Server Time
2 Sep 2024 00:16:15 EDT (-0400)
  Re: slope-dependent pattern  
From: Chris Huff
Date: 6 Jan 2001 22:19:15
Message: <chrishuff-A92D2C.22204906012001@news.povray.org>
In article <3a57ca8c@news.povray.org>, "Rune" <run### [at] inamecom> 
wrote:

> <slope>, <lo_slope,hi_slope>, <altitude>, <lo_alt,hi_alt>
> 
> This makes it possible to use lo_slope and hi_slope also when altitude is
> not used at all.
> Sure, it also means that you cannot use altitude without using the 
> lo_ and hi_ vectors too, but as I said it should only make it easier 
> to understand for the user.

I'd use a more verbose but more flexible syntax:
slope {SLOPE_VECTOR, LOW_SLOPE, HIGH_SLOPE
    altitude ALTITUDE_VECTOR, LOW_ALT, HIGH_ALT
    type planar|point
}
The LOW...HIGH values would be optional for both slope and altitude. 
Note that the LOW...HIGH values are separate float values, not 2D 
vectors...I think vectors should be saved for points and colors, not 
ranges.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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