Commit Graph

3846 Commits

Author SHA1 Message Date
Robert Osfield
816df3a1d0 Fixes for VS6.0 build 2005-04-04 12:24:18 +00:00
Robert Osfield
2e32a7cb78 From Carlo Camporesi,fixed for loop bug 2005-04-04 11:47:50 +00:00
Robert Osfield
63e665a131 Added missing makefiles 2005-04-04 11:42:43 +00:00
Robert Osfield
ed0200162c From Alberto Farre, nested files bug fix. 2005-04-04 11:22:43 +00:00
Robert Osfield
d9828731d8 From Alberto Farre:
"Here there are fixes for several flt loader problems.

First one was an small bug when root database was an empty string we got a database path "/" instead of "./".
Second one is more complex. Flt loader works in two passes, first one reads flt database and second one builds osg scenegraph. Special care must be taken for properly tracking database path as nested files are entered. Because textures are loaded in second pass, mentioned care should be taken once again. I wrote time ago a piece of code and I placed it in both files fltFile.cpp and flt2osg.cpp. After a long period offline I have seen the portion of code at flt2osg was missing, I just made some tests and I could see it is still required.

Finally, I have seen that pool.cpp always try to make IMAGE cache instead of reading what Options says.

Aditonally, I recently wrote an osg change, now it has external references "a la flt" what is called osg::ProxyNode. As part of the change now flt loader builds external references as ProxyNodes. I made the same mistake like pool.cpp and always made ARCHIVE cache instead of see what Options says, it has also been fixed."
2005-04-04 11:18:02 +00:00
Robert Osfield
aa8dbea11c From Mike Weiblen, updates to Shander Language support 2005-04-04 10:08:15 +00:00
Robert Osfield
2e91a74f14 Added FluidProgram 2005-04-04 10:05:35 +00:00
Robert Osfield
6772696626 From Mike Weiblen (VisualStudio.dsw changes done by hand by Robert), fixes to VS project files 2005-04-04 09:22:59 +00:00
Robert Osfield
9c5567d3e5 Added osgparticleeffects example 2005-04-04 08:47:21 +00:00
Robert Osfield
22e446dbc9 Improved ParticleEffects 2005-04-04 07:54:52 +00:00
Robert Osfield
e4580f2028 From Farshid Laskari, addiition of FrontFace support to .ive 2005-03-26 10:04:31 +00:00
Robert Osfield
0123cdbe8f From Waltice (don't have full name at time of submission), added support for 16bit tiff files 2005-03-25 11:17:33 +00:00
Robert Osfield
60cecb8959 Added State::getActiveUnit and usage of it in the glTexCopyImage*() implementations 2005-03-25 11:07:48 +00:00
Robert Osfield
9de5dc38f1 Made the ground intersection warning just output to INFO level. 2005-03-25 11:06:44 +00:00
Robert Osfield
7883574d28 From Mike Weiblen,
"updates for GLSL core integration:
Code compiles and runs on win32.
Basic functionality of Program and Shader in place.
Program derived from StateAttribute.
Uniform value propagation is not yet functional (in development)
Includes some patches by Nathan Cournia.
includes example testcase to demo use of new classes."
2005-03-24 09:37:45 +00:00
Robert Osfield
2ab78cfe38 From Marco Jez, fixed constness of data return type 2005-03-23 21:00:28 +00:00
Robert Osfield
9e54b00205 From Randall Hopper, with small order tweak from Robert and addition to GNUmakefile.inst,
added $(GDAL_LIBS) to fix build under FreeBSD.
2005-03-23 20:48:50 +00:00
Robert Osfield
3ca1ea80b3 From Mike Weiblen: change paths to .cpp files from "examples" to "applications" 2005-03-23 20:38:40 +00:00
Robert Osfield
1c34cceb3a Fixed indenting. 2005-03-23 20:35:19 +00:00
Robert Osfield
fb4157ae75 From Mike Weiblen: "Fix for VS7.1 warning C4715: not all control paths return a value" 2005-03-23 20:34:02 +00:00
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