Commit Graph

2901 Commits

Author SHA1 Message Date
Robert Osfield
7453711267 From Mike Weiblen,
" - adjustments to improve namespacing on VS
  - clarify compilation status message"
2005-06-20 10:36:06 +00:00
Robert Osfield
c5cad6982e Further FBO support work. 2005-06-16 14:01:38 +00:00
Robert Osfield
1641cd7b54 From Pavel Moloshtan, added support of Drawable::Extensions::glDeleteQueries() 2005-06-16 13:53:52 +00:00
Robert Osfield
3a0b742461 Added copyright notices. 2005-06-16 11:45:50 +00:00
Robert Osfield
d702fed0ef Moved FBO support from osgfbo example into core osg. 2005-06-16 11:42:59 +00:00
Robert Osfield
77a4cef9d6 Futher work on FBO support 2005-06-15 20:06:10 +00:00
Robert Osfield
bc76fbf60d Added automatic creation of texture when size is set but not osg::Image is assigned.
This is useful for FBO usage.
2005-06-15 20:05:47 +00:00
Robert Osfield
92087ee5ac From David Guthrie, " In the constructor
in removes any options beginning with "-psn" from argv on OSX by
calling the "remove" method.  When a .app run is created in OSX,
which is required to get a fully functioning UI application, the OSX
finder passes a -psn_XXXX option to the application where the XXXX
refers to a unique process number.  An example option would be "-
psn_0_37617665".  The argument parser was choking on this option in
all the osg example applications."
2005-06-15 11:49:25 +00:00
Robert Osfield
dfaed083ea Added osgmultiplecameras example and support for pre/post multiplaction. 2005-06-15 10:59:10 +00:00
Robert Osfield
71122ff38f Work on the RenderToTexture usage of the new osg::CameraNode. Both osghud
and osgprerender now ported across to osg::CameraNode.
2005-06-14 20:51:35 +00:00
Robert Osfield
868d381528 Added osg::CameraNode. 2005-06-14 13:16:58 +00:00
Robert Osfield
4fb9039d0c Fixed position of glBindBuffer. 2005-06-14 08:48:48 +00:00
Robert Osfield
486f5c1a30 Fixed with the reprojection so that it doesn't promote all source data to
RGBA, but only does this for RGB data.
2005-06-13 20:03:26 +00:00
Robert Osfield
80a99a2559 From Ken Sewell, fixed for x86_64 build. 2005-06-13 11:14:42 +00:00
Robert Osfield
38528c4952 Updated wrappers. 2005-06-08 13:20:09 +00:00
Robert Osfield
27c4c6a956 Moved the set/getName() support from osg::Node etc into the osg::Obejct
base class
2005-06-08 13:16:19 +00:00
Robert Osfield
e0cf176590 From Mike Weiblen, added GLSL datatypes mat2 and mat3 to osg::Uniform, with .osg and .ive support 2005-06-08 10:36:56 +00:00
Robert Osfield
f87d09b64d From Mike Weiblen, "modified .rot pseudoloader plugin so rotation order actually matches the embedded documentation" 2005-06-08 08:33:59 +00:00
Robert Osfield
6fc00a2613 From Mathia Walker: bug fix to LOD ranges in TXP plugin to avoid cracks:
"I took a closer look at the conditional code in
SeamFinder::seamReplacement().

Because _info.minRange is a double and lod->getMinRange(0) is a float,
the difference will be calculated with double precision. If
_info.minRange is cast as a float it is exactly the same value as
lod->getMinRange(0) and the difference is exactly zero.

So if you change


 if((fabs(_info.minRange-lod->getMinRange(0))<0.001)&&(fabs(_info.lod0Range-lod->getMaxRange(0))<0.001))

to


 if((fabs((float)_info.minRange-lod->getMinRange(0))<0.001)&&(fabs((float)_info.lod0Range-lod->getMaxRange(0))<0.001))

it works a lot better."
2005-06-06 10:18:33 +00:00
Robert Osfield
a799cdca2f From Tim Daust, "I fixed the getScale functions in matrixf and
matrixd.  It was returning the values of the diagonal
of the matrix, which only returns the scale if there
is not a rotation.  I fixed this by returning the
length of the  vectors that form the basis.
  I also added a function to orthonormalize the
rotation component of the matrix. I seem to always run
into situations where non uniform (or even uniform)
scale complicate my calculations, and I thought other
members of the community could use this function as
well."
2005-05-31 06:21:16 +00:00
Robert Osfield
fee1e75fe0 Changed char* to const char* 2005-05-31 05:47:40 +00:00
Robert Osfield
4d960e9ecd From Tom Jolly, fixes to the mapping of the billboard rotate mode. 2005-05-31 05:46:41 +00:00
Robert Osfield
44b8b0177c Added ability to toggle on/off the pre compile of OpenGL objects in the
DatabasePager via the setDoPreCompile(bool) method or via the env var
OSG_DO_PRE_COMPILE=ON or OFF.
2005-05-31 05:37:13 +00:00
Robert Osfield
ac5ffa2bec Added support for reading:
OSG_MINIMUM_COMPILE_TIME_PER_FRAME <float>

