]>
Pileus Git - grits/log
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..
Andy Spencer [Fri, 10 Sep 2010 03:12:59 +0000 (03:12 +0000)]
Add "Description of a Project" file
Andy Spencer [Tue, 18 May 2010 03:25:44 +0000 (03:25 +0000)]
Switch g_strcmp0 to plain strcmp for glib < 2.16
Andy Spencer [Sun, 16 May 2010 23:42:12 +0000 (23:42 +0000)]
Version bump for 0.4.1
Andy Spencer [Wed, 12 May 2010 03:37:58 +0000 (03:37 +0000)]
Version 0.4
Andy Spencer [Mon, 10 May 2010 05:55:19 +0000 (05:55 +0000)]
Version bump to -p1
Andy Spencer [Mon, 10 May 2010 05:35:40 +0000 (05:35 +0000)]
Add more files to dist
Andy Spencer [Mon, 10 May 2010 05:34:23 +0000 (05:34 +0000)]
Fix compiler warnings
Andy Spencer [Thu, 6 May 2010 06:37:49 +0000 (06:37 +0000)]
Version bump to 0.4-p0
Andy Spencer [Wed, 5 May 2010 07:40:39 +0000 (07:40 +0000)]
Fix some possible memory issues in GisHttp
Andy Spencer [Wed, 5 May 2010 05:51:23 +0000 (05:51 +0000)]
Add support for hidden objects
Andy Spencer [Mon, 3 May 2010 08:17:37 +0000 (08:17 +0000)]
Move GisChunkCallback calls to the main threads
Hopefully fix some more Win32 bugs
Andy Spencer [Mon, 3 May 2010 07:43:11 +0000 (07:43 +0000)]
Move gdk_pixbuf calls to main thread
Hopefully this will fix some Win32 issues
Andy Spencer [Mon, 3 May 2010 05:16:43 +0000 (05:16 +0000)]
Load marker from callback in GisPluginTest
Andy Spencer [Mon, 3 May 2010 04:38:28 +0000 (04:38 +0000)]
Add texture coords to tiles
Andy Spencer [Mon, 3 May 2010 01:10:45 +0000 (01:10 +0000)]
Use 2^x textures for GisMarker
Andy Spencer [Sun, 2 May 2010 06:24:09 +0000 (06:24 +0000)]
Adding OpenGL info query example
Andy Spencer [Sun, 2 May 2010 01:31:59 +0000 (01:31 +0000)]
Win32 build fixes
Andy Spencer [Sat, 1 May 2010 07:17:04 +0000 (07:17 +0000)]
Miscellaneous bug fixes
- Lots of plugged memory leaks
- Lots of small improvements
Andy Spencer [Sat, 1 May 2010 00:00:32 +0000 (00:00 +0000)]
Win32 port
- Use conditional -fPIC
- All Win32 is PIC
- Use conditional -static
- -static on Win32 causes double DLL includes
- Add "b" flag to fopen
- Manually fseek when appending
- Otherwise ftell is incorrect
Andy Spencer [Mon, 26 Apr 2010 04:52:47 +0000 (04:52 +0000)]
Improve Z-range in OpenGL
This keeps radars of interfering with each other quite so badly
Andy Spencer [Mon, 26 Apr 2010 04:51:27 +0000 (04:51 +0000)]
Improve threading
- Clean up some gdk_thread_{enter,leave} calls
- Fix bug in gis_viewer_add (linked list handling)
- Call gtk_gl_init from gis-test (not sure if this is important)
Andy Spencer [Mon, 26 Apr 2010 04:49:44 +0000 (04:49 +0000)]
Fix gis_http_available bugs
- Used wrong RE
- Used wrong subexpression reference
Andy Spencer [Mon, 19 Apr 2010 06:28:18 +0000 (06:28 +0000)]
Add locking when modifying for viewer object lists
Andy Spencer [Mon, 19 Apr 2010 06:27:17 +0000 (06:27 +0000)]
Add z-index to tiles
Tiles are still drawn on the ground, Z-indexes are used as polygon
offsets so that you can draw things like composite radar images above
the satellite imagery.
Andy Spencer [Mon, 19 Apr 2010 06:25:23 +0000 (06:25 +0000)]
Add gis_http_available function
This searches online and in the cache for flies matching a pattern and
adds them to a list. Typically it would be used to look for different
version of the same file. (i.e. at different points in time)
Andy Spencer [Mon, 19 Apr 2010 06:24:23 +0000 (06:24 +0000)]
Move cache name building to separate function
Andy Spencer [Sat, 17 Apr 2010 06:27:39 +0000 (06:27 +0000)]
Set time to current by default
Andy Spencer [Mon, 15 Feb 2010 18:46:30 +0000 (18:46 +0000)]
Use time_t for times instead of strings
Andy Spencer [Mon, 15 Feb 2010 18:46:13 +0000 (18:46 +0000)]
Add better locking in GisOpenGL
Andy Spencer [Mon, 15 Feb 2010 18:45:49 +0000 (18:45 +0000)]
Move teapot to overlay level
Andy Spencer [Sat, 13 Feb 2010 00:30:35 +0000 (00:30 +0000)]
Fix header in teapot example
Andy Spencer [Fri, 12 Feb 2010 22:55:25 +0000 (22:55 +0000)]
Convert from point to bounding box visibility test
Andy Spencer [Fri, 12 Feb 2010 21:55:49 +0000 (21:55 +0000)]
Add horizon test
Andy Spencer [Fri, 12 Feb 2010 21:54:56 +0000 (21:54 +0000)]
Move test plugin back to install
If it's not in plugins, libtool won't make a .so for some reason..
.. silly libtool
Andy Spencer [Fri, 12 Feb 2010 18:10:58 +0000 (18:10 +0000)]
Update to ll2m
Andy Spencer [Wed, 10 Feb 2010 14:09:42 +0000 (14:09 +0000)]
Avoid excess updates
Andy Spencer [Wed, 10 Feb 2010 13:57:30 +0000 (13:57 +0000)]
Don't install test plugin
Andy Spencer [Wed, 10 Feb 2010 13:35:32 +0000 (13:35 +0000)]
Fix marker locations
Andy Spencer [Wed, 10 Feb 2010 13:19:14 +0000 (13:19 +0000)]
Call on_configure from on_realize
Andy Spencer [Wed, 10 Feb 2010 13:18:03 +0000 (13:18 +0000)]
Set size request for viewer in gis-demo
Andy Spencer [Wed, 10 Feb 2010 13:13:50 +0000 (13:13 +0000)]
Add outline to markers
Andy Spencer [Wed, 10 Feb 2010 12:27:19 +0000 (12:27 +0000)]
Fix up primitive datatypes
- Move GisPoint to gis-util.[ch]
- Add a GisBBox for n,s,e,w coords
Andy Spencer [Tue, 9 Feb 2010 19:29:12 +0000 (19:29 +0000)]
Use a different cursor
Andy Spencer [Tue, 9 Feb 2010 19:15:06 +0000 (19:15 +0000)]
Add mouse wheel zooming
Andy Spencer [Tue, 9 Feb 2010 18:59:53 +0000 (18:59 +0000)]
Return NULL when GisHttp fetch fails
Andy Spencer [Tue, 9 Feb 2010 17:31:18 +0000 (17:31 +0000)]
Avoid excess threads with g_mutex_trylock
Andy Spencer [Tue, 9 Feb 2010 17:17:57 +0000 (17:17 +0000)]
Use .part files for downloads
Andy Spencer [Tue, 9 Feb 2010 17:03:52 +0000 (17:03 +0000)]
Use threaded fetch for first tile
Andy Spencer [Tue, 9 Feb 2010 15:17:43 +0000 (15:17 +0000)]
Add code to draw tile borders
Andy Spencer [Tue, 9 Feb 2010 15:08:07 +0000 (15:08 +0000)]
Lazy tile splitting
When a tile is split, only the needed children are loaded. When
rendered, the parent tile must render in places of the non-loaded
children.
Andy Spencer [Mon, 8 Feb 2010 23:36:50 +0000 (23:36 +0000)]
Add DOLT to make compiling go faster
Andy Spencer [Mon, 8 Feb 2010 22:34:06 +0000 (22:34 +0000)]
Remove pan message
Andy Spencer [Mon, 8 Feb 2010 22:31:02 +0000 (22:31 +0000)]
Document GisPluginTest
Andy Spencer [Mon, 8 Feb 2010 22:30:44 +0000 (22:30 +0000)]
Document GisPluginSat
Andy Spencer [Mon, 8 Feb 2010 22:30:40 +0000 (22:30 +0000)]
Document GisPluginMap
Andy Spencer [Mon, 8 Feb 2010 22:30:38 +0000 (22:30 +0000)]
Document GisPluginEnv
Andy Spencer [Mon, 8 Feb 2010 22:30:34 +0000 (22:30 +0000)]
Document GisPluginElev
Andy Spencer [Mon, 8 Feb 2010 22:30:11 +0000 (22:30 +0000)]
Document GisTile
Andy Spencer [Mon, 8 Feb 2010 22:30:02 +0000 (22:30 +0000)]
Document GisCallback
Andy Spencer [Mon, 8 Feb 2010 22:29:55 +0000 (22:29 +0000)]
Document GisMarker
Andy Spencer [Mon, 8 Feb 2010 22:29:48 +0000 (22:29 +0000)]
Document GisObject
Andy Spencer [Mon, 8 Feb 2010 22:29:37 +0000 (22:29 +0000)]
Document GisWms