Re: tiled view

2001-01-31 Thread pixel fairy

On Tue, Jan 23, 2001 at 01:49:44PM +0100, Mattias Engdegrd wrote:
 1. Draw first attempt at tile
 2. Image-Transforms-Offset
 2a. Hit Offset by x/2 y/2 etc.
 3. Fiddle with any edges revealed by this
 
 It is frequently useful to see how the tile looks when tiled many
 times, to reveal any disturbing salient patterns. The above procedure
 can only help with the local edge transition but doesn't give you any
 overview
 
 Adding a special mode to Gimp seems like overkill to me, but hey - it's
 a popular request and all patches will be considered.
 
 I think it might actually be a good idea, but the design has to be thought
 out carefully

while your thinking about it, something like an abstracted view plug in system
could be nice. that way the tiled view would be a simple use of it. as could
print preview, hightfields etc...



Re: tiled view

2001-01-26 Thread Mirar

"Mattias Engdegrd" [EMAIL PROTECTED] writes:

 1. Draw first attempt at tile
 2. Image-Transforms-Offset
 2a. Hit Offset by x/2 y/2 etc.
 3. Fiddle with any edges revealed by this
 
 It is frequently useful to see how the tile looks when tiled many
 times, to reveal any disturbing salient patterns. The above procedure
 can only help with the local edge transition but doesn't give you any
 overview
 
 Adding a special mode to Gimp seems like overkill to me, but hey - it's
 a popular request and all patches will be considered.
 
 I think it might actually be a good idea, but the design has to be thought
 out carefully

Another idea is to just apply the current operation on the
x+Tx*i,y+Tx*i position too, and skip the tiled view. This might be
easier. Then you can start with a tile filter and then work with just
"tiled operation". This was how old'n'good DeluxePaint solved it
(anyone remember that program?). This is a lazy and rather
unprofessional solution, but it might just work.

I didn't know about the transform, but that only simplifies my
routine, it still isn't perfect. ;)


Another question, maybe stupid, why doesn't the tile filter tile all
layers, like you would expect?

/Mirar




Re: tiled view

2001-01-26 Thread Mattias EngdegÄrd

Another idea is to just apply the current operation on the
x+Tx*i,y+Tx*i position too, and skip the tiled view. This might be
easier.

I think it's harder, since all ops have to be replicated that way, including
filters etc

On the other hand, having brushes work modulo the image size might be handy,
but is perhaps orthogonal to having a tiled view mode.

Having a tiled view in 100% scale while editing the same image in a
magnified window would be very handy when making tiles. But this could be
implemented more generally by having a view constructed procedurally by a
script --- perhaps trigged by an event mechanism, activated each time the
view needs re-rendering. Preferably this should happen in the background
to minimize interactive latency for the user.

This would give the Gimp some of the what-if capability of spreadsheets.
You work in one window as usual, and another window dynamically displays
the results of certain transforms applied to the first image. This can
be tiling, filters, combinations of other images etc. I can not only
see the tile repeated next to itself, but also how it combines with
other tiles




Re: tiled view

2001-01-26 Thread Guillermo S. Romero / Familia Romero

[EMAIL PROTECTED] (2001-01-26 at 0946.51 +0100):
 Another question, maybe stupid, why doesn't the tile filter tile all
 layers, like you would expect?

Does blur blur all the layers? Can you tile all layers with a script?
Or using the filter all that is somewhere in the menus? I think those
questions are your answer. ;]

GSR
 



Re: tiled view

2001-01-26 Thread Mirar

"Guillermo S. Romero / Familia Romero" [EMAIL PROTECTED] writes:

 [EMAIL PROTECTED] (2001-01-26 at 0946.51 +0100):
  Another question, maybe stupid, why doesn't the tile filter tile all
  layers, like you would expect?
 
 Does blur blur all the layers? 

Hm... it should rather be compared to any filter that produces a new
image with an 1:1 mapping of layers.

 Can you tile all layers with a script?

That's irrelevant; you can do anything with scripts. 
It's just a question of how much work you want to put down into it.

