Re: [Gimp-developer] Re: Time or velocity info [Re: SOC - brush system]

2006-05-09 Thread Joao S. O. Bueno Calligaris
On Tuesday 09 May 2006 01:52 pm, GSR - FR wrote:
> Hi,
>
> [EMAIL PROTECTED] (2006-05-09 at 1654.44 +0100):
> > Joao S. O. Bueno Calligaris wrote:
> > > On Monday 08 May 2006 10:51 pm, GSR - FR wrote:
> > >> That reminds me another parameter, velocity (or time delta, it
> > >> is related) and that airbrush had issues with high speed...
> > >> anybody knows the exact definition and use of
> > >> gimp_paint_core_paint's guint32 time (I traced to
> > >> http://developer.gimp.org/api/2.0/app/GimpPaintCore.html but
> > >> says nothing)?
> > >
> > > I tried to fiddle with it once (implementing speed as a way to
> > > select the frame of animated brushes), and got mostly lost
> > > myself. All I know is that the ink tool has a different
> > > implementation that does "time smoothing"  or something to
> > > interpolate the gtk+ event time.
>
> [...]
>
> > I don't think that any other brushes at the time were velocity-
> > sensitive (are they now?), hence the private implementation.
>
> Animated brushes can be saved with such config... but it does
> nothing as it is not implemented publicly, so I guess anybody that
> tries the setting just gives up and saves with any of the other
> options from the drop downs.


Hmm.it does now - the patcjh for it has been comited some months ago - 
but, it doe slittle- not very usefull without a callibration curve 
and a way to smooth down the time coordinates, just as the paint tool 
does.
>
> The other use case for using the time is the airbrush. I looked at
> it time ago and looked again due this thread, first idea was
> checking the remaining of airbrush timer, but there seems to be
> none (yet?). It is required as airbrush stamps every X time, but if
> you move faster, the effect of time is ignored, getting stronger
> stampings than what really should happen.
>
> So no, there is no current use of velocity, but just cos it is not
> implemented, and thus nobody thinks about possible uses. Sounds a
> bit recursive. ;]

Ok - there is a velocity setting on the animated brushes, so we broke 
the recursion...we just need a volunteer to factor out the ink tool 
use of it, and implement a velocity calibration curve for the 
strokes.
:-)

>
> GSR
>
> ___
> Gimp-developer mailing list
> Gimp-developer@lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Re: Time or velocity info [Re: SOC - brush system]

2006-05-09 Thread Michael Schumacher
GSR - FR wrote:

> Animated brushes can be saved with such config... but it does nothing
> as it is not implemented publicly, so I guess anybody that tries the
> setting just gives up and saves with any of the other options from the
> drop downs.

It hasn't been in a stable release yet, but it is in GIMP 2.3 since
2006-01-31:

http://bugzilla.gnome.org/show_bug.cgi?id=150227


HTH,
Michael

-- 
The GIMP > http://www.gimp.org  | IRC: irc://irc.gimp.org/gimp
Wiki > http://wiki.gimp.org | .de: http://gimpforum.de
Plug-ins > http://registry.gimp.org |
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] Re: Time or velocity info [Re: SOC - brush system]

2006-05-09 Thread GSR - FR
Hi,
[EMAIL PROTECTED] (2006-05-09 at 1654.44 +0100):
> Joao S. O. Bueno Calligaris wrote:
> > On Monday 08 May 2006 10:51 pm, GSR - FR wrote:
> >> That reminds me another parameter, velocity (or time delta, it is
> >> related) and that airbrush had issues with high speed... anybody
> >> knows the exact definition and use of gimp_paint_core_paint's
> >> guint32 time (I traced to
> >> http://developer.gimp.org/api/2.0/app/GimpPaintCore.html but says
> >> nothing)?
> > 
> > I tried to fiddle with it once (implementing speed as a way to select 
> > the frame of animated brushes), and got mostly lost myself. All I 
> > know is that the ink tool has a different implementation that does 
> > "time smoothing"  or something to interpolate the gtk+ event time.
[...]
> I don't think that any other brushes at the time were velocity-
> sensitive (are they now?), hence the private implementation.

Animated brushes can be saved with such config... but it does nothing
as it is not implemented publicly, so I guess anybody that tries the
setting just gives up and saves with any of the other options from the
drop downs.

The other use case for using the time is the airbrush. I looked at it
time ago and looked again due this thread, first idea was checking the
remaining of airbrush timer, but there seems to be none (yet?). It is
required as airbrush stamps every X time, but if you move faster, the
effect of time is ignored, getting stronger stampings than what really
should happen.

So no, there is no current use of velocity, but just cos it is not
implemented, and thus nobody thinks about possible uses. Sounds a bit
recursive. ;]

GSR
 
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer