31c6115d73Added checks for a valid scene graph before doing various ops on it.
Robert Osfield
2008-03-31 16:23:52 +00:00
5887dc87b1From Andy Skinner, build fix for Solaris
Robert Osfield
2008-03-31 14:00:42 +00:00
64f8631d9dAdded Camera::s/getClearAccum, s/getClearStencil and s/getClearDepth.
Robert Osfield
2008-03-31 11:44:31 +00:00
225e1957b3Updated wrappers
Robert Osfield
2008-03-31 09:43:14 +00:00
818b5230fbFrom Sherman Wilcox with a little reorganisation from Robert Osfield, added test for 0 sized subloads, ignoring them to prevent a divide by zero error occuring on some buggy drivers.
Robert Osfield
2008-03-29 09:59:23 +00:00
2c1d440444From Paul Martz, "Some small changes and code cleanup. Biggest change is an improvement to the WriteResult return."
Robert Osfield
2008-03-28 19:56:25 +00:00
960e0bd378Set Texture::setMaxAnisotropy() to 16.0f for better quality terrain when looking at shallow angle.
Robert Osfield
2008-03-28 18:42:03 +00:00
f42497bc2bImproved the error capture and reporting
Robert Osfield
2008-03-28 17:53:58 +00:00
c1e32ef742Rewrote the DatabasePager::removeExpiredSubgraphs(double) routine as it as not expiring subgraphs quick enough to enable reasonable load balancing.
Robert Osfield
2008-03-28 15:52:10 +00:00
3f81a994b7Introduced mutex into Terrain node to manage the tile system data structures
Robert Osfield
2008-03-28 15:31:46 +00:00
49accb1635Reordered set up of scene and event handlers to prevent warning
Robert Osfield
2008-03-28 15:28:03 +00:00
497854cb2fRemoved old lower case versions
Robert Osfield
2008-03-28 13:22:30 +00:00
28f9b71dd4From Paul Martz, "Here's the mods to the OpenFlight plugin to support FLT export. The ZIP file contains the new .cpp/h files as well as existing files that I modified.
Robert Osfield
2008-03-28 12:44:33 +00:00
2567b810cfRemoved TileSystem class, and added support for TerrainTile's automatically registering and unregistering themseles with the enclosing Terrain node.
Robert Osfield
2008-03-27 13:21:36 +00:00
31bc0dd9e3Added wrapper for TerrainTile
Robert Osfield
2008-03-27 11:56:35 +00:00
6396a156a2Renamed osgTerrain::TerrainSystem to osgTerrain::Terrain
Robert Osfield
2008-03-27 11:55:03 +00:00
35c5bd2c92Renamed Terrain to TerrainTile
Robert Osfield
2008-03-27 10:55:39 +00:00
a9d283ca73Introduce TerrainSystem node which decorates a complete terrain model made up of Terrain tiles.
Robert Osfield
2008-03-26 20:06:54 +00:00
c9fc0cd802From Carlo Camporesi, "I have made some changes in order to allow the using of proxies via env variables and options. I have modified also the cmakelist. In this way osg is able to find the library in 3rdParty directory."
Robert Osfield
2008-03-26 20:03:53 +00:00
c97ba8271bFrom Carlo Comporesi, adding support of finding libcurl in 3rd party dependencies
Robert Osfield
2008-03-26 20:01:45 +00:00
434337b7c8From Tomas Hnilica, " Attached is modified source of AdapterWidget.cpp file from osgviewerQT example. Original was token today from SVN - trunk. (2.3.6). --mdi option needs to be set to run MDI version.
Robert Osfield
2008-03-25 15:21:14 +00:00
1bbd899a89Moved include of c headers to top, and remove using std::strlen in an attempt to solve gcc4.3 compile problems
Robert Osfield
2008-03-25 13:14:14 +00:00
f50b9a3c79Added limits.h to try and avoid gcc 4.3 compile problems
Robert Osfield
2008-03-25 13:06:57 +00:00
3a1fbcd6f0Added #include<memory> to fix gcc 4.3 build problem
Robert Osfield
2008-03-25 13:01:40 +00:00
b4245023a9Fixed LessGeode operator.
Robert Osfield
2008-03-25 12:26:43 +00:00
920554c4f7From Wojciech Leandowski, "I removed few lines of code that were setting Threading mode and Screen mode. I believe they are now not neccessary because the same does osgViewer::Viewer argument parser. In fact argument list does not contain these args after they were parsed by osgViewer::Viewer constructor.
Robert Osfield
2008-03-25 11:50:28 +00:00
600dbf5470Added sampling down to 32x32 mesh for 64x64 height fields as a workaround to memory consumption issues with high res whole earth paged databases.
Robert Osfield
2008-03-24 18:06:40 +00:00
26526038caAdded mutex to prevent multiple cull threads changing the MultiTextureControl at one time.
Robert Osfield
2008-03-24 18:03:19 +00:00
584882ad24Added full range of cameras manipulators to osgmultitexturecontrol example
Robert Osfield
2008-03-24 10:53:14 +00:00
df74f3ba8aAdded < and > key bindings to allow the speed to be animation speed to be increased or decreased.
Robert Osfield
2008-03-23 18:28:49 +00:00
6e7a1608dfAdded preliminary file cache support. Enabled by setting the OSG_FILE_CACHE variable.
Robert Osfield
2008-03-21 18:35:29 +00:00
c762eeee0cAdded missing break; at end of each case entry.
Robert Osfield
2008-03-21 18:31:56 +00:00
b58d59ceb7Fixed push/popping of filepath, removed verbose debug messages
Robert Osfield
2008-03-21 15:43:53 +00:00
c26b41d125Added better detection and error reporting of files without proper server address
Robert Osfield
2008-03-21 13:20:07 +00:00
ac63d37f7bAdded initial cut of libcurl based plugin
Robert Osfield
2008-03-21 13:08:02 +00:00
73ce6837faUpdated date for 2.4.6 release
Robert Osfield
2008-03-20 10:24:26 +00:00
f5f29a03c1From Melchoir Franz, "osgViewer toggled the NumLock state correctly when pressing the NumLock key, but it didn't pick up the initial state. So, if NumLock was on for the OS at startup (LED on), it was still off for OSG. And the first keypress turned the LED off, and NumLock on for OSG. The attached fix picks up the state on every FocusIn, just like it was done in the last commits for CapsLock. The difference is, that the NumLock mask isn't standardized (e.g. 0x10 for Linux, and 0x80 for AIX), so we have to do a reverse lookup (::rescanModifierMapping()).
Robert Osfield
2008-03-19 21:05:38 +00:00
01de26e678Update AUTHOR file
Robert Osfield
2008-03-19 17:11:20 +00:00
88ba7cc0d6Updated version and ChangeLog for 2.3.6 dev release.
Robert Osfield
2008-03-19 17:10:38 +00:00
a51342d81eUpdated wrappers
Robert Osfield
2008-03-19 12:30:50 +00:00
bbf4564103From Sebastian Messerschimdt, Added polygon offset controls
Robert Osfield
2008-03-19 12:09:20 +00:00
5746c4ce89Updated wrappers
Robert Osfield
2008-03-19 11:41:37 +00:00
207a0e8610Revert the Camera::setInheritanceMask(0x) calls that were added as workaround to a bug introduced by a bug fix to the way the inhertiance mask was handled in CullVisito::apply(Camera&)
Robert Osfield
2008-03-19 11:41:21 +00:00
027b4b0986Introduced InheritanceMaskActionOnAttributeSetting member to CullSettings, and associated applyMaskAction method that is now used in all CullSettings::set*() methods, which by default helps disable the inheritance mask associated with settings that are made locally.
Robert Osfield
2008-03-19 11:40:08 +00:00
945846a3edSet the CullSettings::InhertianceMask to 0x0 as temporary measure till we work out the best scheme to use w.r.t inhertiance of CullSettins.
Robert Osfield
2008-03-18 17:44:21 +00:00
450d5e5615Updated wrappers
Robert Osfield
2008-03-18 15:48:48 +00:00
1d1dcf2cf3To osg::AutoTransform added support for MinimumScale, MaximumScale and AutoScaleTransitionWidth parameters and a new scheme for computing the scaling when using autoscale that introduces smooth transitions to the scaling of the subgraph so that it looks more natural.
Robert Osfield
2008-03-18 15:37:38 +00:00
b08f438946Added example code showing how to set the minimum and maximum scales
Robert Osfield
2008-03-18 10:45:47 +00:00
e74bb067fbAdded ObjectRecordData to include list
Robert Osfield
2008-03-18 09:17:52 +00:00
7a7c197af3Added minimum and maximum scale support to osg::AutoTransform
Robert Osfield
2008-03-17 15:22:03 +00:00
80d5d01698Fixed moving model bug where the moving model code was looking for a transform with DataVariance set to DYNAMIC, but the scene graph set up code was leaving the setting to default to STATIC. Fix involved setting DataVariance on moving transoforms to DYNAMIC.
Robert Osfield
2008-03-17 12:23:06 +00:00
42e3cb6bf2Updated wrappers
Robert Osfield
2008-03-17 12:13:20 +00:00
ae1c047debAdded doxygen docs
Robert Osfield
2008-03-17 12:11:39 +00:00
00f161ca35Introduce osgParticle::ParticleSystem::s/getParticleScaleReferenceFrame() to help manage the scaling of particles, whether they should be relative to the local coordiante frame of the particle system, or be in world coordinates.
Robert Osfield
2008-03-17 12:09:05 +00:00
7ec5673a7eAdded fire effect, enabled by --fire command line option. The new fire effect has been introduced to reproduce the scaling of paricle effects
Robert Osfield
2008-03-17 10:29:23 +00:00
a1c0c2a3ebAdded better error reporting
Robert Osfield
2008-03-15 19:27:35 +00:00
cf8cbc5af4From Paul Melis, "typo fix : NVidea -> NVidia (including option --Nvidea)"
Robert Osfield
2008-03-14 16:51:39 +00:00
dcc4e2838bUpdate ChangeLog and AUTHORS.txt file for 2.3.5 release
Robert Osfield
2008-03-14 16:24:36 +00:00
45ac890f37Updated wrappers
Robert Osfield
2008-03-14 15:33:59 +00:00
164f2160ffAdded utilty script for cleaning up build files/directories.
Robert Osfield
2008-03-14 15:33:47 +00:00
a49ed677b5Fixed indenting
Robert Osfield
2008-03-14 15:32:56 +00:00
45bd3802deFrom Melchior Franz, "Attached is a fix for remaining problems in capslock handling: It sets osgGA's keymask when restoring keys on FocusIn, according to the state values of XKeyEvent and XCrossingEvent. (These are the only source for X11's current capslock state that avoids pulling in the XKB extension.) "
Robert Osfield
2008-03-14 15:13:08 +00:00
dbd4bdcd89Missing checkin
Robert Osfield
2008-03-14 15:00:37 +00:00
a364f933e4Added iostream include
Robert Osfield
2008-03-14 14:35:15 +00:00
9c56c5277fAdded cloning of the StateSet before modification to work around threading issue relating to the StateSet being modified by the event/update thread and read from the draw thread at the same time.
Robert Osfield
2008-03-14 13:21:35 +00:00
8be3123cbfConverted static const unsigned int definitio to enum.
Robert Osfield
2008-03-14 12:03:11 +00:00
6e8606416fUpdated version/author type fixes, authors, readme and changelog for 2.3.5 dev release
Robert Osfield
2008-03-14 11:53:44 +00:00
721944194cUpdated wrappers
Robert Osfield
2008-03-14 11:07:03 +00:00
457a28d40eImproved the indenting
Robert Osfield
2008-03-14 11:06:54 +00:00
1be388c705Changed the const get(), operator*() and operator->() methods to return non const T versions
Robert Osfield
2008-03-14 11:06:35 +00:00
e37bb89016From Andy Skinner, build fix for Solaris
Robert Osfield
2008-03-14 11:01:54 +00:00
f858d30c68Fixed doc comment
Robert Osfield
2008-03-13 19:48:16 +00:00
292be66eccRemoved gl and glu prefixes from SceneGraphBuilder methods to avoid problems under Solaris
Robert Osfield
2008-03-13 19:44:10 +00:00
849d2fdc8fFrom Gino van den Bergen, "I've added a few fixes to the VRML 2.0 plugin:
Robert Osfield
2008-03-13 16:40:45 +00:00
daef0f64f2From Jose Delport, "attached is a version of osgunittests that does not give false alarms for the case where q1 = -q2. The output of 'osgunittests quat' is now much cleaner. "
Robert Osfield
2008-03-13 16:38:05 +00:00
670c7967aeFrom Paul Melis, "Here is an updated osgviewerWX example to bring it more in line with the other GUI toolkit examples. It now takes a model file as command-line argument (complaining if there isn't one), and its startup window size is now actually applied (it used to be too small). I tested this with a unicode-build of wxWidgets, as that is the recommended build type on Linux with GTK. I'm pretty sure this version of the example will work for the ANSI build as well, but I have no way of testing."
Robert Osfield
2008-03-13 16:22:07 +00:00
110c761695From Melchoir Franz, "ac3d.cpp does currently strip everything but the file name in "texture" paths. This is to drop absolute paths that some 3d editors export (even AC3D itself!). But this also strips directories of relative paths, which is wrong and contradicts the ac3d reference implementation. (The reference implementation doesn't strip anything, though, and so takes the absolute paths as they are. Definitely not what we want.)
Robert Osfield
2008-03-13 16:18:03 +00:00
a460d66533From Melchoir Franz, Caps lock support under X11
Robert Osfield
2008-03-13 16:12:46 +00:00
f1fe11f5a9Added double versions of intersect methods
Robert Osfield
2008-03-13 16:05:40 +00:00
51f872c279Updated wrappers
Robert Osfield
2008-03-13 16:05:20 +00:00
194a987974From Andy Skinner, "I've taken this another step, to use value_type inside the intersect calls. I did choose to use sqrt() instead of sqrtf()."
Robert Osfield
2008-03-13 15:23:24 +00:00
a9740118dbFrom Paul Martz, files for adding ObjectRecordData support into OpenFlight
Robert Osfield
2008-03-13 15:21:34 +00:00
e19dbe8daaFrom Paul Martz, "The attached preserves OpenFlight Object record data as UserData in the osg::Group corresponding to the Object record.
Robert Osfield
2008-03-13 14:09:11 +00:00
3a11483ba8Added support for assigning state to created drawables, implemented gluDisk.
Robert Osfield
2008-03-13 13:44:34 +00:00
9ce276c5d7From Alberto Luaces, "Here I send minor corrections to the text output by the osgforest example when building its graphs. The message "Creating billboard based forest" appears four times regardless of the actual type of the graph being built. "
Robert Osfield
2008-03-13 13:43:22 +00:00
e9b3f06c1bUpdated wrappers
Robert Osfield
2008-03-12 20:20:55 +00:00
1b9cefa10fAdded extra constructors
Robert Osfield
2008-03-12 20:15:45 +00:00
db256b962cAdded proper implementations of OpenGL 1.0 calls to OSG object representation methods in SceneGraphBuilder.
Robert Osfield
2008-03-12 20:15:28 +00:00
eb9f7428bcFixed bug in output of ProxyLayer's MinLevel/MaxLevel
Robert Osfield
2008-03-12 15:28:26 +00:00
a26bdd9446Added default implementations of new SceneGraphBuilder class
Robert Osfield
2008-03-11 13:29:12 +00:00
b2ead391b3From Mathias Froehlich, "it appears to me that sun CC cannot use static functions from template functions. The attached change is required to make it compile with sun CC."
Robert Osfield
2008-03-11 13:23:49 +00:00
3537d21ae3From Jose Delport, added support for finding and using GDAL 1.5
Robert Osfield
2008-03-11 13:19:08 +00:00
3bdfb700aaAdded extra event handlers to make viewer more functional
Robert Osfield
2008-03-11 12:10:09 +00:00
5f4e8d54afAdded commandline help options
Robert Osfield
2008-03-10 20:30:56 +00:00
af29bccf4fFrom Andreas Ekstrand and Lars Nilsson, fix for reading Texture Attribute file
Robert Osfield
2008-03-05 13:54:52 +00:00
5deac2ce3aUpdated wrappers
Robert Osfield
2008-03-05 12:05:55 +00:00
6e89dc0d94From Jean-Sebastien Guay, "I changed osgGA::StateSetManipulator to mirror the osgViewer::StatsHandler and other handlers which allow you to change the key(s) you would press to get them to do something. Pretty simple change but useful in our context and possibly in others too."
Robert Osfield
2008-03-05 11:33:55 +00:00
bc406c8bf0From Jean-Sebastien Guay, " The problem can be reproduced by simply changing the osgpick example to use a CompositeViewer with a single view initialized using setUpViewAcrossAllScreens(). I have attached a modified osgpick.cpp so you can test it out quickly (please don't check this file in though :-) ) The eventState is then incorrect and picking does not work. The only changes are in CompositeViewer.cpp (eventTraversal() method), and fix the problem for me. "
Robert Osfield
2008-03-04 17:57:06 +00:00
9d0c950bb0From Colin McDonald, "Attached is an updated to osgViewer::PixelBufferWin32.
Robert Osfield
2008-03-04 16:39:44 +00:00