Layers
Posted: Wed Jul 27, 2005 11:18 am
What about a layer control, detemining if a given rule overlaps (the way it is today, with drawing priority, where the most recent rule draws over the previously drawn), is above or below another.
The layer could be accumulated or a specific and immutable value:
layer =1 // would draw always in the layer number 1
layer 1 // would add a level to the current layer; and
layer -1 // would subtract a level
This would require more memory and more processing. Each layer must be an image and, at the end of rendering, the images would be overlapped.
To keep things simple, it could have a limit in the number of layers, like 10 or 20.
What do you think?
--
Apoc
The layer could be accumulated or a specific and immutable value:
layer =1 // would draw always in the layer number 1
layer 1 // would add a level to the current layer; and
layer -1 // would subtract a level
This would require more memory and more processing. Each layer must be an image and, at the end of rendering, the images would be overlapped.
To keep things simple, it could have a limit in the number of layers, like 10 or 20.
What do you think?
--
Apoc