Robert Osfield
a2974de978
Moved the istream and ostream support from Vec* and Matrix* into a seperate io_utils file.
2005-04-08 09:01:23 +00:00
Robert Osfield
84e8338be1
From Mike Weiblen, "adds sourcefiles for beginnings of .osg fileformat i/o support
...
> - enhancemens to core GLSL classes to support file i/o"
2005-04-07 20:23:58 +00:00
Robert Osfield
923048fdb6
Warning fixes by Mike Weiblen + Robert Osfield
2005-04-07 20:08:54 +00:00
Robert Osfield
7a27a0bef7
From Marco Jez, improvements to osgIntrospection, and new automatically generated
...
osgWrappers/osg set.
2005-04-07 20:00:17 +00:00
Robert Osfield
9dd9464638
Fix to compute coordinate frame callback so that it can handle scaled
...
coordinate frames, rescaling as required.
2005-04-07 16:09:34 +00:00
Robert Osfield
d160b4977b
Fixed the MatrixTransform(Matrix&) constructor so that it correct sets _inverseDirty = true;
2005-04-07 15:27:53 +00:00
Robert Osfield
83e21611f6
Fixed sort of sources so that the layer number is taken into account.
2005-04-07 10:55:17 +00:00
Robert Osfield
88d65263ec
Fixed layer and levels handling in reprojection of source imagery.
2005-04-07 10:19:47 +00:00
Don BURNS
af3ac699aa
Rolled in Olaf's changes for HP-UX build
2005-04-05 19:08:48 +00:00
Robert Osfield
9e5d905b05
Renamed _A and _B to make them more meanigful
2005-04-04 20:25:57 +00:00
Don BURNS
ed0f780321
Removed annoying "Can't find the ground" message
2005-04-04 18:07:27 +00:00
Robert Osfield
56787b4195
Fixed output of MultiTextureControl.
2005-04-04 16:06:28 +00:00
Robert Osfield
5f75f765f0
From Marco Jez, updates to osgIntrospection.
2005-04-04 13:50:07 +00:00
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
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
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
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
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
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
Robert Osfield
7951be9573
Added support for handling transparent geometries and textures.
2005-03-18 11:21:01 +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
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
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
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
4beb385d2d
Changed tabs to four spaces
2005-03-14 09:28: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
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
Don BURNS
21c1d64b1c
Added methods getCameraManipulatorNameList() and selectCameraManipulatorByName().
2005-03-11 17:48:01 +00:00