Robert Osfield
4f2474ece8
Fixed handling of warp pointer for when its called at startup and the
...
event queue isn't yet initialized the window range.
2007-02-15 12:11:16 +00:00
Robert Osfield
b717790dcb
Removed inappropriate Stats:: prefix
2007-02-15 10:25:11 +00:00
Robert Osfield
36b8ccacdd
Fixed warnings
2007-02-15 09:31:00 +00:00
Robert Osfield
f60330df31
Added extra spaces between <> template declarations
2007-02-15 09:17:03 +00:00
Robert Osfield
b0ab6b49bf
Updated wrappers
2007-02-15 08:29:27 +00:00
Robert Osfield
acf10c827e
Removed setFrameStamp
2007-02-15 08:29:09 +00:00
Robert Osfield
91ab187ee1
Added checks into Viewer set up of Camera stats so that stats are reused if already present.
...
Added use of ref_ptr<osg::Stats> into StatsHandler's callbacks
2007-02-15 01:45:44 +00:00
Robert Osfield
6edca062b8
Improved the update of the shadow volume.
2007-02-15 01:23:00 +00:00
Robert Osfield
b7b8e7ed98
Removed extrandous Stats:: prefix
2007-02-15 00:53:52 +00:00
Robert Osfield
1eea407ee0
Added support for osg::State::DynamicObjectCount into the RTT codes
2007-02-14 20:44:17 +00:00
Robert Osfield
87ff8e2b55
Added support for sharing context to GraphicsWindowX11
2007-02-14 20:14:45 +00:00
Robert Osfield
f82c34ff11
Added getState()->setGraphicsContext(this); to the various GrpahicsWindow implementations
2007-02-14 17:28:33 +00:00
Robert Osfield
e1fc31f256
Renenabled the toggling on the CullPerCameraDrawPerContext threading model in the thread event handler.
2007-02-14 16:29:07 +00:00
Robert Osfield
810e7291fc
Added use of Mutex into osg::Stats to better handle multi-threaded usage
2007-02-14 16:24:49 +00:00
Robert Osfield
02ff109746
Changed the initialized osg Drager:::PointerInfo::hitIter to prevent compile problems under Windows
2007-02-14 16:16:38 +00:00
Robert Osfield
d068ffb63a
From Michael Platings, "I was getting a 0 byte memory leak reported when loading 3ds files, so
...
I've changed line 196 from:
viewport->layout.viewL=(Lib3dsView*)calloc(sizeof(Lib3dsView),views);
to:
viewport->layout.viewL= views ?
(Lib3dsView*)calloc(sizeof(Lib3dsView),views) : 0;"
2007-02-14 15:25:04 +00:00
Robert Osfield
d81d579f07
Changed the report of lack of WGL_SWAP_METHOD_ARB so that it is INFO rather than WARN.
2007-02-14 14:58:46 +00:00
Robert Osfield
bfa30a644e
From Stephan Huber, "attached you'll find an update for the XCode-project.
...
I added the osgShadow as a framework and osgManipulator as a framework,
(and the corresponding examples) I removed (hopefully) all references to
osg-/Producer where necessary, and some minor stuff."
2007-02-14 14:53:31 +00:00
Robert Osfield
ff126c3d1d
Added OSG_RUN_FRAME_COUNT env var which enables a limited run of specified
...
frame numbers when Viewer::run is called.
2007-02-14 14:36:38 +00:00
Robert Osfield
07411f3246
Introduced new osg::Object::DataVariance type of UNSPECIFIED, and changed the deafult
...
values of DataVariance to UNSPECIFIED to all types.
2007-02-14 13:18:58 +00:00
Robert Osfield
953899d0e2
Set the DataVariance of updating text to DYNAMIC
2007-02-14 12:42:10 +00:00
Robert Osfield
c71341d0b9
From Jean-Sebastien Guay, fixed path.
2007-02-14 12:40:45 +00:00
Robert Osfield
115cf528a1
Removed debugging run method.
2007-02-14 12:00:33 +00:00
Robert Osfield
89c99a88fa
Added computeDataVariance method into osg::Object and implementations in Drawable and StateSet,
...
and calling of osgUtil::StaticObjectDetectionVisitor in osgViewer::Viewer
2007-02-14 11:24:42 +00:00
Robert Osfield
5dcb7af6a4
From Mike Wittman, added spaces into < > macros
2007-02-14 11:21:41 +00:00
Robert Osfield
1ac770aebc
Fixed warning
2007-02-13 22:39:59 +00:00
Robert Osfield
da20b59aad
Fixed warnings
2007-02-13 22:24:51 +00:00
Robert Osfield
e8d6cec990
Fixed warning
2007-02-13 22:22:35 +00:00
Robert Osfield
f85eda9c6a
Fixed warnings.
2007-02-13 22:16:18 +00:00
Robert Osfield
8b104a2136
Added -losgText to example that used osgViewer but didn't previously include -losgText
2007-02-13 20:32:45 +00:00
Robert Osfield
1138c312b7
Changed the DeleteHandler so by default it doesn't cache objects
2007-02-13 17:39:42 +00:00
Robert Osfield
fe67a91e83
Added OSG_THREADING environmental variable to osgViewer::Viewer::suggestBestThreadingModel
2007-02-13 16:03:35 +00:00
Robert Osfield
f29ad5d0f2
Reduced the RTT texture size to 256x256 to make setup quicker
2007-02-13 15:57:01 +00:00
Robert Osfield
62e61e15ef
From John Shue, "Modified OpenSceneGraph/Make/makedefs to add -pipe gcc command line
...
option to FreeBSD build."
2007-02-13 15:24:56 +00:00
Robert Osfield
9c434274be
Added support for ColorMask to .ive plugin
2007-02-13 14:42:00 +00:00
Robert Osfield
927dfc0a52
From Brede Johansen,
...
"Geometry.cpp
Make sure number of normals match number of vertices when lit or
vertex-normal pairs are separated when geometries are merged by the
optimizer.
Ancillary.cpp
Improved support for multitexture effect field and use texture
environment from .attr file.
PaletteRecords.cpp
Use search path when looking for shader files.
PrimaryRecords.cpp
Added preset uniforms "TextureUnit0", "TextureUnit1", "TextureUnit2"
and "TextureUnit3" for GLSL shaders."
2007-02-13 14:19:39 +00:00
Robert Osfield
cd07fb61eb
From Eric Wing, "Here are some updates for osgsimpleviewerCocoa.
...
New features and enhancements:
- Shared OpenGL contexts
- Multithreaded OpenGL Engine support
- Localizable string support
- Offscreen rendering (to framebuffer object) for:
- Copy/Paste (to image) support
- Drag-and-drop (as source image) support
- Print to Printer/PDF
- Dock minimization picture
- More robust initializer handling
- Fix to better handle hardware surfaces in NSScrollViews/NSSplitViews
- Use of respondsToSelector and instancesRespondToSelector to
demonstrate runtime feature checking to provide access to newer
features while still compiling on and supporting legacy versions
The new file "Localizable.strings" needs to be placed inside the
English.lproj directory."
2007-02-13 13:58:45 +00:00
Robert Osfield
b695160483
Added support for osg::Stencil into .ive
2007-02-13 13:47:37 +00:00
Robert Osfield
e4ffa968a2
From Ulrich Hertlein, added support for osg::BlendColor to .ive format.
2007-02-13 12:17:33 +00:00
Robert Osfield
5fddbfe85c
Added support for osg::BlendColor to .osg plugin
2007-02-13 12:11:32 +00:00
Robert Osfield
cc3d3c6d4c
Added setDataVariance(DYNAMIC) to the scores text entires to prevent the
...
DrawThreadPerContext for crashing due to double buffering of dynamic data.
2007-02-13 11:32:28 +00:00
Robert Osfield
66274a632a
Changed the BlendFunction StateSet to DYNAMIC
2007-02-13 09:38:07 +00:00
Robert Osfield
264d69e0c9
From Mike Wittman, support for reference parameters
2007-02-13 09:33:35 +00:00
Robert Osfield
3fbd958716
Added setDataVariance(DYNAMIC) to _inputText to prevent problems when running in DrawThreadPerContext threading model.
2007-02-13 09:27:44 +00:00
Robert Osfield
3a48c95fc5
Updated wrappers
2007-02-12 18:02:15 +00:00
Robert Osfield
d28a6011f1
From Mike Wittman, "Here is the next in the series of changes I'm making to OSG introspection to support the attributes needed for C# bindings. This change adds virtual/pure virtual attributes to MethodInfo and an explicit attribute to ConstructorInfo using the implementation strategy that David Callu recommended a few months back (thanks David!). This change updates both genwrapper and osgIntrospection, and assumes the osgIntrospection reference support that's still pending in your submission queue."
2007-02-12 17:59:18 +00:00
Robert Osfield
a725e0af7d
From Mike Wittman, "These changes add support for reflection of reference and const reference type representations via osgIntrospection::Type. This covers just the static type information; the dynamic behavior via Type::createInstance/Type::InvokeMethod should not be affected."
2007-02-12 17:14:46 +00:00
Robert Osfield
4ed84daf2f
Updated wrappers
2007-02-12 15:59:53 +00:00
Robert Osfield
d5f2a35a20
Added automatic scaling and translation of help to make sure it always
...
fits on screen
2007-02-12 13:51:24 +00:00
Robert Osfield
fe177e42d5
Added osgViewer::HelpHandler
2007-02-12 13:39:18 +00:00