and

   OSG_MAXIMUM_OBJECTS_TO_COMPILE_PER_FRAME <int>

environmental variable during the initialization of the DatabasePager
to allow apps to be tweaked for best database pager behavior.
2005-05-30 16:15:11 +00:00
Robert Osfield
55ba67ab76 From James French, fix for multiple definitionwhen compiling osg + plugins into monolithic dll. 2005-05-26 13:56:23 +00:00
Robert Osfield
6385630407 From Blake Williams, fix for VS8.0 build 2005-05-25 17:19:47 +00:00
Robert Osfield
24849f3c70 Renamed ExplosionDebriEffect to ExplosionDebrisEffect 2005-05-25 16:42:36 +00:00
Robert Osfield
2b08f729f3 Updated change log.
From Fredric Marmond, changed unsigned int to unsigned long to avoid compile errors under 64 bit compile.
2005-05-25 15:35:51 +00:00
Robert Osfield
40ef0026df Updated doxgen docs. 2005-05-25 11:45:02 +00:00
Robert Osfield
59be8c19f3 Changd unsigned int's to unsigned char* to fix gcc3.4 64 bit issues. 2005-05-25 09:50:11 +00:00
Robert Osfield
e229a8cb67 Updates to clean up wrapper generation, and to update wrappers 2005-05-24 15:34:23 +00:00
Robert Osfield
fcd2f504e6 Added check for an empty compile lists. 2005-05-24 10:46:21 +00:00
Robert Osfield
3ba6ce887b Added re-entrent mutex to serialize access to OpenFlight plugin to prevent
any multi-threaded issues.
2005-05-24 10:37:18 +00:00
Robert Osfield
00c3c5dc61 Tweaked wrappers by hand to get them to compile 2005-05-20 22:15:57 +00:00
Robert Osfield
f609185e03 Updated wrappers. 2005-05-20 21:12:57 +00:00
Robert Osfield
b23d3965df Removed long unused and out of date DX writer plugin from distribution, will now
be placed on the wiki just in case its needed.
2005-05-20 11:33:22 +00:00
Robert Osfield
f6298daae4 Added env var report. 2005-05-20 06:39:41 +00:00
Robert Osfield
276dfbd0ad Added support for setting the default render bin sort mode via the
env OSG_DEFAULT_BIN_SORT_MODE variable or via or RenderBin::setDefaultRenderBinSortMode()
method.
2005-05-19 15:17:53 +00:00
Robert Osfield
b71472e592 From Alberto Farre, added support for caching of ProxyNode children. 2005-05-19 09:22:45 +00:00
Don BURNS
702944b67a Fixed fullscreen toggle in ViewerEventHandler that assumed the first
RenderSurface was a window (not a pbuffer).
2005-05-18 21:45:30 +00:00
Robert Osfield
9e91e1e01b Updated wrappers. 2005-05-18 21:17:31 +00:00
Robert Osfield
955cc1ec2a Added s/getClearMask() support to osg::ClearNode, osgUtil::SceneView and the
.osg plugin.
2005-05-18 19:55:14 +00:00
Robert Osfield
a83f7a245d From Joakim Simonsson, DOFTransform multiplication order support added to .ive format.
With tweak from Robert Osfield to wrap new read and write with a new version number
     to allow old files contain DOFTransforms to continue to work.
2005-05-18 19:04:35 +00:00
Robert Osfield
2ad67b1727 From Joakim Simonsson:
"DOFAnimation's default state could now be controlled by the RW option.

    The option string is "dofAnimation"

    If the option string is omitted the default animation state is off."
2005-05-18 18:43:03 +00:00
Robert Osfield
51458ceea7 Fixed copy and paste mistakes in setEventCallback methods 2005-05-18 18:31:03 +00:00
Robert Osfield
4645217733 Added RADEON as render type for disabling mipmapped NPO2T 2005-05-17 20:12:13 +00:00
Robert Osfield
5947b97cde Improved the handling of data attached to proxy nodes 2005-05-17 14:25:11 +00:00
Robert Osfield
83d3f7639f Changed the default behavior to not writing out proxynode children. 2005-05-17 13:50:07 +00:00
Robert Osfield
f9bc0454f8 Improved the handling of writing out of proxy node files. 2005-05-17 13:47:13 +00:00
Robert Osfield
9c27121f77 From Daniel Sjölie, for the purpose of maintainability, made the load proxy nodes code the standard, remove the older
code that remained as part of #else #endif blocks, and remove the erroneous
implementation of caching of proxynodes.
2005-05-17 13:34:04 +00:00