Commit Graph

4026 Commits

Author SHA1 Message Date
Robert Osfield
58d60476f0 From Mike Weiblen, " Move update of shader values after shader rebuild opportunity, to ensure uniform
state of shaders is consistent"
2005-03-23 20:31:42 +00:00
Robert Osfield
aee1e88f15 Added extra controls for ParticleEffects. 2005-03-23 17:05:21 +00:00
Robert Osfield
60597f4bbb Fixed the scaling in pixelSize computation and the autoscale usage of it. 2005-03-23 10:46:08 +00:00
Robert Osfield
a61a99251f Removed multiple inheritance from TechniqueEventHandler. 2005-03-23 10:41:51 +00:00
Robert Osfield
dde703e3b0 Commented out the if (!node->getName().empty()) return false; in isOperationPermissibleImplementation() 2005-03-23 08:30:15 +00:00
Robert Osfield
476a83bb9c Added MatrixManipulator::s/getIntersectTraversalMask(uint) to allow control
of which subgraphs should be used in intersection calculations.  Updated
Terrain,Drive and UFO manipulator to use this new flag.
2005-03-22 21:06:06 +00:00
Robert Osfield
0b2ac40fe8 Moved ParticleSystemUpdater into ParticleEffect nodes to simplify usage
of nodes.
2005-03-22 20:26:45 +00:00
Robert Osfield
1c808e4959 Fixed the double transform of ParticleEffects 2005-03-22 17:00:41 +00:00
Robert Osfield
8e9f14a374 Updated sphere segment example to use original osgsimulation source, adding
in terrain, moving models and particle effects.
2005-03-22 12:11:03 +00:00
Robert Osfield
1791f7c6b9 Corrected orientation of aeroplane and direction of rotation around earth. 2005-03-22 12:04:03 +00:00
Don BURNS
8eb0e8ca88 Added getCameraByName method to viewer 2005-03-21 00:33:37 +00:00
Don BURNS
5d10547ac5 Added getCameraByName method to viewer and home(double currentTime) to
MatrixManipulator, UFO, Trackball and ANimation manipulator.
2005-03-20 23:57:17 +00:00
Don BURNS
c579ab511e Updated some visual studio files for the new applications. 2005-03-20 23:29:05 +00:00
Don BURNS
3c38fa2dfe Added (for real this time) application project files for visual studio 2005-03-20 21:43:33 +00:00
Robert Osfield
7951be9573 Added support for handling transparent geometries and textures. 2005-03-18 11:21:01 +00:00
Robert Osfield
0452f1eac2 Moved osgarchive, osgconv, osgdem, osgversion and osgviewer .dsp's to applications folder. 2005-03-18 11:07:35 +00:00
Robert Osfield
41bd934fac Moved COMPILE_EXAMPLES ?= no to top of Make/dependencies to make it more clear,
and removed the application programs fully from the examples list
2005-03-18 10:46:15 +00:00
Robert Osfield
329876c493 Removed the redundent subclassing from osg::NodeVisitor in examples event handlers 2005-03-18 10:45:18 +00:00
Robert Osfield
2e67fee738 updates to reflect changes to StateAttribute::Types 2005-03-18 10:27:49 +00:00
Robert Osfield
667ecd91f1 From Alberto Farre, fixes to ProxyNode. 2005-03-18 10:00:16 +00:00
Robert Osfield
b0c36076fb From Marco Jez, added OSGNVEXT_ prefex to StateAttribute enums. 2005-03-18 09:48:09 +00:00
Robert Osfield
c30141d6be From Mike Weiblen, "minor patches to osgFX consisting of changing from
"state.matrix.modelview[0]" to the equivalent "state.matrix.modelview".
Per ARB_vertex_program, the "[0]" syntax is supported only when
EXT_vertex_weighting or ARB_vertex_blend are supported."
2005-03-18 09:37:46 +00:00
Robert Osfield
d801593d35 Improvements to the handling of textures and texture coords. 2005-03-18 02:45:54 +00:00
Robert Osfield
dd4427d1e3 Made the can't find ground intersection message only appear as INFO. 2005-03-18 02:45:02 +00:00
Robert Osfield
d52f4ea23a Added support for a new IsOperationPermissibleForObjectCallback in osgUtil::Optimizer. 2005-03-18 02:44:08 +00:00
Robert Osfield
f8426a8ad8 Made supports(..) methods use support(const ...) 2005-03-18 02:42:59 +00:00
Don BURNS
a2f5c8563e Randal Hopper fix to GNUmakefile for osgsimulation. 2005-03-18 01:51:13 +00:00
Robert Osfield
8bb4649cd5 Added extra controls into osgDB::DatabasePager for customizing how
much time is allocated to compiling and deleting OpenGL objects, also
added support into osgProducer::OsgSceneHandler.cpp for these new parameters.

