gimp/plug-ins/gflare
Sven Neumann 757017a8e2 bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22.
2001-11-23  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 1.3.1.
	Require Glib/GTK+-1.3.11 and Pango-0.22. Removed GDK_DISABLE_COMPAT_H
	and GTK_DISABLE_COMPAT_H from our default CFLAGS since they don't
	exist any longer.

	* RELEASE-TO-CVS.patch: removed since the glib/gtk+ API is supposed to
	be frozen now.

	* HACKING: removed reference to RELEASE-TO-CVS.patch

	* app/gui/menus.c
	* app/tools/gimptexttool.c: applied RELEASE-TO-CVS.patch to conform
	to the new GTK+/Pango API.

	* app/core/Makefile.am: generate marshallers with gimp_marshal prefix.

	* app/core/gimpmarshal.list: added all marshallers we use.

	* app/core/gimpmarshal.[ch]: regenerated.

	* app/[lots of .c files]: use gimp_marshal_* for all marshallers.

	* data/images/
	* app/app_procs.c
	* app/gui/splash.c:

	* libgimpbase/Makefile.am
	* libgimpbase/gimpbase.h
	* libgimpbase/gimputils.[ch]: removed since they are no longer needed.

	* app/gimprc.c
	* plug-ins/common/ps.c
	* plug-ins/gdyntext/gdyntext.c
	* plug-ins/gdyntext/gdyntextcompat.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c
	* plug-ins/script-fu/script-fu-scripts.c: use glib functions instead
	of gimp_strescape() and gimpstrcompress().

	* cleaned up all header files: use G_BEGIN_DECLS/G_END_DECLS, declared
	all _get_type function as G_GNUC_CONST.

	* tools/pdbgen/enumcode.pl
	* tools/pdbgen/lib.pl: make them generate header files using
	G_BEGIN_DECLS/G_END_DECLS.

	* pixmaps/Makefile.am
	* pixmaps/wilber3.xpm: removed ...
	* data/images/tips_wilber.png: ... and added here as PNG

	* app/gui/tips-dialog.c: load the Wilber on demand using GdkPixbuf.

	* data/images/gimp_splash.ppm: removed ...
	* data/images/gimp_splash.png: ... and added as PNG

	* app/app_procs.c
	* app/gui/splash.[ch]: load the splash image using GdkPixbuf.

	* app/gui/about-dialog.c: sink the GtkPreview.
2001-11-22 23:46:13 +00:00
..
gflares removed antique Makefile targets, including the "files" hack (which was 2001-11-15 14:42:29 +00:00
.cvsignore (from gimp-narazaki-990909-0) 1999-09-09 07:09:33 +00:00
Makefile.am removed antique Makefile targets, including the "files" hack (which was 2001-11-15 14:42:29 +00:00
README *** empty log message *** 1999-09-06 23:31:51 +00:00
gflare.c bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00

README

==========================================================================

	GFlare plug-in ver 0.25

		Eiichi Takamori <taka@ma1.seikyou.ne.jp>

==========================================================================

  GFlare is a plug-in for the GIMP.  The name "GFlare" is short for
"Gradient Flare".  It renders lense flare effect using custom
gradients.  The basic idea is suggested by Marcelo Malheiros,
originally based on a 3DStudio MAX plug-in called LenZFX:
	http://www.digimation.com/techsupp/lzfxfeat.htm

INSTALL:

1) Edit Makefile, if needed.

2) Type "make install".

3) Type "make install-data" if needed. (It copies sample gradients and
   gflares under ~/.gimp)

3) Add new entry to ~/.gimp/gimprc as
     (gflare-path "${gimp_dir}/gflares:${gimp_data_dir}/gflares")

3) Run the GIMP. The menu path is <Image>/Filters/Effects/GFlare.


HOW TO USE IT:

  The document is not yet done. Try and see.

  Main Dialog:
  - Preview
      click on it changes the position of GFlare
  - Settings page
    - Center, Radius (pixel), Rotation (degree), Hue Rotation (degree)
    - Vector Angle (degree) and Vector Length (percentage to Radius)
    - adaptive supersampling ... same as "Blend tool"
  - Selector page
    - ListBox
    - New, Edit, Copy, Delete buttons. Edit button invokes GFlare Editor.

  GFlare Editor:
  - General page:
  - Glow page:
  - Rays page:
  - Second Flares page:     

  WARNING: This plug-in is in development stage, and the code is very
alpha. The GFlare datafile format may be changed in future version.

  Suggestions and ideas for user interface, flare algorithm, etc. are
very welcome.


KNOWN BUGS:

  There are still lots of bugs, of course. ;-)
  They seem related to GTK, and I don't know exactly how I can fix them.

  * It warns at startup as:
    ** WARNING **: file gdkwindow.c: line 422 (gdk_window_move_resize): "window != NULL"
    If you are annoyed, accompanying "gtkviewport.c.patch" will shut up
    the warning.
  * Edit button remains prelighted when GFlare Editor dialog is done.
  * Dialogs are not shown quickly at startup.
  * Sometimes note tab labels are disappeared.
  * Sometimes it crashes, but I don't know yet why it happens.

TODO:
  * Random hue scattering for Second Flares.
  * Improve internal gradients.
  * Currently number of Second Flares is fixed(30).
  * Change opacity for one second flare dynamically, in inverse
    proportion to the size of it.
  * Reduce dialog size
  * Add tweak ability "How to combine Glow, Rays, Second Flares in
    what order"


CREDITS:

  Marcelo Marheiros and Federico Mena Quintero suggested a lot of
ideas. Very Thanks!!

  Marcelo made gradients whose names end with _1, _2, etc. The
gradients whose names end with _101, _102 etc. are mine.

  Quartic did awful Gradient Editor, and gradients PDB procedures.

  A fair proportion of this code was taken from:

  The GIMP -- an image manipulation program
  Copyright (C) 1995 Spencer Kimball and Peter Mattis

  Gradient editor module copyight (C) 1996-1997 Federico Mena Quintero
  federico@nuclecu.unam.mx