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
fe207a09c1
From Sherman Wilcox, "Minor change to bool setGLExtensionFuncPtr(T& t, const char* str1) and
...
setGLExtensionFuncPtr(T& t, const char* str1, const char* str2) -
functions returned false even on success."
2008-08-04 17:08:28 +00:00
Robert Osfield
02f131c7fe
From Philip Lowman, workaround of Centos 5's missing definition of GL_MAX_SAMPLES_EXT.
2008-08-04 14:01:42 +00:00
Robert Osfield
5b5e3e5f78
Updated version numbers to 2.6.0
2008-07-25 21:01:57 +00:00
Robert Osfield
65d5ef608d
Reverted back to using std::list<std::String>
2008-07-25 17:42:37 +00:00
Robert Osfield
d0890ab250
Updated wrappers, and further refined the ImageSequence API
2008-07-25 16:11:51 +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
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
Robert Osfield
5ab73e9f80
Added support for ImageSequence to all Texture classes
2008-07-22 12:28:46 +00:00
Robert Osfield
041a06b89d
Further work on osg::ImageSequence/osgDB::ImagePager
2008-07-21 21:00:57 +00:00
Robert Osfield
73bcc2613c
Upated version number for dev release
2008-07-21 20:44:37 +00:00
Robert Osfield
acd7e65687
Added basic image sequencing
2008-07-21 17:28:22 +00:00
Robert Osfield
ac61676368
Initial cut of osgimagesequence example
2008-07-21 10:57:06 +00:00
Robert Osfield
d17a255d8e
First cut of osg::ImageSequence class
2008-07-21 09:46:53 +00:00
Robert Osfield
4aed0a7eac
From Ulrich Hertlein, "attached are some minor tweaks:
...
- fixed typos in osgViewer/ViewerBase
- const-ness in include/osg/View findSlaveIndexForCamera
- supported options for STL reader, fixed return values to reflect proper errors
- supported options for DirectX reader, fixed return values
- normals pseudo-loader: scaling normals to a const (but variable) fraction of the bounding sphere radius
"
2008-07-17 13:51:14 +00:00
Robert Osfield
5f0f80cab2
Changed int's to unsigned int's to avoid warnings
2008-07-16 13:26:06 +00:00
Robert Osfield
f4cb039a3c
Updated version number to 2.5.5 in prep for dev release
2008-07-15 19:24:48 +00:00
Robert Osfield
35bc9c7dd2
From Art Trevs, Removed GLeunm version setAttachment() to avoid ambigiuity with
...
whether to enable MRT.
2008-07-15 14:24:21 +00:00
Robert Osfield
a3e28a795f
Added an OSG_EXPORT
2008-07-12 17:30:17 +00:00
Robert Osfield
de33a031d4
Updated version numbers for dev release
2008-07-11 20:01:12 +00:00
Robert Osfield
a856459a86
Moved the building and intersecting of the KdTree into the .cpp, and cleaned up
...
the header to ready it for wider usage
2008-07-11 16:48:39 +00:00
Robert Osfield
d3fd43cc6f
Streamlined KdTree implementation
2008-07-10 15:50:10 +00:00
Robert Osfield
7be3d1ae02
Reordered KdLeaf/KdNode so that the first element to be accessed is first in the data structure
2008-07-09 19:41:36 +00:00
Robert Osfield
134c86c2d5
Implement hierachy culling in KdTree::intersect(..)
2008-07-07 20:27:56 +00:00
Robert Osfield
d05236bfb4
Implemented intial KdTree triangle intersection code, but without culling implemented
2008-07-07 13:21:37 +00:00
Robert Osfield
682be50e2a
Changed types to avoid warnings under Windows
2008-07-07 09:40:30 +00:00
Robert Osfield
c4e8d6ee42
Changed the DatabasePager so that it bypasses the Registry::readNode() method and calls
...
readNodeImplementation() directly to avoid calling the KdTreeBuilder.
Updated wrappers.
2008-07-06 18:27:10 +00:00
Robert Osfield
3965fe357b
Moved KdTree build code into osg::KdTree
2008-07-06 12:14:19 +00:00
Robert Osfield
44d144997e
Added prelimnary KdTree data structure and automatic kdtree build support
...
into osgDB::Registry/osgTerrain so that newly created subgraphs can have
KdTree built on all osg::Geometry automatically on load/creation.
2008-07-04 15:57:48 +00:00
Robert Osfield
bc1032653c
Moved vertex indicies method into a single block with deprecated doc lines
2008-07-04 11:51:55 +00:00
Robert Osfield
1057d74a11
Simplified the MixinVector class so that it no longer supports custom allocators,
...
instead just uses std::vector<>'s default allocators.
2008-06-27 12:44:41 +00:00
Robert Osfield
34f58482e6
Moved the apply(&) default implementations from the header into the NodeVisitor.cpp,
...
and changed the casts to use static_cast<>.
2008-06-27 12:35:56 +00:00
Robert Osfield
260d0d384f
From Mathias Froehlich, build fixes for various unices
2008-06-26 12:08:37 +00:00
Robert Osfield
5a4ce5a387
From Mathias Froechlich, "Attached is a change to that atomic stuff to move the win32, msvc
...
implementation of the atomic increment and decrement into a implementation
file.
This way inlining and compiler optimization can no longer happen for these
implementations, but it fixes compilation on win32 msvc targets. I expect
that this is still faster than with with mutexes.
Also the i386 gcc target gets atomic operations with this patch. By using an
implementation file we can guarantee that we have the right compiler flags
available."
2008-06-26 10:27:16 +00:00
Robert Osfield
af271f99ec
Added support for X11's overrideRedirect functionality
2008-06-21 17:50:58 +00:00
Robert Osfield
a71939c5bb
From Mathias Froehlich, moved optional config variables into include/osg/Config file that
...
is automatically created by cmake according to its own settings.
2008-06-20 15:50:53 +00:00
Robert Osfield
bc6e5b5da2
Updated version numbers for dev releases
2008-06-20 11:11:47 +00:00
Robert Osfield
2011028ee7
From Neil Groves,
...
"I have taken the liberty of updating a few files so that there is no longer any derivation from std::vector. I have done this by adding a new file osg/MixinVector and by updating only two others: osg/PrimitiveSet and osg/Array. You will notice that this actually removes what is acknowledged as a \u2018hack\u2019 in osg/PrimitiveSet.
With the original code I did manage to find memory leaks with some compiler options on VC 8 and 9, as well as Intel compiler. I determined the leak existence by instrumenting the destructor code, and by use of a garbage collector as a leak detector (in a similar manner to the Firefox project). Hence in contrast to what I said originally, it is exhibiting symptoms on at least some platforms.
Since I am trying to be a good OSG citizen I got out my editor and started hacking! I have built and tested on Linux (Ubuntu) with GCC 4.x and Windows VC 8 SP1. It appears that nothing is broken, and that I\u2019m using less memory J"
2008-06-19 20:38:38 +00:00
Robert Osfield
936edacc92
From Mathias Froehlich, added support for using OpenThreads::Atomic for thread safe ref/unref.
2008-06-19 17:30:38 +00:00
Robert Osfield
061be3d084
In Program::PerContextProgram changed const Uniform* to osg::ref_ptr<const Uniform*> to avoid the possibility of a uniform being deleted
...
and another being created and assigned at the same address which previously confused the uniform tracking code and introduced a bug.
2008-06-19 11:58:34 +00:00
Robert Osfield
174f9bbfe0
From Michael Platings and Robert Osfield, added support for controlling,
...
via StateSet::setNestedRenderBin(bool) whether the new RenderBin should be nested
with the existing RenderBin, or be nested with the enclosing RenderStage.
2008-06-19 11:09:20 +00:00
Robert Osfield
f06d50a7eb
From Michael Platings, implemented check against max number of supported samples to ensure that the number of samples is safely capped to what the hardware is capable of, avoiding GL errors and graceful fallback
2008-06-18 20:24:12 +00:00
Robert Osfield
90ea0bd95f
From Michael Platings and Paul Palumbo, multi-sample FBO support
2008-06-18 14:09:11 +00:00
Robert Osfield
7cfe00d3d9
Added overriding of CullSettings::inheritCullSettings() into osg::Camera to
...
properly inherit the clear colour.
2008-06-16 20:22:16 +00:00
Robert Osfield
3585375d59
Updated versions for 2.5.2 dev release
2008-06-06 17:45:33 +00:00
Robert Osfield
abfb5bbb8d
Added accep(Shape&)
2008-06-05 13:46:19 +00:00
Robert Osfield
65772e451c
Added applyMaskAction(CLEAR_COLOR) to Camera::setClearColor() to enable proper inheritance
2008-05-30 20:15:31 +00:00