Robert Osfield
384830d37e
Added handling of automatic setting up of the contextID.
2005-07-25 14:28:22 +00:00
Robert Osfield
3c23a42f17
Added support for TextureCubeMap into osgUtil::RenderToTextureStage.
2005-07-25 13:05:57 +00:00
Robert Osfield
ee8f7bb756
Added post draw callback to osg::CameraNode/osgUtil::RenderToTextureStage.
...
Added support for Texture1D, 2D, 3D and TextureRectangle into osgUtil::RenderToTextureStage.
2005-07-24 20:31:21 +00:00
Robert Osfield
42e4488454
Port Impostor across to use the new osg::CameraNode.
2005-07-24 11:06:39 +00:00
Robert Osfield
d8a5c2e7ac
Updated wrappers.
2005-07-23 19:08:02 +00:00
Robert Osfield
06d3d869f3
Attached ImpostorSpriteManager to the CullVisitor.
2005-07-23 15:21:18 +00:00
Robert Osfield
69efae505b
Renabled impostor support using old style RenderToTextureStage setup.
2005-07-22 16:25:38 +00:00
Robert Osfield
47651d3c8d
Added glSissor suppor via new osg::Scissor class.
...
Added .osg support for osg::Scissor.
Added .ive support for osg::Viewport and osg::Scissor.
2005-07-22 09:31:19 +00:00
Robert Osfield
3c12f5ccce
Fixed compile error.
2005-07-21 20:45:16 +00:00
Robert Osfield
9b34bc5c86
Added GraphicsContextImplementation
2005-07-21 19:37:44 +00:00
Robert Osfield
302c58fc93
Implemented the beginings of the osgProducer::GraphicsContexImplementation.
...
Added options into osgprerender for controlling how to do the pre rendering i.e.
--fbo, --pbuffer, --fb --window, and also added the option for controlling the
window size with --width and --height.
2005-07-21 19:27:19 +00:00
Robert Osfield
7776924407
Checked in graphics context.
2005-07-21 08:43:24 +00:00
Robert Osfield
1e9fb4ab03
From Marco Jez (with tweaks by Robert Osfield) : clean up of inheritance from std::vector<> classes
2005-07-20 19:42:59 +00:00
Robert Osfield
b9e651baf1
Added new osg::GraphicsContext base class
2005-07-20 15:55:07 +00:00
Robert Osfield
9120a0ca2c
Removed osgIntrospection wrappers
2005-07-20 14:31:54 +00:00
Robert Osfield
6b873f33f5
Updated wrappers
2005-07-20 08:03:37 +00:00
Robert Osfield
6778bc3981
Added wrapper projects and updates of autogenerated wrappers.
2005-07-19 20:40:29 +00:00
Robert Osfield
7b23cf930e
Added support for multiple colour buffers into osg::CameraNode/osgUtil::CullVisitor
2005-07-19 20:01:00 +00:00
Robert Osfield
8dd013171c
Ported all the render to texture examples across to using the new osg::CameraNode.
...
Added support for texture cube maps in FBO + CameraNode.
2005-07-19 16:30:55 +00:00
Robert Osfield
5c9bd792a3
Updated wrappers
2005-07-15 21:47:11 +00:00
Robert Osfield
ac460a2dfb
Added .osg suppot for new alignment modes
2005-07-15 16:26:45 +00:00
Robert Osfield
1c88914e5f
From Yuri Vilmanis, improved multi-line justifaction support and new alignment modes
2005-07-15 16:22:53 +00:00
Robert Osfield
d35ea68f3e
Renamed Byte2,3,4 and Short2,3,4 and UByte4 to use the Vec*b, Vec*s and Vec4ub form
2005-07-15 14:41:19 +00:00
Robert Osfield
70647b8801
Fixed bug in ProxyNode write out where non existant children were written out.
2005-07-15 09:56:36 +00:00
Robert Osfield
cfac4c74bc
Added reference frame to TexGenNode
2005-07-15 08:32:36 +00:00
Robert Osfield
0e4b263ddb
Fix PagedLOD::addChild(,,) so that they allocate the correct size of range data.
2005-07-14 20:32:25 +00:00
Robert Osfield
0956674292
Added back in the call to drawPreRenderStages() as this shouldn't interfere
...
with the stereo code in SceneView as RenderStage should automatically only
allow themselves to be draw on per frame.
2005-07-14 13:21:11 +00:00
Robert Osfield
aece690d8e
Removed the set culling active flag setting
2005-07-14 10:34:46 +00:00
Robert Osfield
53347812cb
From Mike Weiblen, addiding of Program::validateProgram and osg::isNotifyEnabled() method
2005-07-14 10:27:00 +00:00
Robert Osfield
638c928e30
From Paul Martz, fix to memory leak of StateSet's
2005-07-09 09:56:49 +00:00
Robert Osfield
fafbb43bf9
From Jason Beverage, fix to setting of grey band.
2005-07-08 19:45:18 +00:00
Robert Osfield
99279fbf61
From Marco Jez, added missing method implementations to CameraNode and
...
added check to ensure FBO extension is support to RenderToTextureStage.
2005-07-08 14:46:13 +00:00
Robert Osfield
0d8e38f9ee
Tweaks for better OSX paging support, 6 and 9 keys for control drive manipulator
...
up and down looking, and removed redundent API from osg::Geometry.
2005-07-07 14:14:38 +00:00
Robert Osfield
facb0e2638
From Pavel Moloshtan, Byte2,3,4 and Short2,3,4 classes and their Array counterparts.
...
With a few build tweaks and bug fixes by Robert Osfield.
2005-07-05 15:57:53 +00:00
Robert Osfield
ba5f3ce99a
Changed notice to be an info message
2005-07-03 19:58:21 +00:00
Robert Osfield
72488d274f
Added support for equalizing the normals along tile boundaries.
2005-07-02 08:11:55 +00:00
Robert Osfield
1c8aca5a00
Added smoothing and tri strip pass.
2005-06-29 15:52:01 +00:00
Robert Osfield
cefa62097f
Added support nesting the parameter specification within a [x,y,z] block and
...
float parameters
2005-06-29 10:23:34 +00:00
Robert Osfield
b6e2653d4f
From Colin McDonald, build fix for Solaris
2005-06-29 10:21:49 +00:00
Robert Osfield
4e0a5e5069
Added missing dirtyBound().
2005-06-27 08:54:43 +00:00
Robert Osfield
042ca70866
From David Spilling, fixed the incircle test so it handles colinear points.
2005-06-24 20:19:12 +00:00
Robert Osfield
57eb631654
From Colin McDonald,
...
"On fixing the pointer access I discovered that reading osga archives
containing ive files went into a cpu loop. This turned out to be a
problem with proxy_streambuf on Solaris. Public methods in the Solaris
streambuf standard library implementation rely on the gptr() being set,
which proxy_streambuf was not doing. So I have modified
proxy_streambuf to set the input sequence pointers, and have also
aligned it more with the standard library streambuf implementation
where all input is through underflow(), not uflow() which merely calls
underflow() and advances the pointer."
From Robert Osfield, change from using pointer cast and assignment to using
a templated _write and _read method to avoid pointer aliasing to 2/4/8
byte boundaries that some computer system may produce. These changes
where inspried by Colin McDonalds change to using memcpy, these
changes weren't merged as memcpy is not as clear in naming as _read,
_write and memcpy will incurr a function call just for copy a
uint.
2005-06-24 19:50:14 +00:00
Robert Osfield
e8cc8f06c5
From Martijn Kragtwijk: "I ran into the same problems as Karl Martensson
...
(http://openscenegraph.org/archiver/osg-users/2005-June/0575.html );
after switching children of a Switch node off and on again, they become
unpickable. This issue occurs first in 0.9.9, with 0.9.8 everything is fine.
My fix involves calling dirtyBound() every time the on/off-values of the
Switch are changed"
2005-06-24 15:34:46 +00:00
Robert Osfield
bad47e0fe0
From David Guthrie, "The call NSLookupAndBindSymbol was changed to
...
NSLookupSymbolInModule. The former call would lookup the named
symbol NOT in the current dynamic library, but in the entire running
program while the call NSLookupSymbolInModule, takes the handle to
the library the symbol should be found in. This means the current
code will fail if one loads multiple bundles at runtime and attempts
to load the same named symbol from each one."
2005-06-24 15:30:11 +00:00
Robert Osfield
914b16c9e9
Moved the working createPagedLODScene() implemention into createScene()
...
method replacing the original flaky code.
2005-06-24 15:15:55 +00:00
Robert Osfield
3baa8cdad2
Disabled NPO2T on GeforceFX.
2005-06-22 11:02:37 +00:00
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
Robert Osfield
895ed7916c
Updated wrappers.
2005-05-17 11:11:58 +00:00
Robert Osfield
2e4b266c39
Added differentiation between Non power of two textures when mip mapped vs
...
when not mipped mapped to get round the issue of incomplete support under
ATI cards.
2005-05-17 11:00:13 +00:00
Robert Osfield
cc7bb579b0
From Thom DeCarlo, build fixes for Cygwin.
2005-05-17 09:06:12 +00:00
Robert Osfield
1dd553ed0e
Bumped version numbers to 0.9.9 in rediness for 0.9.9 release.
2005-05-16 17:17:53 +00:00