A checkbox "use all layers" or the like in the filter popup wouldn't
be bad at all. Just an idea.

 Or using the filter all that is somewhere in the menus? I think those
 questions are your answer. ;]

Haven't found that. 

/Mirar




Re: tiled view

2001-01-26 Thread Guillermo S. Romero / Familia Romero

[EMAIL PROTECTED] (2001-01-27 at 0022.57 +0100):
  Does blur blur all the layers? 
 Hm... it should rather be compared to any filter that produces a new
 image with an 1:1 mapping of layers.

The filter has that feature as an option, you can work on the same
image. And you can duplicate your current and apply blur then. It
seems GUI inconsistencies to me, more than anything.

  Can you tile all layers with a script?
 
 That's irrelevant; you can do anything with scripts. 
 It's just a question of how much work you want to put down into it.

Not only put today, but in a long period of time. If you are going to
reuse something a lot, a script pays off.

 A checkbox "use all layers" or the like in the filter popup wouldn't
 be bad at all. Just an idea.

Mail the coder of that plugin then. Or code the patch.

  Or using the filter all that is somewhere in the menus? I think those
  questions are your answer. ;]
 Haven't found that. 

Filter / Filter all Layers..., it is a Perl script, it seems. :]

BTW, what would happen if layers have different sizes?

GSR
 



tiled view

2001-01-23 Thread Mirar

[EMAIL PROTECTED] writes:

 Hi! This is the ezmlm program. I'm managing the
 [EMAIL PROTECTED] mailing list.

Hi ezmlm program!

I have a feature request for Gimp. 

Doing tiled images for textures used in 3d worlds, the best method
I've found out isn't very good, it's the procedure of:

  1) make an image the right size that looks tiled
  2) tile it 2x2
   2a) did it tile? finished!
  3) fix the things that didn't tile
  4) crop the center of it to the right size
  5) repeat from 2

This procedure isn't that fun. I want a tiled view mode, which
shouldn't be too hard to do considering the view modes already handle
things as scale and scroll.

I made a mockup to express what I mean,

  http://www.mirar.org/incoming/gimp_tiled_view.jpeg

ie, it should be able to do two things;
First, just redraw the image tiled all over the view window.
Second, it should be able to do draw operations tiled over the borders
of the image (and layer), so you actually can work in this mode too.

Is this feasable? 

I would start working on this myself, but I can't find my way around
gimp, I don't know how much work it would be, I'm probably unable to
solve this problem the best way, and I don't know if my patch would be
appreciated anyway.

Maybe the feature already exist already, and I just can't find it.
But please don't tell me to use Filters-Map-Tile - if you were just
about to, read again. ;-)

/Mirar




Re: tiled view

2001-01-23 Thread Nick Lamb

On Tue, Jan 23, 2001 at 11:40:30AM +0100, Mirar wrote:
 Doing tiled images for textures used in 3d worlds, the best method
 I've found out isn't very good, it's the procedure of:
 
   1) make an image the right size that looks tiled
   2) tile it 2x2
2a) did it tile? finished!
   3) fix the things that didn't tile
   4) crop the center of it to the right size
   5) repeat from 2

1. Draw first attempt at tile
2. Image-Transforms-Offset
2a. Hit Offset by x/2 y/2 etc.
3. Fiddle with any edges revealed by this

Adding a special mode to Gimp seems like overkill to me, but hey - it's
a popular request and all patches will be considered.

Nick.



Re: tiled view

2001-01-23 Thread Mattias EngdegÄrd

1. Draw first attempt at tile
2. Image-Transforms-Offset
2a. Hit Offset by x/2 y/2 etc.
3. Fiddle with any edges revealed by this

It is frequently useful to see how the tile looks when tiled many
times, to reveal any disturbing salient patterns. The above procedure
can only help with the local edge transition but doesn't give you any
overview

Adding a special mode to Gimp seems like overkill to me, but hey - it's
a popular request and all patches will be considered.

I think it might actually be a good idea, but the design has to be thought
out carefully