Robert Osfield
af5b6aa43e
Added CartizianLocator
2007-05-03 16:23:19 +00:00
Robert Osfield
65811d0233
Added virtual orientationOpenGL() method into osgTerrain::Locator.
2007-05-03 11:11:03 +00:00
Robert Osfield
3809d0dad0
Moved the OpenThreads link locally to each lib
2007-05-03 10:06:38 +00:00
Robert Osfield
80c42a7cf7
Introduced new tesslation technique that adjusts the triangulation so that the
...
diagonal goes between the corners with least vertical deviation.
2007-05-02 13:58:38 +00:00
Robert Osfield
efb52dfab9
Added TerrainNode::setColorFilter(layerNum,Filter) to allow developers to set
...
what type of texture filter to use, either LINEAER and NEAREST.
2007-04-30 09:47:35 +00:00
Robert Osfield
aa56bddefc
Added a MatrixTransform set up to provide a local origin for better precision.
2007-04-29 20:10:43 +00:00
Robert Osfield
921eb0fdd0
Further work on new VertexBufferObject/ElementsBufferObject support
2007-04-29 08:12:29 +00:00
Robert Osfield
47598ce1a9
Added back in osg::Geometry path
2007-04-27 17:03:06 +00:00
Robert Osfield
f242570269
Unified the setup of version numbers so that they all are based on the version
...
number setup in the include/osg/Version header file.
2007-04-22 20:19:43 +00:00
Robert Osfield
835e315494
Implement basic TerrainGeometry code
2007-04-16 19:34:25 +00:00
Robert Osfield
68a6882d04
Bumbped the version number up to 1.9, in preperation for using odd release numbers
...
for development releases, odd versions for stable releases.
2007-04-16 06:03:22 +00:00
Robert Osfield
d786be8d4c
Added some debugging
2007-04-13 19:28:22 +00:00
Robert Osfield
73f980bd49
Prep work on new TerrainGeometry Drawable which supports selective display list/VBO's usage.
...
Updated wrappers
2007-04-11 17:39:13 +00:00
Robert Osfield
557fdacba2
Added support for multiple colour layers, and fixed handling of elevation
...
and colour layers having different locator
2007-04-11 11:20:04 +00:00
Robert Osfield
2e6ee4bb39
Removed old gmake and VisualStudio build files
2007-04-10 13:10:25 +00:00
Robert Osfield
6d7b5e7ebd
From Eric Wing, pedantic warning fixes
2007-04-06 15:36:13 +00:00
Robert Osfield
811d0e465a
Added better handling of colour layer/elevation layer/transfer function combinations and
...
use of 16bit luminance format for colour layers used as input to transfer functions
2007-04-05 14:56:30 +00:00
Robert Osfield
86e20e1659
Added assignment of hieghts texture coords
2007-04-03 19:18:20 +00:00
Robert Osfield
31d9f40a2f
Preliminary work on TransferFunction support
2007-04-03 15:39:05 +00:00
Robert Osfield
826be748e8
Added support for texture layer.
2007-04-01 11:19:46 +00:00
Robert Osfield
d434ee0db8
Added support for reading values from an ImageLayer, and building of the
...
elevation data in GeometryTechnique.
2007-03-30 14:57:57 +00:00
Robert Osfield
a2ecb93c2b
Converted osg::HeightField across to using a osg::FloatArray internally to enable
...
it to be assigned as a vertex attribute array to an osg::Geometry.
Removed the osgTerrain::ArrayLayer as its no longer required thanks to the above change
which makes the osgTerrain::HeightFieldLayer more flexible.
Updated wrappers
2007-03-29 19:42:07 +00:00
Robert Osfield
0c44e9ac19
Added creation of basic geoemtry to test Locator and extents
2007-03-29 14:45:35 +00:00
Robert Osfield
e2e0897a1b
Added missing return value
2007-03-29 10:13:36 +00:00
Robert Osfield
cb811aa7cd
Added support for compute the extents on local NDC coordiantes of the
...
elevation and colour layers
2007-03-28 16:28:20 +00:00
Robert Osfield
78ed8f9219
Add computeBound support to TerrainNode and Layer.
2007-03-27 19:27:36 +00:00
Robert Osfield
4688d5ae8e
Rearranged the traversal and initialization of TerrainTechnique
2007-03-27 16:01:01 +00:00
Robert Osfield
e76e4e82db
Added EllipsoidLocator.
2007-03-27 11:23:57 +00:00
Robert Osfield
b419fa93ef
From Luigi Calori, "when we link against something that comes out from a Find... we ususally have a variable <LINK_VAR_NAME>available like OPENTHREADS_LIBRARY,
...
so I' ve set up a macro that uses the variable name expanded for linking, and test if a variable ${LINK_VAR_NAME}_DEBUG
like OPENTHREADS_LIBRARY_DEBUG exists and in case uses it for linking in debug mode.
I' ve also set up FindOpenThreads to set up these variables.
I had to edit the core libraries CMakeLists to add the calls to the macros used.
I' ve tested under MSVC"
2007-03-26 13:02:38 +00:00
Robert Osfield
56a1808794
Added ImageLayer, ArrayLayer and HeightFieldLayer classes
2007-03-21 17:18:53 +00:00
Robert Osfield
541c3f13e9
Added GeometryTechinque to osgTerrain. Added usage of GeometryTechnique into osgterrain example
...
Added --width and --height command line options to osgdistortion to allow users
to control the window size.
2007-03-21 16:34:04 +00:00
Robert Osfield
c66252ca3a
Further work on TerrainNode
2007-03-19 11:25:41 +00:00
Robert Osfield
32166ca631
Build fixes
2007-03-19 10:54:39 +00:00
Robert Osfield
7f2586d9db
Name fixes
2007-03-14 12:59:06 +00:00
Robert Osfield
2fae221f2d
Added class shells for osgTerrain::Locator and osgTerrain::Layer classes
2007-03-14 12:00:54 +00:00
Robert Osfield
c489b0af2c
Renamed HeightFieldNode and HeightFieldRenderer to TerrainNode and TerrainTechnique respectively
2007-03-14 11:24:04 +00:00
Robert Osfield
e9ad68c926
Removed GDAL references
2007-03-12 12:13:52 +00:00
Robert Osfield
5fdeaeaaa2
Fixed osgTerrain CMakeLists.txt so it didn't include DataSet or GDAL references
2007-03-12 11:48:35 +00:00
Robert Osfield
db6f07f1d6
Ran dos2unx of CMakeLists.txt files
2007-03-08 15:31:36 +00:00
Robert Osfield
f50ed9667a
From Eric Wing and others, first cut of CMake build support
2007-03-04 13:05:33 +00:00
Robert Osfield
b00cbe5a17
Moved include/osgTerrain/DataSet/.cpp, gdal plugin and osgdem out into the VirtualPlaneBuilder project.
...
Updated examples to remove DataSet/GDAL dependency.
Updated wrappers
2007-02-27 21:12:48 +00:00
Robert Osfield
db163de91c
From Luigi Calori, "In order to effectively use --image-ext and to add -O "plugin options",
...
some fix to osgdem.cpp and osgTerrain/DataSet.cpp
These mods should allow to build terrains controlling jpeg compressed
imagery embedded in ive files, using something like:
osgdemd --image-ext jpeg --RGB_24 -O "JPEG_QUALITY 20
compressImageData" ......."
2006-12-07 10:16:43 +00:00
Robert Osfield
bae46a0fbd
From Jason Beverage, "I ran though the sample data that Gert provided earlier today and tracked down the problem. The xoffset in readHeightField and readImage were being applied even in projected coordinate systems. This patch should fix the issue."
2006-11-14 12:55:00 +00:00
Robert Osfield
5c1b0f1bbd
Added support for imagery and DEM's that wrap around the dateline, this required
...
two passes over the copying of imagery and DEM's to the destination graphs, once for
the original position, and once for the wrap around 360 degrees on or before.
Also fixed the GeospationExtents constructor that was setting the _max to DBL_MIN rather
than -DBL_MAX. This bug causesd the y axis to be computed incorrectly.
2006-09-04 20:43:07 +00:00
Robert Osfield
87a221445e
Updated version numbers of the up comming 1.2 release
2006-08-31 20:54:28 +00:00
Robert Osfield
132f9ead45
Updated version number for 1.1.1 release
2006-08-12 08:29:16 +00:00
Robert Osfield
5c4446dd5e
From Jason Beverage,
...
"I've attached fixes to DataSet that should fix the problems that Maya was seeing yesterday. The issue was that the new interpolation code I submitted didn't use the SourceData's georef, it was assuming that the GDALDataSet had a proper geo-ref. I've made the getInterpolatedValue method a member of SourceData and now it uses the georef the SourceData's georef.
I also forward declared the GDALRasterBand class in the DataSet header."
2006-07-31 20:56:22 +00:00
Robert Osfield
f5b5f7f527
From Jason Beverage, "This patch should fix Gert's problem that he posted on osg-users. I downloaded the sample he posted, reproduced the error, and added an additional check to make sure the GDAL window size was valid. Now his example works fine. Changes made against current CVS.
...
"
2006-07-27 16:41:22 +00:00
Robert Osfield
f1c2694c17
Updated copyright years.
2006-07-18 15:21:48 +00:00
Robert Osfield
ad18b88848
From Antoine Hue,
...
"There was a typo in "int setNotifyOffset()", appear to be a getter =>
"int getNotifyOffset()".
Then I have added a switch to create GDALTermProgress only when the
current notify level + local offset permit message display. In fact, if
the offset is set to 0 and the notify level is at the default, DataSet
is quiet but for the GDALTermProgress. That is quite disturbing since
you think the progress is related to the complete processing but it is
actually only related to the GDAL Warp."
2006-07-11 10:34:41 +00:00