Robert Osfield
3de3b2dccc
From Maceij Krol, "I have implement frame based expiration of PagedLOD children.
...
New attribute DatabasePager::_expiryFrames sets number of frames a PagedLOD child is kept in memory. The attribute is set with DatabasePager::setExpiryFrames method or OSG_EXPIRY_FRAMES environmental variable.
New attribute PagedLOD::PerRangeData::_
frameNumber contains frame number of last cull traversal.
Children of PagedLOD are expired when time _AND_ number of frames since last cull traversal exceed OSG_EXPIRY_DELAY _AND_ OSG_EXPIRY_FRAMES respectively. By default OSG_EXPIRY_FRAMES = 1 which means that nodes from last cull/rendering
traversal will not be expired even if last cull time exceeds OSG_EXPIRY_DELAY. Setting OSG_EXPIRY_FRAMES = 0 revokes previous behaviour of PagedLOD.
Setting OSG_EXPIRY_FRAMES > 0 fixes problems of children reloading in lazy rendering applications. Required behaviour is achieved by manipulating OSG_EXPIRY_DELAY and OSG_EXPIRY_FRAMES together.
Two interface changes are made:
DatabasePager::updateSceneGraph(double currentFrameTime) is replaced by DatabasePager::updateSceneGraph(const osg::FrameStamp &frameStamp). The previous method is in #if 0 clause in the header file. Robert, decide if You want to include it.
PagedLOD::removeExpiredChildren(double expiryTime, NodeList &removedChildren) is deprecated (warning is printed), when subclassing use PagedLOD::removeExpiredChildren(double expiryTime, int expiryFrame, NodeList &removedChildren) instead. "
2008-08-17 16:52:35 +00:00
Robert Osfield
0c234e7997
From Jason Beverage, "I've got a few machines that OSG incorrectly believes support FRAME_BUFFER_OBJECTS so I am manually trying to set the renderTargetImplementation to PIXEL_BUFFER or PIXEL_BUFFER_RTT. I noticed that this call wasn't setting the camera's overlay data properly because the setRenderTargetImplementation simply calls init() which only does anything for OBJECT_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY. Any subsequent calls to getOverlayData will simply return the cached OverlayData instead of setting it up.
...
My fix updates the camera's render target implementation for all OverlayData objects in the OverlayDataMap."
2008-08-17 16:45:09 +00:00
Robert Osfield
f0c2b89fc5
From Paul Palumbo, "Fixes a typo in coverage antialiasing code... Without this fix, get incorrect antialiasing results. "
2008-08-15 17:35:04 +00:00
Robert Osfield
dceb3cbe88
From Jutta Sauer, "We added a raise window method to GraphicsWindow. And added two
...
implementations for Win32 and X11.
"
2008-08-15 17:32:26 +00:00
Robert Osfield
0448b31f93
From Frashid Larshkari, "I modified the vertical/horizontal interlace stereo modes so that they
...
use the osg::State::applyMode for enabling/disabling certain while
rendering the stencil mask. Previously some of these calls were
overriding the scene graph states because the global state was not
aware of this change.
"
2008-08-15 17:25:42 +00:00
Robert Osfield
5400e570c7
Added support for geometry shader attributes
2008-08-15 17:18:10 +00:00
Robert Osfield
7cd4641ece
From Stephane Lamoliatte, "I added the osg::Program parameters support for the osg plug'in.
...
Now we could correctly configure geometry shaders in osg files."
Notes from Robert Osfield, renamed the names of the parameters to be less GL centric and more human readable.
2008-08-15 16:43:56 +00:00
Robert Osfield
38f6cddc2c
Changed osg::ImageSequence::set/getDuration to set/getLength() to be in keeping with the
...
osg::ImageStream's getLength().
2008-08-15 16:21:44 +00:00
Robert Osfield
c6c5cdaf89
Updated wrappers
2008-08-15 13:06:18 +00:00
Robert Osfield
927942a0f8
Further work on osg::ImageSequence, improving pause functionality, and introducing new seek(double time) method
2008-08-15 12:45:20 +00:00
Robert Osfield
49e7358bf6
Added initial looping and pause play support
2008-08-14 16:29:12 +00:00
Robert Osfield
bcbd50af39
Implemented a reference eye point and associated methods in support of intersecting billboards
2008-08-14 14:22:39 +00:00
Robert Osfield
f17b307305
Added NullStream class that automatically creates and delete the NullStreamBuffer, thus fixing a memory leak
2008-08-05 15:11:47 +00:00
Robert Osfield
7a7ee85f69
From Eric Sokolowski, "Fixed the build of the osgViewer library to get GL/glx.h from the right place, when building on OSX with X11"
2008-08-05 15:06:22 +00:00
Robert Osfield
7f8183f64c
Merged changes to OpenSceneGraph-2.6 into trunk using :
...
svn merge -r 8729:8734 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.6 .
2008-08-05 11:17:48 +00:00
Robert Osfield
384d2921fd
Moved initial drawable setup to within the mutex locked section to avoid multi-threaded crash on startup.
2008-08-04 12:47:14 +00:00
Robert Osfield
6595562442
Removed debug info
2008-08-04 12:27:22 +00:00
Robert Osfield
c8001915f6
From Ulrich Hertlien, "attached is a patch to src/osgPlugins/quicktime/QTImportExport.cpp that fixes loading images using the quicktime loader. Also fixes some minor bugs like uninitialized variables and incorrect deletes.
...
I'm a bit puzzled why this didn't pop up for more people as it's quite severe: basically the filename was never set!""
2008-08-04 09:05:29 +00:00
Robert Osfield
fcc8426226
Added a small epsilon expansion of the bounding box being clipped/intersected against, to avoid numberic errors causing problems.
2008-08-04 08:45:08 +00:00
Robert Osfield
268b79d03f
Improved the terrain intersection code so that it produces more stable terrain movements.
2008-08-03 20:35:45 +00:00
Robert Osfield
f81ff952a2
merged 2.6 branch changes back into trunk using : svn merge -r 8699:8706 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.6 .
2008-08-03 16:57:09 +00:00
Robert Osfield
ced418ccb5
Moved bb expansion out of loop.
2008-08-03 16:48:12 +00:00
Robert Osfield
bdd558af3b
Updated wrappers
2008-07-25 20:50:59 +00:00
Robert Osfield
5cac386fa6
Renamed enums in osgWidget from ALLCAPITALS to normal OSG conventional of AllCapital
2008-07-25 20:50:42 +00:00
Robert Osfield
eed365aef4
Added PluginQuery function to wrappers
2008-07-25 20:49:17 +00:00
Robert Osfield
f4d74b66cf
Added OSGPL Copyright notices
2008-07-25 20:04:41 +00:00
Robert Osfield
e525dd21bf
Improved handling of PAGE_AND_RETAIN_IMAGES
2008-07-25 18:44:13 +00:00
Robert Osfield
65d5ef608d
Reverted back to using std::list<std::String>
2008-07-25 17:42:37 +00:00
Robert Osfield
d137394169
Added Mode support
2008-07-25 16:23:00 +00:00
Robert Osfield
d0890ab250
Updated wrappers, and further refined the ImageSequence API
2008-07-25 16:11:51 +00:00
Robert Osfield
d8d2bc4193
From Ulrich Hertlein, "as I hinted at on osg-users in the "obj loader: map_* only reads last component" thread, this submission broke material/texture loading for some files I have that specify texture matrix scaling.
...
The following link shows a very comprehensive list of .mtl file options:
http://local.wasp.uwa.edu.au/~pbourke/dataformats/mtl/
Attached is a patch that should fix spacey filenames and optional texture scale/offset. I have tested it with files I have that I modified to contain spaces in the texture filenames."
2008-07-25 15:45:40 +00:00
Robert Osfield
ec4d189b64
Added ImageSequence to .ive plugin, added support for multiple ImageThreads in osgDB::ImagePager
2008-07-25 13:45:07 +00:00
Robert Osfield
0d1656055c
Moved PluginQuery from osgconv into osgDB
2008-07-25 10:18:36 +00:00
Robert Osfield
5cdb5c055c
Added extension docs
2008-07-25 10:18:14 +00:00
Robert Osfield
7c6aba874b
Added option docs
2008-07-25 09:46:05 +00:00
Robert Osfield
79fbab4a95
From Paul Martz, "Not sure about the descriptions, so I left those blank. But at least "osgconv --formats" will display the .ive options now."
2008-07-24 13:25:49 +00:00
Robert Osfield
c8d3e81e08
Updated wrappers
2008-07-24 12:48:25 +00:00
Robert Osfield
6915bce1a2
Added a getCurrentRenderStage() and getCurrentCamera() convninience methods, and
...
converted the CullVisitor::apply(OcclusionQueryNode&) implementation to use the
new getCurrentCamera method.
2008-07-24 12:18:49 +00:00
Robert Osfield
7dabdf5d7e
Added supportOptions() entry docs
2008-07-24 12:01:45 +00:00
Robert Osfield
ea309e2677
From Bob Kuehne, "fix for filenames that have spaces within their name."
...
Note form Robert, changed std::cout to osg::notify(osg::INFO)
2008-07-24 11:22:43 +00:00
Robert Osfield
4fe8907748
Updated wrappers
2008-07-23 22:19:37 +00:00
Robert Osfield
ec9218ad1f
Refactored OverlayData so that its possible to subclass OverlayNode/OverlayData.
2008-07-23 22:19:29 +00:00
Robert Osfield
820586a3d0
Added wrappers
2008-07-23 21:52:03 +00:00
Robert Osfield
dc05f2ef95
Moved helper classes into Protected section
2008-07-23 21:49:07 +00:00
Robert Osfield
86ca0860cc
From Paul Martz, typo fixes
2008-07-23 21:25:09 +00:00
Robert Osfield
bfcc7473b8
Applied filename fix suggested by Andrew Bettison.
2008-07-23 19:06:14 +00:00
Robert Osfield
daa3d2381a
Implemented ImagePager internals
2008-07-23 19:04:46 +00:00
Robert Osfield
6488ff23a5
Fixed unitialized variable
2008-07-23 15:42:02 +00:00
Robert Osfield
cc2af85c96
Further work on ImageSequence
2008-07-22 20:20:16 +00:00
Robert Osfield
c9dc578186
Added support for pruning old images, recording the Duration in the .osg file, and -o filename output support in osgimagesequence.
2008-07-22 16:44:49 +00:00