Paper generation

Boudewijn Rempt boud at valdyas.org
Fri Mar 31 15:19:47 CEST 2006


On Fri, 31 Mar 2006, Leonardo Giordani wrote:

> Definitely yes. I was thinking that storing paper information in pixels is too 
> expensive in terms of memory used, so your proposal is welcome. Watercolors 
> already have many parameters, adding paper informations could lead to severe 
> performance loss.
> 
> I figure it this way: you can select the paper from a set of precomputed ones 
> or manually adjust the various properties. Once done the tile is generated 
> and used to fill up the "canvas layer".
> 
> Then what I need is a function that returns the paper properties at the pixel 
> x,y, this way with a 64x64 area (or similar) you represent a canvas as big as 
> needed without wasting precious memory.
> 

I see what you mean -- it's not quite the same as what I thought, but it's a better
idea. I'll try to come up with some code and an architecture that will allow this
this weekend.

Boudewijn


More information about the kimageshop mailing list