The new cotrols are:

    DatabasePager::s/getTargetFrameRate(..)
    DatabasePager::s/getMinimumTimeAvailableForGLCompileAndDeletePerFrame()
    DatabasePager::s/getMaximumNumOfObjectsToCompilePerFrame()
2005-03-17 19:32:09 +00:00
Don BURNS
a06ca64061 Removed redundant examples, that have been moved to the applications directory 2005-03-17 18:29:56 +00:00
Robert Osfield
451a27ac65 Added guard to texture image to avoid seg fault when dealing with incomplete databases. 2005-03-17 14:40:30 +00:00
Robert Osfield
6904696573 Added check against node.getName() into isNodeEmpty(Node&) method so that nodes
with names arn't assumed to be empty.
2005-03-17 10:24:22 +00:00
Robert Osfield
8545fa5198 Added if (image ..) check to prevent seg fault on imcomplete models 2005-03-17 08:54:23 +00:00
Robert Osfield
033fe70f9a Added --addMissingColours / --addMissingColor support into osgconv which
provides a mechansim for adding in a white colour where none previously
existed.  This solves the problem that exists on some databases where
no colour is present, causing the colour to be inherited randomly.
2005-03-16 20:44:10 +00:00
Robert Osfield
6169934d1b From Mike Weiblen, added UFOManipulator to osgGA project file. 2005-03-16 14:48:52 +00:00
Robert Osfield
1d94826b40 Added --smooth option to osgconv 2005-03-16 14:14:12 +00:00
Robert Osfield
d7ddecbb40 Removed applications from examples list 2005-03-16 14:09:03 +00:00
Robert Osfield
4beb385d2d Changed tabs to four spaces 2005-03-14 09:28:31 +00:00
Robert Osfield
21ae4c6c65 From Marco Jez, fix for data corruption bug in TypedMethodInfo*::invoke() 2005-03-14 09:13:38 +00:00
Robert Osfield
e114f68af6 Added guard to osgdem build 2005-03-13 21:22:56 +00:00
Don BURNS
2e3aab7cbb Added GNUmakefile for the new applications directory 2005-03-13 17:51:31 +00:00
Robert Osfield
8c7f71ef39 Added osgGL2 to .ive list of dependencies 2005-03-13 17:26:52 +00:00
Don BURNS
c332d1f751 Chagned osg::Matrix to osg::Matrixd 2005-03-13 05:02:02 +00:00
Don BURNS
bdd04bef60 Added applications directory. Copied (not moved)
osgarchive
    osgconv
    osgdem
    osgversion
    osgviewer

into applications directory.  Leaving them in the examples directory
as well, for now.

Made examples optional via the make COMPILE_EXAMPLES=yes option

Added static lib and static plugin build support.
2005-03-13 01:47:46 +00:00
Don BURNS
4904c20889 Added M_PI definition for winders 2005-03-12 15:57:44 +00:00
Don BURNS
fce7f24347 Added a few things to osgProducer::Viewer to support UFO manipulator and
cleaned up UFOManipulator.
2005-03-12 05:31:26 +00:00
Robert Osfield
a2e8bc6267 Added support for set/getUniform and set/getProgram into osg::StateSet. 2005-03-11 20:29:21 +00:00
Robert Osfield
3005f34cc4 Fixed old handle(..) method call parameters 2005-03-11 20:19:16 +00:00
Don BURNS
21c1d64b1c Added methods getCameraManipulatorNameList() and selectCameraManipulatorByName(). 2005-03-11 17:48:01 +00:00
Don BURNS
e001d4ddd6 Added the 'H' - home to usage message 2005-03-11 17:46:34 +00:00
Don BURNS
e59284501b Changed class name to UFO instead of UFOManipulator to conform to the other
manipulators
2005-03-11 17:46:12 +00:00