Robert Osfield
a3f7547cf7
Added support for automatically computing the local skirt orientation
2004-07-07 09:04:21 +00:00
Robert Osfield
3c7dfa389d
Added mutex to image stream thread to serialize calls to Quicktime.
2004-07-06 15:10:33 +00:00
Robert Osfield
105c3568f8
From Geoff Michel, replaced used C style FILE with iostream.
2004-07-06 13:00:14 +00:00
Robert Osfield
ba20259794
Removed debugging message
2004-07-06 12:32:09 +00:00
Robert Osfield
b8aa8bfc40
Fixed warning.
2004-07-06 12:15:03 +00:00
Robert Osfield
d0aa593292
Changed the default mipmapping mode to record the mipmaps in the
...
images in the generated databases.
2004-07-06 12:14:52 +00:00
Robert Osfield
518cedf6c7
Added dealloc or previous image data into readImageFromTexture
2004-07-05 21:46:02 +00:00
Robert Osfield
cce00c475b
Added suppor for copying mipmaps of compressed textures
2004-07-05 21:09:30 +00:00
Don BURNS
4c5f33d397
Changed internal formatt on jpeg loader to be GL_RGB, GL_RGBA, etc. rather
...
than numComponents.
2004-07-05 16:21:43 +00:00
Robert Osfield
1c2c5c4f43
From Ulrich Hertlein, added check for detailRatio<=0.0
2004-07-05 09:04:53 +00:00
Robert Osfield
c58891d168
Fixed missing member variable initialized varaibles
2004-07-05 07:42:46 +00:00
Robert Osfield
2ce192f0ae
Change the light in LightSource from a generic osg::StateAttribute to
...
a osg::Light.
2004-07-02 14:46:24 +00:00
Robert Osfield
2598b02243
Changed the generation of primtive set to use DrawElementsUShort for even
...
index sets that can be represented by UBytes, thisis to try to keep to
fast paths more likely to be supported by graphics drivers.
2004-07-01 14:27:22 +00:00
Robert Osfield
a0eead991f
Fixed indenting
2004-07-01 14:22:11 +00:00
Robert Osfield
0c38189018
Moved the radius parameter from PageLOD into LOD.
2004-07-01 13:53:30 +00:00
Robert Osfield
a8ee967f14
Added support for using pixel size control of LOD levels.
2004-06-30 19:07:05 +00:00
Robert Osfield
b22de2eba0
Maded the image filename handling more consistent.
2004-06-30 14:43:40 +00:00
Robert Osfield
ae3b1454e8
Completed support for "--levels min max" option where the levels that a
...
source imager or DEM contributes to.
2004-06-30 14:37:06 +00:00
Robert Osfield
c45138f977
Fixed handling of PROCTED/OVERRIDE
2004-06-30 09:02:41 +00:00
Robert Osfield
888d9e2a25
From Pavel Moloshtan, added support for storing primitive sets in VBO's
2004-06-29 15:04:38 +00:00
Robert Osfield
d4c46df7ce
Fixed parsing of internalTextureFormat.
2004-06-29 08:03:28 +00:00
Robert Osfield
fdbb1fe021
Re-organised Texture::computeInternalFormatWithImage() to avoid testing
...
for extensions when not required.
2004-06-28 22:09:52 +00:00
Robert Osfield
9b03d8c67e
Fixed warnings.
2004-06-28 21:39:31 +00:00
Robert Osfield
0887e22c3f
Added .osg support for new TexGenNode
2004-06-28 15:09:49 +00:00
Robert Osfield
124f64c55f
Fixed warning
2004-06-28 14:18:48 +00:00
Robert Osfield
ca96c9e731
From Michael Logan, build fix for Performer plugin
2004-06-28 13:18:31 +00:00
Robert Osfield
db43e34bce
From Michael Gronager, added support for alpha channel in writing of BMP images
2004-06-28 13:18:10 +00:00
Robert Osfield
6de63f097b
From Eric Sokolowsky. Added missing blend modes into .osg reading and writing
...
and fixed typo.
2004-06-28 12:52:13 +00:00
Robert Osfield
20de9666dd
From Terry Welsh, added support for reading and writing osg::FragmentProgram
...
local parameters.
2004-06-28 10:00:21 +00:00
Robert Osfield
4c0aa24526
Added handling of GL_INTENSITY in osg::Image::computeNumComponents()
2004-06-17 15:07:50 +00:00
Robert Osfield
63aa9b857d
Added first stage of support for "--levels min max" in osgdem/osgTerrain where
...
this option controls which levels that an associated imager or DEM contributes
to the final model.
2004-06-17 14:39:16 +00:00
Robert Osfield
06aa06d686
Added support for setting texture units in the new TexGenNode.
2004-06-17 14:02:15 +00:00
Robert Osfield
840d5d4930
From Loic Dachary, added missing copy contructor operations.
2004-06-16 15:05:01 +00:00
Robert Osfield
ad6bf73037
From David Fries, small treak to debugging output.
2004-06-16 06:02:12 +00:00
Robert Osfield
8b0a98f03c
Added Marco's AutoTransform.cpp
2004-06-15 12:26:39 +00:00
Robert Osfield
616ee0928a
From Marco Jez, implemented I/O support for the AutoTransform node.
2004-06-14 20:12:04 +00:00
Robert Osfield
ade10ccebc
Improved precision of AnimationPath IO.
2004-06-14 20:10:08 +00:00
Robert Osfield
2d35b3cc27
Changed Billboard::g/setPos(..) to g/setPosition(..).
2004-06-14 19:34:43 +00:00
Robert Osfield
78d075eb24
Added new TexGenNode class for positioning tex gens.
2004-06-14 19:11:04 +00:00
Robert Osfield
0153764aa9
Fixed handling of skylight and headlight options in osgProducer::Viewer.
2004-06-11 21:27:36 +00:00
Robert Osfield
773ffc0c05
Added better debugging messages for verify bindings.
2004-06-11 21:05:50 +00:00
Robert Osfield
6f03f991b3
Changed the color binding to better reflect the settings in the OpenFlight file.
2004-06-11 21:05:07 +00:00
Robert Osfield
eda1bf544d
Added further checks for _node validity.
2004-06-11 21:00:06 +00:00
Robert Osfield
c63f0e2fce
Added checks against null to prevent crashes when the terrain manipulator is set up before
...
a node has been attached.
2004-06-11 20:57:36 +00:00
Robert Osfield
09d585561a
Added missing setColorBinding() into ConvertFromFLT::setMeshColors().
2004-06-11 14:49:22 +00:00
Robert Osfield
343fa27fcd
From Troy Yee, fixes to handling meshes.
...
From Robert Osfield, replaced assert(0)'s with error messages.
2004-06-10 15:43:56 +00:00
Robert Osfield
3adacbdeb7
Changed the *(itr++) instances with *(itr), *(itr+1) with a seperate itr+=n etc. This
...
has been done to avoid VC6.0 optimization ordering problems.
2004-06-09 16:28:51 +00:00
Robert Osfield
f75a7c6294
Added CoordinateSystemNode::set(const CoordinateSystemNode&) method to conviniently
...
set up a coordindate system.
2004-06-09 15:11:27 +00:00
Robert Osfield
84c66b7c2e
Added proper mapping of format and coordinate system.
2004-06-09 15:06:19 +00:00
Robert Osfield
a8ce6b01d6
Added CoordinateSystem::s/getFormat().
2004-06-09 15:00:03 +00:00
Robert Osfield
6f82b37dd0
Improved the precision of animation paths.
2004-06-08 14:30:48 +00:00
Robert Osfield
65d0293778
Added options for controlling mipmapping and aniso-tropic filtering.
2004-06-08 13:58:36 +00:00
Robert Osfield
dbba29e35c
From Boris Bralo, reimplementation of dereference_less functor to use
...
two input types, to attempt to avoid VC compile problems and redundent
copies of ref_ptr<>.
2004-06-08 09:29:56 +00:00
Robert Osfield
22ec86114d
Updates to the terrain manipulator.
2004-06-08 07:32:08 +00:00
Robert Osfield
eec378a885
Moved the osg::ClusterCullingCallback into into own header and source file.
2004-06-07 15:05:22 +00:00
Robert Osfield
48d671352d
Changed the terrain manipulator so the intersection ray is only
...
computed near to the current center point during panning.
2004-06-07 14:49:39 +00:00
Robert Osfield
4bb147aed4
Added haveAppliedAttribute to allow draw callbacks to get access to the
...
current active lights.
2004-06-04 12:27:04 +00:00
Robert Osfield
bfd1286b25
Add clamping to 0..1 bounds for each of the r,g,b,a components in
...
the CubeMapGenerator::set_pixel() method.
2004-06-04 11:35:13 +00:00
Robert Osfield
c69a8a5b80
Added check to Quat::makeRotate(,,,) to catch zero lengh axis.
2004-06-04 10:05:18 +00:00
Robert Osfield
2cf45b50c9
From Terry Welsh, added checks to incoming Geometry for existance of normals,
...
and if they are present use these to compute the tanget and binormals
vectors perpendicular to existing normals.
2004-06-04 08:24:13 +00:00
Robert Osfield
0fac56f56a
From Max Behensky, fixes to the computation of the number of primitives
2004-06-04 08:13:36 +00:00
Robert Osfield
e8a3ba8a9f
Fixed spelling of Equivalent.
2004-06-03 20:06:17 +00:00
Robert Osfield
a92a9d0f22
Added handling of case when only one colour is used.
2004-06-03 10:16:19 +00:00
Robert Osfield
5d97f7ec92
Added support for a single color in a ColorRange
2004-06-03 10:10:41 +00:00
Robert Osfield
1526281793
Added room for tail of text.
2004-06-03 09:36:49 +00:00
Robert Osfield
b5366cbda6
Added DataSet::s/getSkirtRatio() method to allow control of how deep to
...
make the skirts around tiles.
2004-06-02 14:15:08 +00:00
Robert Osfield
344beecede
Added derived reqiestRedraw() and requestContinueUpdate() methods for
...
debugging purposes.
2004-06-02 14:13:11 +00:00
Robert Osfield
7f94839e94
Added setPosition and setWidth methods into ScalarBar and changed the
...
implementation to use these values to position and set the size of the
scalar bar. Also made the characterSize value a float rather than
the previous int.
2004-06-02 12:37:14 +00:00
Robert Osfield
673244a60c
Fixed setCoordinateFrame method
2004-05-26 00:27:00 +00:00
Robert Osfield
205a6a105e
Made the drive and flight manipulators more sensitive to de/acceleration
2004-05-26 00:26:43 +00:00
Robert Osfield
9236f6daa8
From George Tarantilils, add missing handling of alpha channel.
2004-05-25 20:40:26 +00:00
Robert Osfield
9990650cc9
Changed screen grab filename back to a saved_image.jpg
2004-05-25 20:39:49 +00:00
Robert Osfield
eb3917060f
From George Tarantilis, fixes to DDS size computations.
...
From Robert Osfield, addition of constructors for internal DDS structures.
2004-05-25 16:10:28 +00:00
Robert Osfield
5312bcc54a
Updates the movie support
2004-05-25 14:32:20 +00:00
Robert Osfield
6303b87e9a
Added better handling of clamping of projection matrix
2004-05-25 07:40:18 +00:00
Robert Osfield
eac7fdff76
From Alberto Farre, fixes to the computation of sizes
2004-05-24 19:50:13 +00:00
Robert Osfield
ab2b817e61
Made improvements to the handling of small rotations in Quat and
...
TerrainManipulator
2004-05-20 23:25:26 +00:00
Robert Osfield
f8daf206ab
Improved support for new double Vec* classes
2004-05-20 12:57:06 +00:00
Robert Osfield
f02c75f5ea
Added Vec2d, Vec3d and Vec4d classes, and remapped Vec2, Vec3 and Vec4 to
...
Vec2f, Vec3f an Vec4f respectively, with typedef's to the from Vec* to Vec*f.
2004-05-20 10:15:48 +00:00
Robert Osfield
2cd4bd513a
Changed how the rotation and panning are managed, therby improving the
...
handling of the center point going over a pole.
2004-05-17 22:22:24 +00:00
Robert Osfield
a62699b015
Improved the panning support, and added s/getRotationMode(..) to allow
...
users flip between a trackball rotation style and an azim,elevation style.
2004-05-17 15:50:44 +00:00
Robert Osfield
867a1ae105
From Bob Kuehne, more general checks for existance of extensions.
2004-05-17 13:20:41 +00:00
Robert Osfield
01b504bc2f
Improved the pan controls on the terrain manipulator
2004-05-17 12:08:52 +00:00
Robert Osfield
ae5aefac0e
Added the beginings of new osgParticle Explosion, Fire and SmokeEffects.
...
Added support for generation explosion, fire and smoke effects in osgsimulation
2004-05-13 22:09:23 +00:00
Robert Osfield
45998cfdf7
Revert the computeNearFar mode to using bounding volumes as default.
2004-05-13 22:06:20 +00:00
Robert Osfield
642253b731
From Bruce Clay, cross platform implemention of fileType(..)
2004-05-13 13:37:55 +00:00
Robert Osfield
f4a290cdff
From Donny Cipperly, completed Windows support for fileType()
2004-05-13 08:11:31 +00:00
Robert Osfield
90579a0e17
Fixes for FreeBSD
2004-05-12 20:31:58 +00:00
Robert Osfield
5eafee1b83
From Frank Lindeman, compile fix for VS to get round limitation is VS when
...
handling templated methods.
2004-05-12 14:22:01 +00:00
Robert Osfield
82562e5bdd
From Eric Sokolowsky, fixed problems in PNG plugin for handling
...
paletted images which contain alpha values.
2004-05-12 10:45:36 +00:00
Robert Osfield
f66599e00c
From Eric Sokolosky, with further additions from Robert, added support
...
for RGBA TIFF files
2004-05-11 20:44:31 +00:00
Robert Osfield
7742794eec
From Bruce Clay, modify template copy method to avoid VS6.0 compile errors.
2004-05-10 20:01:13 +00:00
Robert Osfield
3fc447af89
Changed &D to use define to keep things compiling under VS6.0
2004-05-10 16:17:46 +00:00
Robert Osfield
4ab330de96
Removed eroneous return statement.
2004-05-10 13:56:05 +00:00
Robert Osfield
6f34ef29f8
From Joran Jessurun, "I needed to be able to set the quality of the saved jpeg images. I could
...
not find a way to do this in OSG. Therefore I implemented this by adding
an option called: JPEG_QUALITY <quality> to the JPEG reader/writer.
To parse the options string I use the same method as used in the LWO
reader/writer. "
2004-05-09 07:06:32 +00:00
Robert Osfield
35c6632cfd
From Mike Weiblen, Fixes for Win32 build
2004-05-09 06:29:54 +00:00
Robert Osfield
86d323752d
From Corbin Holtz, "I have completed my mods to the OpenFlight loader (modified files are
...
attached):
* Light point strings using the REPLICATE opcode should now be supported
(>=15.6?)
* Directional lights should now work as in Performer using a viewing
frustrum defined by a direction vector, horizontal angular width, vertical
angular width, and roll angle about the direction vector. The current
directional light implementation had some bad assumptions which caused
problems with direction vectors not on the XY plane.
* IVE and OSG reader/writers were updated as appropriate"
2004-05-08 22:18:38 +00:00
Robert Osfield
b6c1c44bd0
From Paul Martz,
...
"Changes to provide rudimentary support for OF 15.8 light point
animation palettes. This change also includes light point palette override
support for external references. This is the last of my code changes to
support OF 15.8 in the flt loader. Barring bugs, of course, knock on wood.
The gist of the animation palette code is to create ref_ptr'd
osgSim::BlinkSequence objects for each palette entry, and then pass them on
to osgSim::LightPoint for any OpenFlight light points that reference that
palette entry. This should be conservative of memory (not that I expect the
animation palette to be extremely large)."
2004-05-08 21:33:25 +00:00
Robert Osfield
3d3199017e
From Ken Sewel, added osgDB::fileType(filename) method and usage of this
...
new function in osgdem to automatcally handle directories as part of the
regular -d and -t options.
2004-05-08 06:35:32 +00:00
Robert Osfield
3a8e5fc6b4
From Yefei Hi, replaced windows specific function with sprintf to afford
...
better cross platform portability.
2004-05-07 19:58:56 +00:00
Robert Osfield
bdeb391a00
From Mike Weiblen, added new rot, scale and trans pseudo loaders.
2004-05-07 15:18:59 +00:00
Robert Osfield
a196ea1d5d
From Yefei Hi,fix to MultiSwitch set up, and adding of parsing of description
...
fields (which is presently #if 0'd out while a compile problem is resolved.)
2004-05-07 14:51:33 +00:00
Robert Osfield
bc3c6c2edf
Fixed tabbing to be all four spaced tabs
2004-05-07 14:44:58 +00:00
Robert Osfield
9978c02b7f
From Julian, fix to handling of multi-textures
2004-05-07 14:33:15 +00:00
Robert Osfield
aec98259a8
Added support for osgDB::ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE
2004-05-07 13:43:41 +00:00
Robert Osfield
1c46e8c4f2
From Bob Kuehne, addition of support for toggling on and off GL_TEXTURE_1D, 3D, CUBE_MAP
...
and GL_TEXTURE_RECTANGLE (small addition from R.O)
2004-05-07 12:41:49 +00:00
Robert Osfield
0307463746
Added GL_TEXTURE_RECTANGLE define
2004-05-07 12:40:21 +00:00
Robert Osfield
48dad727b1
From Bob Kuehne, added getting of the max number of texture units in
...
the Texture::Extension object
2004-05-07 11:28:55 +00:00
Robert Osfield
2c352ceb7c
Changed debug info level
2004-05-07 11:18:18 +00:00
Robert Osfield
1666037f42
Changed notify level of debuggin message from NOTICE to INFO
2004-05-07 11:10:05 +00:00
Robert Osfield
324437d1e5
From Don Tidrow, changed cerr usage to osg::notify()
2004-05-07 11:09:05 +00:00
Robert Osfield
db78d55ef2
*** empty log message ***
2004-05-06 12:30:53 +00:00
Robert Osfield
47dd0ece28
Added new TerrainManipulator to osgGA, and new callback for getting the
...
CoordinateFrame for a given X,Y,Z location.
2004-05-06 11:01:16 +00:00
Robert Osfield
1a09763515
Removed Terrain.cpp and header from CVS repository.
...
Added support for setting the maximum visiable distance of top level
to osgTerrain::DataSet, and debugging code which insert a axes.osg
above each tile.
2004-05-06 10:59:08 +00:00
Robert Osfield
eedfe44a1c
Fixed computeLocalTransform to generate correct orientation of local coordinate
...
frame.
2004-05-06 10:54:58 +00:00
Robert Osfield
fe0fd07f36
Moved isCulled check inside the CullVisitor::apply(Projection&) to just
...
before traverse rather than at the begining of the method.
2004-05-05 19:56:18 +00:00
Robert Osfield
b88b9b83ea
Compile fixes for that pitful excuse for a C++ compiler that is VS6.0
2004-05-05 14:54:16 +00:00
Robert Osfield
8bdb68ef97
Added support for reading environmental varables in CullSettings.
2004-05-05 09:16:12 +00:00
Robert Osfield
7905aa37b7
Increased the sampling of upper most tiles when doing a geocentric projection
2004-05-05 05:17:52 +00:00
Robert Osfield
ecaf3c1587
Improved the cluster culling computation so that it now accounts for
...
the local elevations.
2004-05-04 14:02:53 +00:00
Robert Osfield
55162d0c7c
Changed notify level on several debugging messages from WARN to INFO.
2004-05-04 13:58:07 +00:00
Robert Osfield
9db6e84d3d
Cleaned up osgTerrain, renaming the Terrain and Renderer class to
...
HeightFieldNode and HeightFieldRender to better reflect their function.
Removed the GeoMipMapRenderer.cpp stub as the implemention will be left
to a plugin. Added Version functions.
2004-05-03 20:42:58 +00:00
Robert Osfield
b7746ff56e
Added support for automatically finding CoordinateSystemNode's in the
...
scene graph and then using them to set up the CoordinateFrame used
by the camera manipulators.
2004-05-03 12:04:25 +00:00
Robert Osfield
04798b4e63
Fixed compile error
2004-05-03 07:42:30 +00:00
Robert Osfield
fced94fab3
Added support for decoration of the osgTerrain::DataSet generated databases
...
with a CoordinateSystemNode which reflect the coordinate system of the
database.
Added support for reading and writing CoordianteSystemNode into the .osg
and .ive formats.
2004-05-02 21:50:15 +00:00
Robert Osfield
a709c0a474
Made the tri stripping of tile default to using a minimum tri strip length
...
of 3, thereby reducing the number of indivual primitives, but with the tradeoff
of more seperate triangles being used.
2004-05-02 15:45:36 +00:00
Robert Osfield
6223c11570
Made the generation of QUADS for strip with the length of 4 an option.
2004-05-02 15:43:55 +00:00
Robert Osfield
a34cc250e5
Added support for settings scale the elevation of geometry
2004-05-02 14:04:19 +00:00
Robert Osfield
1678066e6e
Changed the default near far calculation mode so that it uses the
...
fine grained computation of near/far.
2004-05-02 14:03:15 +00:00
Robert Osfield
4a6dd1d199
Temporary fix for handling grey scale images as texture source.
2004-05-02 13:35:19 +00:00
Robert Osfield
5836d60fbd
Added osg::CullSettings class as a way of collecting all the various
...
settings related to the cull traversal in one place, so we can keep APIs
for settings these values more consistent.
2004-04-30 15:35:31 +00:00
Robert Osfield
0ba2d26b1a
Added Support for cluster culling.
...
Removed osgTerrain::CoordinateSystem which is now replaced by
osg::CoordinateSystemNode.
2004-04-29 22:22:22 +00:00
Robert Osfield
5d79eb1c9d
Added support for fine grained computation of the near plane, by taking
...
into account individual primitives culled against the view frustum.
Added better support for computing the near far for billboards.
2004-04-29 22:21:06 +00:00
Robert Osfield
522ffca03c
Added support for tracking a user specified CoordinateSystemNode for the
...
CoordinateFrame to use in the camera manipulation
2004-04-29 22:19:57 +00:00
Robert Osfield
f81447e839
Added support for handling a user define CoordinateFrame in the flight
...
and trackball manipulators with API access via the MatrixManipulator
base class
2004-04-29 22:18:54 +00:00
Robert Osfield
36cd372847
Added osg::CoordinateSystemNode
2004-04-29 22:16:50 +00:00
Robert Osfield
df0d0b0fe7
Added missing billboard drawable dirtyBound()
2004-04-29 22:15:04 +00:00
Robert Osfield
be1a124b32
Fix for VS7.0 build from Mike Weiblen
2004-04-29 22:13:23 +00:00
Robert Osfield
f7d3f58470
Warnings fix for VS7.0 from Mike Weiblen
2004-04-29 21:57:42 +00:00
Robert Osfield
0af4365d11
Fixed an iterator invalidation bug. (thanks to Per Månsson for tracking down the
...
bug)
2004-04-29 21:38:16 +00:00
Robert Osfield
ba5b90d43e
Added missing dirtyBound() to billboard section of flatten static transforms
2004-04-29 15:57:03 +00:00
Robert Osfield
181761e56f
Changed M_PI to osg::PI.
2004-04-28 15:07:08 +00:00
Robert Osfield
678c456fc8
Made s/getBackgroundColor() deprecated, and add in new s/getClearColor() to
...
replace it.
2004-04-27 19:09:58 +00:00
Robert Osfield
ed9501fea8
Added a guard on the simplification of already low res tiles so that they
...
won't be over simplified.
2004-04-22 21:51:57 +00:00
Robert Osfield
91516305d9
Added support for protecting points from being simplified.
...
Added back in support for generation of skirts in osgTerrain::DataSet.
2004-04-22 13:36:30 +00:00
Robert Osfield
017983429b
Added getBoundingBox() method to osg::Geode to provide a closer bound
...
of the bounding volume of a Geode to be tracked. This sits alongside
the existing getBound() method which returns a bounding sphere.
2004-04-22 10:47:12 +00:00
Robert Osfield
77f9a4d083
Added searching of the filepath.
2004-04-21 13:20:48 +00:00
Robert Osfield
b57bfb2271
Added back in tri stripping of tiles
2004-04-21 11:06:39 +00:00
Robert Osfield
8a923e60a8
Changed the edge collapse to accept edges with more than two connected
...
triangles.
2004-04-21 10:40:12 +00:00
Robert Osfield
cc1314049c
Changed the debugging info to output to osg::notify() rather than cout.
...
Add a clear of all the internal EdgeCollapse structures to avoid memory
leaks
2004-04-20 09:36:46 +00:00
Robert Osfield
061244056d
Added support for using the error metric to guide the simplficiation process
2004-04-19 23:08:30 +00:00
Robert Osfield
45179b8868
Changed the scoping for for variables to fix VS6.0 compile.
2004-04-19 20:44:14 +00:00
Robert Osfield
f72e9befc1
Added support for detecting edge collapses which will overturn the local
...
triangles.
2004-04-19 20:06:26 +00:00
Robert Osfield
a1caa14a61
Added osgsimplifier example.
2004-04-18 16:15:49 +00:00
Robert Osfield
e524092e1e
Changed std::cout to osg::notify
2004-04-18 14:12:07 +00:00
Robert Osfield
7a6e9e35ec
Changed std::cout to osg::notify
2004-04-18 14:02:09 +00:00
Robert Osfield
4df7836f65
From Marco Jez, "fixes a bug that prevented mipmaps in images from being read correctly (the call to
...
setImage() clears the previously filled _mipmapData vector)."
2004-04-18 13:44:09 +00:00
Robert Osfield
cf8c4c6a97
Further work on Simplifer support for compute error metric
2004-04-17 22:50:39 +00:00
Robert Osfield
8f819d7756
Changed TriangleSet::iterator to const_iterator to fix build under VS.NET.
2004-04-17 20:27:31 +00:00
Robert Osfield
117fa92462
Further work on simplifier edge collapse code
2004-04-17 16:02:38 +00:00
Robert Osfield
715cdcf5e2
From Don Tidrow, changed "setupGLExtenions()" to "setupGLExtensions()" in Texture and
...
Texture.cpp
2004-04-16 22:50:41 +00:00
Robert Osfield
884099b11c
From Bob Kuehne, updated extension/version checking for border clamp extension.
2004-04-16 10:05:57 +00:00
Robert Osfield
3b4e0a419a
Added tests for the consistency of points, edges and triangles.
2004-04-15 09:37:10 +00:00
Robert Osfield
9286df61ec
Fixed typo in makefile
2004-04-14 11:56:59 +00:00
Robert Osfield
44943ed536
From Garret Potts, added -losgUtil to libs linked to osgTerrain
2004-04-14 08:58:53 +00:00
Robert Osfield
025cc6b819
Added support for removing triangles and associated edge and points from
...
the EdgeCollapse object.
2004-04-13 15:59:30 +00:00
Robert Osfield
073e49c3d8
Added support for copy all per vertex attributes to and from the edge collapse
...
object.
2004-04-13 14:39:43 +00:00
Robert Osfield
122a20f9e1
Commented out call to osgUtil::Simplifier as this utility is not yet functional
2004-04-12 21:30:23 +00:00
Robert Osfield
c80de01fd7
Further work on the new osgUtil::Simplifier.
2004-04-12 21:29:31 +00:00
Robert Osfield
ceec7ae86d
Changed the optimization of flat tiles so that it creates a flat 8x8 height
...
field rather than a flat 2x2 height field. This allows geocentric warping
of the tiles without obvious flat regions.
2004-04-12 13:36:08 +00:00
Robert Osfield
97ef4985f7
From Eric Wing, clean ups for OSX support.
2004-04-11 21:21:38 +00:00
Robert Osfield
2a6e155d03
From Alberto Farre, changed the cache hint option in read*() calls from being
...
a bool to a enum osgDB::Registru::CacheHintOptions to be used a bit mask flag.
From Robert Osfied, added osgDB::Registry::ReadFileCallback and
osgDB::Registry::WriteFileCallback to allow customizition of read and write
calls.
2004-04-10 16:11:56 +00:00
Robert Osfield
ae7ceae631
From Paul Martz, added support for OpenFlight15.8 LightPointSystems
2004-04-10 11:30:16 +00:00
Robert Osfield
5c01b5118e
Renamed MyTriangleOperator to CollectTriangleOperator.
2004-04-09 08:20:15 +00:00
Robert Osfield
51c8655630
Added beginning of new osgUtil::Simplifier
2004-04-08 11:27:01 +00:00
Robert Osfield
db9c192a37
Added an alteranive code path for the fallback for handling opaque texture
...
blending.
2004-04-07 18:38:06 +00:00
Robert Osfield
cb213d0ff4
From Paul Martz, changes to better support OpenFlight 15.8
2004-04-07 08:57:15 +00:00
Robert Osfield
459b350eb9
Fixed comments on the OBJ coords system
2004-04-06 20:15:11 +00:00
Robert Osfield
6e854d04c7
Fixes from Per Månsson for Win32 build
2004-04-06 16:01:05 +00:00
Robert Osfield
9f1fea791f
Re-enabled normal generation on tiles.
2004-04-05 15:58:38 +00:00
Robert Osfield
68631ec3f0
Commented out scale setting when source DEM is in lat+longs.
2004-04-05 15:46:19 +00:00
Robert Osfield
01cbfd6715
Added local transform support. Fixed skirt generation to work during geocentric
...
transformations. Fixed output of image files so that compressed textures are
turned off when external image files are required.
2004-04-05 15:39:33 +00:00
Robert Osfield
398fa56bb4
Prelimary work on adding support for local tile transforms
2004-04-04 15:33:26 +00:00
Robert Osfield
3c239326a8
Added support for generating compressed textures
2004-04-02 15:55:06 +00:00
Robert Osfield
50d066d756
From Bob Kuehne, reworked code to use a marco instead of duplicated code,
...
done as measure for reducing the risk of copy and paste errors.
2004-04-02 15:45:34 +00:00
Robert Osfield
42b7df1503
Fixed computeImageResolution so that the computed num of columns and rows
...
of the destination image are clamped to the nearest power of two equal or
above the required resolution.
2004-04-02 15:23:56 +00:00
Robert Osfield
79e3b2fb85
Changed default cut of ratio to be smaller, to reduce the resolution of
...
tiles selected.
2004-04-01 15:00:22 +00:00
Robert Osfield
dbc3dbc5fa
Added scaling of the PagedLOD range to be relative to the radius of children.
2004-04-01 13:09:05 +00:00
Robert Osfield
69ee8ff043
Cleaned up handling of geocentric coords
2004-04-01 11:02:23 +00:00
Robert Osfield
0b1f6fedc9
Changed the comment to make it clear what axis change is implementated.
2004-04-01 07:49:32 +00:00
Robert Osfield
9d2002f3c4
Added preliminary support for converting datasets into geocentric coords
2004-03-31 22:31:46 +00:00
Robert Osfield
b67858f388
Added osgTerrain::EllipsodeTransform helper class for converting to and from
...
lat, long, height to geocentric X,Y,Z and back.
2004-03-31 15:50:30 +00:00
Robert Osfield
663801c0c8
Clean up freeing of no longer required tiles
2004-03-31 09:20:46 +00:00
Robert Osfield
316c646a8f
From David Fries, add init() call to SphereSegment constructor, and
...
new get methods for draw mask and color.
2004-03-31 08:52:47 +00:00
Robert Osfield
d73824f0a1
Added back in tri stripping of geometry tiles
2004-03-30 22:06:01 +00:00
Robert Osfield
5bd4dd2010
Changed the writing out of tile imagery so that it only happens when the
...
destination file format is not .ive.
Added back in support for freeing un-needed tiles.
2004-03-30 22:02:50 +00:00
Robert Osfield
2f2030aba4
Fixed the boundary equalization
2004-03-30 21:13:08 +00:00
Robert Osfield
82b02fdceb
Added debugging for detecting problems in boundary equalization
2004-03-30 19:15:03 +00:00
Robert Osfield
a1b46de936
Added normal generation in polygonal tile generation, and add --wtk option
...
for setting coord systems in osgdem
2004-03-29 22:26:51 +00:00
Robert Osfield
7bea5842fa
Added support for generating polygonal tiles
2004-03-29 14:40:03 +00:00