]>
Pileus Git - grits/log
Andy Spencer [Wed, 30 Nov 2011 07:53:12 +0000 (07:53 +0000)]
Version bump for 0.6.2
Andy Spencer [Wed, 30 Nov 2011 07:48:20 +0000 (07:48 +0000)]
Fix grits-demo linking on 64-bit
Andy Spencer [Fri, 25 Nov 2011 06:54:48 +0000 (06:54 +0000)]
Version bump for 0.6.1
Andy Spencer [Fri, 25 Nov 2011 07:44:09 +0000 (07:44 +0000)]
Fix off-by-one error
Andy Spencer [Fri, 25 Nov 2011 06:57:52 +0000 (06:57 +0000)]
Fix more warnings
Andy Spencer [Thu, 24 Nov 2011 10:07:14 +0000 (10:07 +0000)]
Fix 64-bit warnings
Andy Spencer [Thu, 24 Nov 2011 09:40:03 +0000 (09:40 +0000)]
Fix extra mouse-over bug
When selecting one polygon, it sets the line width and makes it appear
that following polygons are also selected.
Andy Spencer [Thu, 24 Nov 2011 09:23:12 +0000 (09:23 +0000)]
Make picking 64-bit compatible
Use an array and index into that instead of passing pointers to
glPushName since 64-bit pointers do not fit in the name stack.
Andy Spencer [Thu, 10 Nov 2011 08:18:06 +0000 (08:18 +0000)]
Use correct resolution tiles when zooming out
Andy Spencer [Mon, 31 Oct 2011 07:39:14 +0000 (07:39 +0000)]
Version bump for 0.6
Andy Spencer [Wed, 2 Nov 2011 07:18:48 +0000 (07:18 +0000)]
Fix warning if with non-existent cache paths
Andy Spencer [Wed, 2 Nov 2011 06:32:21 +0000 (06:32 +0000)]
Update dolt
Andy Spencer [Thu, 25 Aug 2011 05:56:56 +0000 (05:56 +0000)]
Use -no-undefined for win32 builds
This is the libtool flag which is different than the ld flag, and is
needed for building win32 dlls..
Andy Spencer [Mon, 31 Oct 2011 06:53:11 +0000 (06:53 +0000)]
Update copyright notices
Andy Spencer [Mon, 31 Oct 2011 06:47:51 +0000 (06:47 +0000)]
Update some documentation
Andy Spencer [Mon, 31 Oct 2011 06:26:47 +0000 (06:26 +0000)]
Add alert plugin to grits-test
Andy Spencer [Thu, 27 Oct 2011 07:28:47 +0000 (07:28 +0000)]
Use rounded corners for GritsPoly
Andy Spencer [Thu, 27 Oct 2011 07:18:02 +0000 (07:18 +0000)]
Fix memory leaks
Andy Spencer [Thu, 27 Oct 2011 05:12:34 +0000 (05:12 +0000)]
Pass objects to grits_viewer_remove instead of refs
(finally)
Andy Spencer [Thu, 27 Oct 2011 05:03:46 +0000 (05:03 +0000)]
Save prefs after changes
Andy Spencer [Mon, 17 Oct 2011 07:57:35 +0000 (07:57 +0000)]
Improve performance of GritsPoly
Use separate display lists, and only create them and perform
tessellation when they are actually used.
This is especially useful for large number of polygons which aren't
always displayed (or may never be displayed).
Generating the display lists from the first draw() also avoids a large
number of idle callbacks.
Andy Spencer [Mon, 17 Oct 2011 07:56:50 +0000 (07:56 +0000)]
Fix typo
Andy Spencer [Sat, 15 Oct 2011 09:20:50 +0000 (09:20 +0000)]
Add clicked signal to GritsObject
Using mouse-down/mouse-up is rather not helpful since GritsViewer does a
lot with mouse drags.
Andy Spencer [Sat, 15 Oct 2011 06:22:56 +0000 (06:22 +0000)]
Add mouse-over testing to test plugin
Andy Spencer [Sat, 15 Oct 2011 06:20:43 +0000 (06:20 +0000)]
Add mouse, keyboard, and motion events to GritsObject
These work by chaining the event from GritsOpenGL up to each individual
object, which then emits the callback if it is currently selected
(moused over).
Andy Spencer [Sat, 15 Oct 2011 06:13:39 +0000 (06:13 +0000)]
Add mouse enter/leave signals to objects
This uses the OpenGL Selection render mode to determine which objects
the mouse is over. It requires fairly tight integration between
GritsOpenGL and GritsObject.
The signal code is handled internally by GritsObject. However, most of
the actual selection matching work is done by GritsOpenGL.
Object types that wish to improve performance can implement the pick()
function in addition to the draw() function. The pick function is used
when performing selection matching. It works similar to draw, but does
not need to do textures/lighting/opacity/etc.
Andy Spencer [Sat, 15 Oct 2011 06:03:48 +0000 (06:03 +0000)]
Cleanup GritsPoly
- Add GL points at the corners
- Use polygon offset between fill and border
- Calculate actual center position
Andy Spencer [Sat, 15 Oct 2011 06:01:09 +0000 (06:01 +0000)]
Remove excess debug messages
Andy Spencer [Wed, 12 Oct 2011 08:30:35 +0000 (08:30 +0000)]
Add string parser to GritsPoly
Andy Spencer [Wed, 12 Oct 2011 08:30:16 +0000 (08:30 +0000)]
Add configurable borders to GritsPoly
Andy Spencer [Tue, 11 Oct 2011 06:28:27 +0000 (06:28 +0000)]
Fix crash when unable to cache http files
Andy Spencer [Mon, 12 Sep 2011 00:35:19 +0000 (00:35 +0000)]
Version bump for 0.5.2
Andy Spencer [Fri, 9 Sep 2011 06:19:49 +0000 (06:19 +0000)]
Remove no-undefined-symbols from gen.sh
This should be done properly in the Makefiles now.
Andy Spencer [Fri, 9 Sep 2011 06:13:49 +0000 (06:13 +0000)]
Add linker flag for the math library
Andy Spencer [Fri, 9 Sep 2011 06:07:29 +0000 (06:07 +0000)]
Fix compiler warning with gluTessCallback
Andy Spencer [Wed, 24 Aug 2011 17:40:41 +0000 (17:40 +0000)]
Add glut config check
Andy Spencer [Wed, 24 Aug 2011 16:10:32 +0000 (16:10 +0000)]
Version bump for 0.5.1
Andy Spencer [Wed, 24 Aug 2011 16:00:47 +0000 (16:00 +0000)]
Fix linker flags
Andy Spencer [Wed, 24 Aug 2011 15:43:20 +0000 (15:43 +0000)]
Abort when opengl setup fails
Andy Spencer [Wed, 24 Aug 2011 15:42:25 +0000 (15:42 +0000)]
Add timeout for http servers
Keep it low for now because a hung sever blocks tile loading
Andy Spencer [Wed, 24 Aug 2011 15:39:10 +0000 (15:39 +0000)]
Switch to higher resolution elevation dataset
- Tweak perspective so we can zoom in farther
- Use less preference for edge faces for better shading
Andy Spencer [Sat, 30 Jul 2011 21:14:53 +0000 (21:14 +0000)]
Speed up movement when at low elevation
Andy Spencer [Sat, 2 Jul 2011 04:17:45 +0000 (04:17 +0000)]
Update map URL and layers
Server moved to vmap0.tiles.osgeo.org
Added new layers for labels, roads, and a few other things
Andy Spencer [Sat, 2 Jul 2011 03:19:35 +0000 (03:19 +0000)]
Add reset locale when formatting certain strings
LC_NUMERIC is used to determine the conversion for "%f" this can result
in errors when formatting strings with expected floating point formats.
Andy Spencer [Sat, 18 Jun 2011 22:42:04 +0000 (22:42 +0000)]
Version bump for 0.5
Andy Spencer [Sat, 18 Jun 2011 22:16:27 +0000 (22:16 +0000)]
Add GL bindings example program
Basic standalone program that draws a circle using:
- Cairo
- GktGLExt
- GLX (X11)
- WGL (Win32)
- CGL (Mac OS, not implemented)
Andy Spencer [Sat, 18 Jun 2011 22:12:38 +0000 (22:12 +0000)]
Add some stubbed code for Mac OS support
(This won't compile yet)
Andy Spencer [Sat, 18 Jun 2011 22:10:17 +0000 (22:10 +0000)]
Change binaries to shared objects
There's a double load of the GObjects when using static libraries with
plugins. Shared libraries avoid this, I think there are other work
arounds that let static binaries work too, but this should be fine for
now.
Andy Spencer [Wed, 8 Jun 2011 16:10:52 +0000 (16:10 +0000)]
Use only shared libs on win32
Andy Spencer [Tue, 7 Jun 2011 09:50:15 +0000 (09:50 +0000)]
Version bump to 0.5-p0
Andy Spencer [Tue, 7 Jun 2011 08:43:32 +0000 (08:43 +0000)]
Switch from GtkGLExt to internal OpenGL handling
GtkGLExt has many problems:
- It's code is bloated and convoluted
- It doesn't work on Win32
- It doesn't work with gtk+-3.0
- The last release was in early 2006
Using our own lets us fix these issues and should be easier to maintain
than trying to figure out the GtkGLExt mess, or waiting for someone else
to fix it.
Andy Spencer [Tue, 24 May 2011 06:11:49 +0000 (06:11 +0000)]
Use -shared for plugins
Andy Spencer [Tue, 24 May 2011 06:01:36 +0000 (06:01 +0000)]
Misc http fixes
Caching still doesn't work, but it appears to be a server problem.
Andy Spencer [Tue, 24 May 2011 05:59:48 +0000 (05:59 +0000)]
Switch map and sat plugins to using thread pools
TODO: switch evel as well
Andy Spencer [Tue, 24 May 2011 05:51:20 +0000 (05:51 +0000)]
Improve shutdown code
Andy Spencer [Tue, 24 May 2011 05:23:10 +0000 (05:23 +0000)]
Update valgrind suppressions
Andy Spencer [Tue, 24 May 2011 05:23:10 +0000 (05:23 +0000)]
Remove old TODO items
Andy Spencer [Tue, 24 May 2011 05:16:55 +0000 (05:16 +0000)]
Add hidden method for object
This allows object to hide nested objects when they are hidden
Andy Spencer [Tue, 24 May 2011 05:09:16 +0000 (05:09 +0000)]
Tighten up locking to allow for nested objects
Andy Spencer [Mon, 14 Feb 2011 05:26:29 +0000 (05:26 +0000)]
Fix caching bugs with some http servers
Some server (e.g. weather.gov) send old versions of index files which
causes grits_http_available to return incorrect information.
Setting `Cache-Control: max-age=0' fixes this.
Andy Spencer [Mon, 24 Jan 2011 03:42:45 +0000 (03:42 +0000)]
Add GritsPoly for drawing sets of polygons
Currently uses OpenGL display lists for performance reasons.
Andy Spencer [Mon, 24 Jan 2011 03:36:33 +0000 (03:36 +0000)]
Add volume testing code
Render some iso-balls with optional radar rendering
Based on GritsTester
Andy Spencer [Mon, 24 Jan 2011 03:33:30 +0000 (03:33 +0000)]
Add GritsTester for debugging GritsObjects
The "tester" object is similar to a stripped down version of
GisOpenGL/GisViewer. It is intended for debugging GisObjects during
development. It displays one or more objects centered in the view and
and supports panning/moving around to inspect various parts of the
object.
Andy Spencer [Mon, 24 Jan 2011 03:30:34 +0000 (03:30 +0000)]
Add GritsVolume for 3D volume rendering
This is based on the Marching Cubes algorithm.
Be warned, the API for this is not quite entirely stable..
Andy Spencer [Mon, 24 Jan 2011 03:23:40 +0000 (03:23 +0000)]
Add convex tessellation example
This tessellates a non-convex polygon such that it can be drawn
correctly.
Andy Spencer [Mon, 24 Jan 2011 03:21:23 +0000 (03:21 +0000)]
Add interpolation example
Also interpolate reflectivity colormap
Andy Spencer [Mon, 24 Jan 2011 03:07:02 +0000 (03:07 +0000)]
Cleanup examples organization
Andy Spencer [Sat, 22 Jan 2011 20:16:55 +0000 (20:16 +0000)]
Update grits-test
Andy Spencer [Sat, 22 Jan 2011 20:13:05 +0000 (20:13 +0000)]
Allow disabling operations in grits_object_draw
Objects now include a GRITS_SKIP_* bitmask used for disabling various
operations in grits_object_draw. The default is to perform all tests and
operations, however some of these are expensive. Objects which do not
need some operations or take care of it themselves can disable the tests
in grits_object_draw to save processing time.
For instance, saving the OpenGL state can be quite costly for simple
objects.
Andy Spencer [Sat, 22 Jan 2011 20:11:13 +0000 (20:11 +0000)]
Add grits_object_queue_draw function
Andy Spencer [Sat, 22 Jan 2011 20:09:25 +0000 (20:09 +0000)]
Store GritsViewer references in GritsObjects
This makes it easier to write modules without having to store the viewer
reference all over the place.
It could also help simplify adding/removing objects from the viewer, but
that has not been implemented yet.
Andy Spencer [Sat, 22 Jan 2011 20:03:11 +0000 (20:03 +0000)]
Fix bugs in GritsPlugins
1. Properly track module references
2. Flush events before unloading the module
This prevents the case where the module unloaded while there are still
callbacks that reference the modules executable code.
Andy Spencer [Sat, 22 Jan 2011 20:00:41 +0000 (20:00 +0000)]
Misc formatting updates
Andy Spencer [Sat, 22 Jan 2011 19:58:33 +0000 (19:58 +0000)]
Use common vector operations for ROAM
Andy Spencer [Sat, 22 Jan 2011 19:57:15 +0000 (19:57 +0000)]
Add vector operations to utilities
Andy Spencer [Sat, 22 Jan 2011 19:51:52 +0000 (19:51 +0000)]
Delete OpenGL textures in grits_marker_finalize
Andy Spencer [Sat, 22 Jan 2011 19:51:10 +0000 (19:51 +0000)]
Add debugging to GritsCallback
Andy Spencer [Sat, 22 Jan 2011 19:48:39 +0000 (19:48 +0000)]
Draw plugins in wireframe mode as well
Andy Spencer [Sat, 22 Jan 2011 19:47:34 +0000 (19:47 +0000)]
Lower contrast on global texture parameters
This looks slightly less `pretty' but makes it easier to see things.
Andy Spencer [Sun, 28 Nov 2010 06:09:57 +0000 (06:09 +0000)]
libgis -> grits: Update doap
Andy Spencer [Sat, 20 Nov 2010 07:45:58 +0000 (07:45 +0000)]
libgis -> grits: Update functions/types/etc
Andy Spencer [Sat, 20 Nov 2010 07:16:08 +0000 (07:16 +0000)]
libgis -> grits: Update non-technical references
Andy Spencer [Sat, 20 Nov 2010 07:07:41 +0000 (07:07 +0000)]
libgis -> grits: Fix build after rename
Andy Spencer [Sat, 20 Nov 2010 06:53:33 +0000 (06:53 +0000)]
libgis -> grits: Rename files
Andy Spencer [Thu, 18 Nov 2010 07:05:16 +0000 (07:05 +0000)]
Only delete sections on maintainer-clean
The sections file is included in the .tar.gz so it should not be deleted
with clean.
This fixes a Debian git-buildpackage error.
Andy Spencer [Sun, 14 Nov 2010 00:09:16 +0000 (00:09 +0000)]
Add version info for Debian
- Add -version-info for libtool
- Add version number to /usr/{lib,share}/gis
Andy Spencer [Thu, 18 Nov 2010 07:32:58 +0000 (07:32 +0000)]
Update TODO
Andy Spencer [Thu, 18 Nov 2010 06:35:21 +0000 (06:35 +0000)]
Move g_signal_connects to realize callback
Under Mesa the "configure" callback is is triggered before the "realize"
callback. This causes a crash because some OpenGL initialization must be
performed after the widget is realized.
Moving the callback connects forces proper ordering.
Andy Spencer [Mon, 1 Nov 2010 03:55:14 +0000 (03:55 +0000)]
Revert "Test pure distance based errors"
This reverts commit
2303ef60aac043b63daec4a70a9ee7d70e0ce62f .
Andy Spencer [Mon, 1 Nov 2010 03:54:15 +0000 (03:54 +0000)]
Test pure distance based errors
This commit is for historic purposes and will be reverend shortly.
Andy Spencer [Mon, 1 Nov 2010 03:47:24 +0000 (03:47 +0000)]
Keep the sphere locked while drawing the wireframe
Andy Spencer [Mon, 1 Nov 2010 03:37:53 +0000 (03:37 +0000)]
Give extra weight to "edge" triangles when splitting
"Edge" triangles are triangles where one of the edges of the triangle
makes up an edge off the mesh. For example, the triangle E below is an
edge triangle due to the top edge.
This helps prevent jagged "edges" on the tops of mountains, etc. It also
helps round out the edges of the globe when viewed from far away.
________________
\ ______ /
\ /\ E /\ /
\/__\ /__\/
\/
Andy Spencer [Mon, 1 Nov 2010 03:32:38 +0000 (03:32 +0000)]
Swap order of args to sync_neighbors function
Andy Spencer [Mon, 1 Nov 2010 03:24:46 +0000 (03:24 +0000)]
Store "kids" in RoamTriangle only
roam_diamond_merge uses:
self = parent_triangle[0];
base = parent_triangle[1];
kids = {self,base}.kids[0,1];
Andy Spencer [Mon, 1 Nov 2010 03:18:14 +0000 (03:18 +0000)]
Clean up formatting in roam.c
- Fix whitespace
- Use abbreviated names in split/merge
- Should be no functional changes
Andy Spencer [Mon, 1 Nov 2010 02:55:25 +0000 (02:55 +0000)]
Update ROAM_DEBUG
- Use (void) to prevent unused function warnings
- Only do depth-test in non-debug mode
Andy Spencer [Mon, 25 Oct 2010 05:03:26 +0000 (05:03 +0000)]
Add sky effects
Andy Spencer [Sun, 24 Oct 2010 11:57:09 +0000 (11:57 +0000)]
Move OpenGL code from GisOpenGL to objects
Add draw functions to GisObjectClass which should be set by subclasses.
This allows outside object types to be written in the normal way
(instead of always using GisCallback).
This also moves a lot of drawing code out of GisOpenGL which should
prevent it from becoming too big.
Unfortunately, there are some pesky dependency problems between
GisObject/GisViewer/GisOpenGL/GTK now. For example, Wms pulls in
GisTile, which pulls in GisViewer/GisViewer, which pulls in all of GTK.
Andy Spencer [Sun, 24 Oct 2010 11:50:15 +0000 (11:50 +0000)]
Use GisBounds for height_func instead of GisTile
Andy Spencer [Sun, 24 Oct 2010 11:40:30 +0000 (11:40 +0000)]
Rename GisBBox to GisBounds
It sounds better..