Paul MARTZ
7e7208c8d3
Merge rev 8804 (Change AutoTransform interface to use doubles; osgTerrain wrapper modification for Layer.cpp) onto 2.6.1 branch.
2008-09-23 16:04:48 +00:00
Paul MARTZ
a5c89f469b
Finish the job of bumping the version number to 2.6.1. Cange SOVERSION to 48, and change both the SOVERSION and OSG version numbers in the CMakeLists.txt.
2008-09-18 22:06:30 +00:00
Paul MARTZ
02d3c097e4
Merged revisions 8795 and 8796 from trunk. This is the workaround for occlusion query on NVIDIA plus the cmake interface to enable it. Also bumped the rev to 2.6.1 in anticipation of upcoming branch release.
2008-09-16 17:16:01 +00:00
Robert Osfield
438e8506fc
merged from svn trunk using :
...
svn merge -r 8852:8853 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk .
From Robert Osfield, "Introduced Geometry::containsSharedArrays() and Geometry::duplicateSharedArrays() to
support a fix to the osgUtil::Simplifier that couldn't handle shared arrays"
2008-09-14 10:35:07 +00:00
Robert Osfield
5d8ec3027e
Updated SO version number to reflect typo fixes changing the API
2008-08-05 10:23:31 +00:00
Paul MELIS
af9ccc5596
- Fixes for two spelling mistakes
2008-08-05 09:58:31 +00:00
Robert Osfield
faef4cea61
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."
Note, merged from svn/trunk using:
svn merge -r 8725:8726 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk .
2008-08-04 17:10:20 +00:00
Robert Osfield
a0e4779d76
merged Philip Pulman's Centos 5 compile fix from trunk using : svn merge -r 8717:8718 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk .
2008-08-04 14:04:14 +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