I have just tagged the 3.2.1 stable release which bug and build fix release, and is binary compatible with 3.2.0 so you should be able to just drop in against your existing application and it'll just work.
I have updated the website with the above links. Hopefully everything should be correct, but if it isn't let me know.
Many thanks to all that have done testing and have provided bug and build fixes.
Robert Osfield.
Project Lead.
2014-06-30 08:56 robert
* CMakeLists.txt, include/osg/Version: Updated version number
2014-06-30 08:46 robert
* include/osg/Image: From Pjotr Svetachov, "Here is a small fix for
a overflow when editing large 3d volume data."
2014-06-30 08:20 robert
* src/osgPlugins/svg/ReaderWriterSVG.cpp: Removed space from
#include.
2014-06-30 07:37 robert
* src/osgPlugins/svg/ReaderWriterSVG.cpp: From Alexander
Sinditskiy, build fix to allow building against versions older
than librsvg-2.36.2
2014-06-28 06:22 robert
* include/osg/ClusterCullingCallback: Replaced using
NodeCallback::run with explict run() implementation.
2014-06-27 15:57 robert
* src/osgPlugins/ive/DataOutputStream.cpp: From Pjotr Svetachov, "I
made a small change to DataOutputStream.cpp which makes saving
Geodes possible again. This is only half a fix as it only will
save a Drawable that is part of a Geode. But this change does not
require a version bump of the .ive format. I tried it with a few
datasets we have here with the 3.2 stable branch and the trunk
with this patch and there was no difference in the .ive files
that were produced."
2014-06-27 15:55 robert
* src/osgUtil/DelaunayTriangulator.cpp: Removed unused method.
2014-06-27 15:48 robert
* src/osgUtil/Tessellator.cpp: From Laurens Voerman, "attached is a
modified version of src/osgUtil/Tessellator.cpp
current code checks for a Nullpointer and on notify level info or
above will inform you with a crash, by dereferencing it."
2014-06-27 15:39 robert
* AUTHORS.txt: Updated AUTHORS file
2014-06-27 15:38 robert
* src/osg/ApplicationUsage.cpp: Added an OSG_INIT_SINGLETON_PROXY
to make sure that the ApplicationUsage singleton gets intialized
before usage.
2014-06-27 15:36 robert
* AUTHORS.txt: Updated AUTHORS file
2014-06-27 15:30 robert
* include/osg/Camera, src/osg/GraphicsContext.cpp,
src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp:
Added a render order sort to the list of Cameras being tested by
the *Viewer::generatePointerData(..) method to ensure that the
highest Camera gets focus.
2014-06-26 15:54 robert
* ChangeLog: Update ChangeLog for dev release
2014-06-26 14:16 robert
* include/osg/KdTree, include/osg/NodeVisitor, src/osg/KdTree.cpp:
Revised KdTreeBuilder so that is used the new
apply(osg::Geometry&) method rather than expanding an osg::Geode.
2014-06-26 11:49 robert
* src/osg/Sequence.cpp: From Sebastian Messerschmidt, "I've applied
a simple fix for the backward animation support in osg::Sequence.
It will simply use the sign of the speed set in the getNextValue.
Attached file is against trunk."
2014-06-26 11:11 robert
* src/osgDB/Registry.cpp: From Lauren Voerman, "In order to speed
up loading large scenes (especially from network disk) I added
code to our viewer to setup multiple database-pagers and request
the files trough a database-request:
databasePager->setUpThreads(16, 1);
We experienced problems with multiple databasepagers loading
files in parallel, when two threads start to load the same file
(usually a texture referenced by multiple models). The second
thread to add the file to the cache (sometimes) manages to do so
while the refcount from the cached object still is zero, causing
the object loaded to be destroyed.
Sometimes the second thread manages to ref() the object before
Referenced::signalObserversAndDelete does the final recount
check, causing a warning:
"Warning Referenced::signalObserversAndDelete(,,) doing delete
with _refCount=1"
With a deleted object added to the scenegraph we get some
undesired results, I think the program only crashes if the object
was a Node, and just has some untextured surfaces if it was a
texture, but I'm not completely sure.
Attached is a modified version of the Registry.cpp, returning the
object in cache and let the duplicate loaded object to be
destroyed.
A more efficient option would be to add some sort of blocking
entry to the objectcache to stop the second thread from reading
the file, and just wait until the first thread added it to the
cache. If you think that's worthwile we would be happy to
implement that version. A bit tricky to implement and test,
that's why I submit a simple version that stops my program from
crashing."
2014-06-26 11:09 robert
* src/osgDB/Registry.cpp: Removed erroneous character
2014-06-26 10:53 robert
* src/osgText/Text3D.cpp, src/osgText/TextBase.cpp: From Farshid
Lashkari,
"I noticed that Text3D objects would change there z alignment
depending on the alignment mode. I'm not sure if this was
intentional or just a simple mistake. My expectation was that the
front of the object would always stay aligned to the 0 z-plane,
regardless of the alignment mode. I've attached an updated
version that retains a consistent z-alignment."
"I just now noticed another issue with Text3D objects. It was not
properly computing the bounding box when non-axis aligned
rotations were being applied. In this case all corners of the
bounding box need to be transformed in order to get the correct
containing box. I've attached the updated file."
"The incorrect bounding box problem also applies to regular Text
objects. I've attached the fix for that as well as the original
Text3D fix."
2014-06-26 10:45 robert
* include/osgAnimation/Interpolator,
src/osgAnimation/StackedTransform.cpp,
src/osgAnimation/UpdateBone.cpp: From Pjotr Svetachov, "For a
scene with a lot of animated agents I did some small
optimizations to reduce cpu overhead:
1) Avoid a load-hit-store in UpdateBone.
b->getMatrixInBoneSpace()
returns the same matrix that was just stored with b->setMatrix()
2) Avoid calling element->isIdentity() for the whole transform
stack
(can be expensive is element is a matrix)
3) Make the key frame interpolator use binary search instead of a
linear one. This is very noticeable in scenes where some geometry
has
long repeating animations that start at the same time, you will
see
the update time grow then reset and grow again."
2014-06-26 10:24 robert
* src/osg/ImageSequence.cpp: From Laurens Voerman, "while debugging
ImageSequence I had a crash, due to the very large frametimes
caused by halting the program. The problem is that when the frame
time exceeds the length of the entire image sequence, a looping
sequence will try to read it's _imageDataList beyond its size.
fix attached for src/osg/ImageSequence.cpp"
2014-06-26 10:05 robert
* src/osgPlugins/ive/ImageSequence.cpp,
src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp,
src/osgWrappers/serializers/osg/ImageSequence.cpp: From Laurens
Voerman, "while testing databasepager stuff I noticed that the
various loaders (osg/ive/osgx) do not pass the current options to
the imagePager, therefore the images cannot be found if not in
the global OSG_FILE_PATH. Attached is a fix, containing modified
versions of
From Robert Osfield, add check to only apply Options object when
a valid Option object is assigned.
2014-06-26 09:38 robert
* src/osgPlugins/ply/plyfile.cpp: From Farshid Lashkari, "I've
attached a small fix for the ply loader to support Windows style
line endings when reading the header."
2014-06-26 09:33 robert
* src/osgPlugins/osg/BinaryStreamOperator.h,
src/osgPlugins/osga/OSGA_Archive.cpp: From Aurelien Albert, "This
submission fix all my problems with reading / writing "osgb"
files inside "osga" archive with final archive size > 2 Go, with
Windows OS (didn't tested with Linux)"
2014-06-25 16:05 robert
* src/osgDB/Registry.cpp: From Riccardo Corsi, "there's an
inconsistency between the behavior of the method and the
debug message it prints out on the console.
Around line 1040 of Registry.cpp (see code below) the method
returns
"simpleFileName" but prints about returning "filename".
In attachment the modified file, based on osg 3.2.0
ricky
<code>
if(fileExists(simpleFileName))
{
OSG_DEBUG << "FindFileInPath(" << filename << "): returning " <<
filename << std::endl;
return simpleFileName;
}
</code>
"
2014-06-25 15:55 robert
* src/osgPlugins/3ds/ReaderWriter3DS.cpp,
src/osgPlugins/3ds/WriterNodeVisitor.cpp,
src/osgPlugins/3ds/WriterNodeVisitor.h: From Auelien Albert, "I'm
working on an application which use 3ds file format as input and
use the name of the material to "map" specific data with 3d
geometry.
The osg 3ds plugin modify the exported materials name in the same
way it modifies the node names.
I've added an option to preserve originals materials names, with
the assurance of unique material names are preserved."
2014-06-25 15:47 robert
* src/osg/CollectOccludersVisitor.cpp: Refactored the way that hole
are pruned from the occluder hole list.
2014-06-25 11:07 robert
* applications/osgconv/osgconv.cpp: From Laurens Voerman, "a minor
patch for osgconv to make sure the helptext is printed if you run
"osgconv -h" with OSG_NOTIFY_LEVEL set too low.
applys to both trunk and stable branch."
2014-06-25 10:45 robert
* src/osgUtil/StateGraph.cpp: From Mikhail Izmestev, "Attached fix
to avoid vector usage in StateGraph::prune and reduce heap
allocations."
Notes from Robert Osfield, ammended the erase so that it
explictly increments the iterator before the erase call.
2014-06-25 09:58 robert
* src/osg/Texture.cpp: changed debug message to use OSG_DEBUG
2014-06-25 09:57 robert
* include/osg/Texture, src/osg/Texture.cpp: From Alexander
Sinditskiy, "My changes added support for gltexstorrage2d for
texture2d.
Initially I described issue in message:
It solves issue with compiling texture using ico from image with
mipmaps
I added enviroment variable OSG_GL_TEXTURE_STORAGE_ENABLE to
control usage of glTexStorage2d. Initially it is disabled.
It used only if image have mipmaps.
Another issue is converting from internalFormat + type to sized
internal format. I created sizedInternalFormats[] struct where
sized internal formats are ordered from worse->best.
also this struct have commented lines. Commented formats are
listed in
but looks like not using in osg."
Note from Robert Osfield. Changed the env var control to
OSG_GL_TEXTURE_STORAGE and made it's value true by default when
the feature is supported by the OpenGL driver. To disable to
use of glTexStorage2D use OSG_GL_TEXTURE_STORAGE="OFF" or
"DISABLE"
2014-06-25 08:21 robert
* include/osg/Math: From Björn Blissing, "I found a minor error in
documentation in include/osg/Math.
Function: absolute() had the same description as the function
minimum()
I removed the erroneous text."
2014-06-25 08:18 robert
* src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp: From Björn
Blissing, "Fix to support correct shininess and transparency in
FBX plugin"
2014-06-24 19:57 robert
* src/osgDB/ObjectWrapper.cpp: From Pjotr Svetachov, "There were
some modes missing when exporting to .ogst so I added them."
2014-06-24 14:58 robert
* src/osgPlugins/osg/ReaderWriterOSG2.cpp: From Farshid Lashkari,
"I've attached a small for the osg ReaderWriter. It was
performing a case sensitive comparison to the file extension to
determine whether to write the file in ascii or binary. This
meant that if the filename was "model.OSGT" it would be treated
as binary, instead of ascii. I've updated the plugin to ignore
case."
2014-06-24 11:24 robert
* src/osgUtil/Optimizer.cpp: Merged fix to merge geometries.
2014-06-23 12:02 robert
* src/osg/Callback.cpp: Fixed nested callback calling.
2014-06-16 16:16 robert
* src/osgUtil/Optimizer.cpp: Fixed check against totaly number of
vertices
2014-06-16 08:54 robert
* src/osgPlugins/osg/BinaryStreamOperator.h: From Aurelien Albert,
"I've got some issues using osgb files within an big osga archive
(file size > 2Go).
Issue is described here :
Here is a fix, using "std::streampos" standard type for stream
positions up to 64bits.
"
2014-06-13 17:17 robert
* include/osgUI/ColorPalette, src/osgUI/CMakeLists.txt,
src/osgUI/ColorPalette.cpp,
src/osgWrappers/serializers/osgUI/ColorPalette.cpp: Added
osgUI::ColorPalette class
2014-06-13 17:16 robert
* include/osgUI/AlignmentSettings: Fixed typo in parameter name
2014-06-12 16:00 robert
* src/osgViewer/GraphicsWindowX11.cpp: Removed generation of scroll
event on the X11 button release event as X11 was generating both
a pair of press/release events for a single scroll when movement.
2014-06-12 15:24 robert
* src/osg/State.cpp: Added if () blocks to
State::convertVertexShaderSourceToOsgBuiltIns() to ensure that
only parts of the shader than need replacing are replaced.
2014-06-12 14:12 robert
* src/osgUI/ComboBox.cpp: Improved positioning of combo box popup
items
2014-06-12 14:05 robert
* src/osgUI/ComboBox.cpp, src/osgUI/Style.cpp: Added frame support
to ComboBox.
Improved the alingment support for text
2014-06-11 16:31 robert
* src/osgUI/Style.cpp: Added handling of AligmentSettings of Text
layout
2014-06-11 10:55 robert
* include/osgUI/Widget, src/osgUI/ComboBox.cpp,
src/osgUI/Popup.cpp, src/osgUI/Style.cpp, src/osgUI/Widget.cpp:
Implemented more robust intersection handling for mouse
interactions. Wired up even handling of ComboBox popup.
2014-06-10 08:50 robert
* include/osg/Drawable: Added using Callback::run() method to
Drawable::CullCallback
2014-06-09 13:46 robert
* include/osgGA/EventVisitor: Fixed handling of Drawable callbacks
and NumChildrenRequiringEventTraversal
2014-06-06 15:05 robert
* include/osg/NodeVisitor, include/osgViewer/ViewerEventHandlers:
Removed redudent NodeVisitor::s/getUserData() as osg::Object
provide this.
Added using run entry to InteractiveImageHandler to quieten
warning
2014-06-06 09:12 robert
* include/osg/ClusterCullingCallback: Added using
NodeCallback::run() to avoid warnings
2014-06-06 09:01 robert
* include/osg/Callback, include/osg/StateSet: Added missing
OSG_EXPORT
2014-06-05 16:26 robert
* examples/osgfpdepth/osgfpdepth.cpp,
examples/osgposter/PosterPrinter.h,
examples/osgvertexprogram/osgvertexprogram.cpp,
include/osg/AnimationPath, include/osg/Callback,
include/osg/ClusterCullingCallback, include/osg/CopyOp,
include/osg/Drawable, include/osg/Node, include/osg/NodeCallback,
include/osg/NodeTrackerCallback, include/osg/ScriptEngine,
include/osg/StateAttribute, include/osg/StateAttributeCallback,
include/osg/StateSet, include/osgAnimation/Skeleton,
include/osgAnimation/UpdateMatrixTransform,
include/osgGA/EventHandler, include/osgGA/EventVisitor,
include/osgGA/GUIEventHandler,
include/osgPresentation/deprecated/AnimationMaterial,
include/osgPresentation/deprecated/PropertyManager,
include/osgShadow/MinimalDrawBoundsShadowMap,
include/osgUtil/CullVisitor, include/osgUtil/TransformCallback,
include/osgUtil/UpdateVisitor,
include/osgViewer/ViewerEventHandlers,
include/osgVolume/Property, src/osg/CMakeLists.txt,
src/osg/Callback.cpp, src/osg/CopyOp.cpp, src/osg/Drawable.cpp,
src/osg/Node.cpp, src/osg/NodeCallback.cpp,
src/osg/ScriptEngine.cpp, src/osg/StateAttribute.cpp,
src/osg/StateSet.cpp, src/osgAnimation/AnimationManagerBase.cpp,
src/osgAnimation/LinkVisitor.cpp,
src/osgAnimation/StatsHandler.cpp,
src/osgGA/CameraManipulator.cpp,
src/osgGA/FirstPersonManipulator.cpp,
src/osgGA/FlightManipulator.cpp,
src/osgGA/MultiTouchTrackballManipulator.cpp,
src/osgGA/NodeTrackerManipulator.cpp,
src/osgGA/OrbitManipulator.cpp,
src/osgGA/StandardManipulator.cpp,
src/osgGA/TerrainManipulator.cpp,
src/osgGA/TrackballManipulator.cpp,
src/osgPlugins/bvh/ReaderWriterBVH.cpp,
src/osgPlugins/dae/daeRAnimations.cpp,
src/osgPlugins/dae/daeRTransforms.cpp,
src/osgPlugins/dae/daeReader.h,
src/osgPlugins/dae/daeWAnimations.cpp,
src/osgPlugins/dae/daeWTransforms.cpp,
src/osgPlugins/dae/daeWriter.h, src/osgPlugins/txp/TXPNode.h,
src/osgUtil/CullVisitor.cpp, src/osgUtil/SceneView.cpp,
src/osgWrappers/deprecated-dotosg/osg/NodeCallback.cpp,
src/osgWrappers/serializers/osg/Callback.cpp,
src/osgWrappers/serializers/osg/Drawable.cpp,
src/osgWrappers/serializers/osg/Node.cpp,
src/osgWrappers/serializers/osg/NodeCallback.cpp: Refactored
Callback system in osg::Node, osg::Drawable, osg::StateSet and
osg::StateAttribute to use a new osg::Callback base class.
2014-06-04 08:59 robert
* src/osgVolume/Shaders/volume_accumulateSamples_lit_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_lit_tf_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_mip_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_standard_frag.cpp,
src/osgVolume/Shaders/volume_multipass_vert.cpp: Updated shaders
from OpenSceneGraph-Data sources
2014-06-03 15:05 robert
* examples/osgcallback/osgcallback.cpp: From Pjotr Sventachov and
Robert Osfield, added callback unit test to osgcallback example,
to use test run osgcallback --test, if everything is functioning
then test1 to test7 messages should be reported to the console.
2014-06-03 09:52 robert
* examples/osgkeyboardmouse/osgkeyboardmouse.cpp,
examples/osgparticleeffects/osgparticleeffects.cpp,
include/osg/Node, src/osg/Node.cpp,
src/osgPlugins/txp/TXPParser.cpp, src/osgUtil/Optimizer.cpp:
Reverted change of Node::ParentList from being a vector<Node*>
back to a vector<Group*>
2014-06-03 09:23 robert
* include/osg/Drawable, include/osg/Geode, src/osg/Billboard.cpp,
src/osg/Geode.cpp, src/osg/Group.cpp,
src/osgPlugins/pov/POVWriterNodeVisitor.cpp,
src/osgShadow/DebugShadowMap.cpp, src/osgSim/ScalarBar.cpp,
src/osgSim/SphereSegment.cpp, src/osgUtil/Optimizer.cpp: Refactor
osg::Geode to subclass from osg::Group and reuse the NodeList
children container
2014-06-02 16:20 robert
* CMakeLists.txt, include/osg/BoundingSphere, include/osg/Drawable,
include/osg/Node, include/osg/Plane, include/osg/Polytope,
src/osg/Config.in, src/osg/Node.cpp: Removed OSG_USE_BOUND and
associated osg::Bound adapter class to avoid problems with
BoundingBox::expandBy/expandByRadius() implementation choosing a
null BoundingBox from
the osg::Bound class causing crashes.
2014-06-02 08:13 robert
* CMakeLists.txt: From Roni Zanolli, build fix for iPhone
2014-05-30 16:44 robert
* include/osgUI/Style, src/osgUI/Dialog.cpp,
src/osgUI/LineEdit.cpp, src/osgUI/Popup.cpp,
src/osgUI/PushButton.cpp, src/osgUI/Style.cpp: Implemented basic
frame graphic
2014-05-29 15:21 robert
* src/osgUI/ComboBox.cpp, src/osgUI/Popup.cpp: Futher work on
ComboBox/Popup
2014-05-29 10:51 robert
* include/osgUI/ComboBox, src/osgUI/ComboBox.cpp: Added beginnings
of ComboBox popup functionality.
2014-05-28 10:18 robert
* include/osgUI/Style, src/osgUI/Style.cpp: Added cached Depth and
ColorMask to reduce the amount of duplicate state in the osgUI
subgraph
2014-05-28 10:06 robert
* include/osgDB/Serializer, include/osgUI/Style,
include/osgUI/Widget, src/osgUI/ComboBox.cpp,
src/osgUI/Dialog.cpp, src/osgUI/Label.cpp,
src/osgUI/LineEdit.cpp, src/osgUI/Popup.cpp,
src/osgUI/PushButton.cpp, src/osgUI/Style.cpp,
src/osgUI/Widget.cpp,
src/osgWrappers/serializers/osg/TransferFunction1D.cpp,
src/osgWrappers/serializers/osgUI/Widget.cpp: Replaced
Widget::GraphicsSubgraph with GraphicsSubgraphMap to allow finer
control of when the rendering subgraphs are done.
2014-05-27 14:14 robert
* src/osgUI/Label.cpp, src/osgUI/Style.cpp: Improved handling of
text
2014-05-26 16:32 robert
* include/osgUI/Dialog, include/osgUI/Popup, src/osgUI/Dialog.cpp,
src/osgUI/Popup.cpp,
src/osgWrappers/serializers/osgUI/Dialog.cpp,
src/osgWrappers/serializers/osgUI/Popup.cpp: Removed
Dialog/Popup::open/close() methods as they are replaced by the
setVisible() method
2014-05-26 16:27 robert
* include/osgUI/Dialog, src/osgUI/Dialog.cpp, src/osgUI/Popup.cpp,
src/osgUI/Widget.cpp: Implemented Widger::Visible and Enabled
usage
2014-05-26 16:15 robert
* include/osgUI/Widget, src/osgUI/Widget.cpp,
src/osgWrappers/serializers/osgUI/Widget.cpp: Added Visible and
Enalbed properties to Widget
2014-05-26 16:15 robert
* src/osgUI/ComboBox.cpp: Fixed missing initilaizer
2014-05-26 15:58 robert
* src/osgWrappers/serializers/osgUI/Item.cpp: Added item serializer
2014-05-23 18:59 robert
* include/osgUI/Style, src/osgUI/ComboBox.cpp,
src/osgUI/Dialog.cpp, src/osgUI/LineEdit.cpp,
src/osgUI/Popup.cpp, src/osgUI/PushButton.cpp,
src/osgUI/Style.cpp: Implemented clipping of widget to the
widgets extents.
2014-05-23 15:00 robert
* applications/osgversion/Contributors.cpp, include/osgUI/Style,
src/osgUI/Dialog.cpp, src/osgUI/Popup.cpp,
src/osgUI/PushButton.cpp, src/osgUI/Style.cpp: Implemented scheme
for making sure nested widgest overdraw parent widgets graphics
2014-05-23 15:00 robert
* src/osgWrappers/serializers/osgUI/Dialog.cpp,
src/osgWrappers/serializers/osgUI/Popup.cpp: Added wrappers for
open and close methods
2014-05-22 10:02 robert
* include/osgUI/Widget, src/osgUI/ComboBox.cpp,
src/osgUI/Dialog.cpp, src/osgUI/LineEdit.cpp,
src/osgUI/Popup.cpp, src/osgUI/PushButton.cpp,
src/osgUI/Widget.cpp,
src/osgWrappers/serializers/osgUI/Widget.cpp: Added
osgUI::Widget::set/getGraphicsSubgraph() to hold the subgraph
that does the rendering portion of widgets
2014-05-21 16:15 robert
* include/osgDB/ObjectWrapper, include/osgDB/Serializer,
include/osgUI/PushButton, src/osgUI/PushButton.cpp,
src/osgWrappers/serializers/osgUI/PushButton.cpp,
src/osgWrappers/serializers/osgUI/Widget.cpp: Addd method
implementation in serializers
2014-05-21 10:17 robert
* src/osgUI/PushButton.cpp, src/osgUI/Widget.cpp: Fixed handling of
traverse
2014-05-21 09:45 robert
* include/osgUI/Widget, src/osgUI/Widget.cpp: Improved handling of
callback object to open the door to use of general
osg::CallbackObject as mechnisms for something simialr to Qt's
signal/slot mechanism.
2014-05-21 09:07 robert
* include/osg/ScriptEngine: Added osg::runNamedCallbackObjects(..)
convinience method for run all named osg::CallbackObjects
attached to an osg::Object
2014-05-21 09:06 robert
* include/osg/Drawable, src/osg/Drawable.cpp: Renamed callbacks to
avoid overlap with Node callbacks
2014-05-20 16:09 robert
* include/osg/Drawable, include/osgUtil/UpdateVisitor: Moved the
_boundingSphere set method into the update section of the
Drawable::getBoundingBox() method
Added an UpdateVisitor::apply(Drawable&) implementation.
2014-05-20 15:34 robert
* include/osg/Drawable: From Pjotr Svetachov, "I stumbled on a
little bug with the new drawables. I was distributing points data
into different drawables that I used in a LOD later. When
simplifying the system to not use geodes anymore I came upon the
following bug:
If Drawable::getBoundingBox would compute an invalid bounding box
(if it was for example empty) it would make a bounding sphere
with a infinite radius which counts as a valid sphere in osg.
Attached is a small fix."
2014-05-20 08:35 robert
* include/osgUI/LineEdit, src/osgUI/Dialog.cpp,
src/osgUI/LineEdit.cpp: Improved the handling of updating of text
2014-05-20 08:35 robert
* include/osgUI/Popup, src/osgUI/CMakeLists.txt,
src/osgUI/Popup.cpp, src/osgWrappers/serializers/osgUI/Popup.cpp:
Added shell of Popup class
2014-05-20 08:34 robert
* src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp:
Added check against whether an event has been handled or not
before actioning escape/quit.
2014-05-19 10:11 robert
* include/osgUI/Dialog, src/osgUI/CMakeLists.txt,
src/osgUI/Dialog.cpp,
src/osgWrappers/serializers/osgUI/Dialog.cpp: Add shell of Dialog
class
2014-05-19 09:30 robert
* src/osgUI/ComboBox.cpp: Added handling of up/down key to ComboBox
2014-05-16 19:24 robert
* include/osgUI/ComboBox, include/osgUI/PushButton,
src/osgUI/CMakeLists.txt, src/osgUI/ComboBox.cpp,
src/osgUI/PushButton.cpp,
src/osgWrappers/serializers/osgUI/ComboBox.cpp: Added initial cut
of ComboBox
2014-05-16 10:38 robert
* include/osgUI/Label, include/osgUI/LineEdit,
include/osgUI/PushButton, src/osgUI/CMakeLists.txt,
src/osgUI/Label.cpp, src/osgUI/LineEdit.cpp,
src/osgUI/PushButton.cpp, src/osgUI/Style.cpp,
src/osgUI/Widget.cpp,
src/osgWrappers/serializers/osgUI/PushButton.cpp: Added initial
shell of PushButton implementation
2014-05-15 16:30 robert
* include/osgUtil/IntersectVisitor,
include/osgUtil/IntersectionVisitor,
src/osgUtil/IntersectVisitor.cpp,
src/osgUtil/IntersectionVisitor.cpp: Added support for
intesecting Drawable that are attached directly to the scene
graph without an osg::Geode
2014-05-15 14:57 robert
* src/osg/Notify.cpp: From Sebastian Messerschmidt, "There was some
small error due to MS non-conformity handling comments
correctly."
2014-05-15 14:45 robert
* include/osgUI/Export, src/osgUI/CMakeLists.txt: From Pjotr
Svetachov, build fixes for VisualStudio
2014-05-15 13:34 robert
* src/osgUI/CMakeLists.txt: Added osgGA dependency
2014-05-15 13:22 robert
* include/osg/Plane: Placed the #include<osg/Node> within #ifdef
OSG_USE_BOUND to prevent unncessary inclusion of Node header when
OSG_USE_BOUND is false.
2014-05-15 09:26 robert
* include/osg/Drawable, include/osg/Geometry, include/osg/Node,
src/osg/Group.cpp: Added Node::asDrawable() and
Node::asGeometry() methods to provide a low cost way of casting a
node to Drawable and Geoemtry.
Changed the Group::computeBound() method so that it takes account
of the a Drawable's BoundingBox.
2014-05-14 16:52 robert
* include/osg/Drawable, src/osgUtil/CullVisitor.cpp: Fixed the
bounding sphere computation and handling of Drawable as the root
of the scene graph
2014-05-14 16:01 robert
* examples/osgdepthpeeling/DePee.cpp, examples/osghud/osghud.cpp,
examples/osgoit/HeatMap.cpp,
examples/osgposter/PosterPrinter.cpp,
examples/osgqfont/osgqfont.cpp, examples/osgtext/osgtext.cpp,
include/osg/CullingSet, include/osg/Drawable, include/osg/Node,
src/osg/Billboard.cpp, src/osg/ComputeBoundsVisitor.cpp,
src/osg/Geode.cpp, src/osg/Group.cpp, src/osg/KdTree.cpp,
src/osg/Switch.cpp,
src/osgPlugins/OpenFlight/GeometryRecords.cpp,
src/osgPlugins/fbx/WriterCompareTriangle.cpp,
src/osgPlugins/txp/TXPParser.cpp,
src/osgPresentation/deprecated/PickEventHandler.cpp,
src/osgPresentation/deprecated/SlideShowConstructor.cpp,
src/osgShadow/MinimalCullBoundsShadowMap.cpp,
src/osgShadow/ViewDependentShadowMap.cpp,
src/osgUtil/CullVisitor.cpp, src/osgUtil/IntersectVisitor.cpp,
src/osgUtil/LineSegmentIntersector.cpp,
src/osgUtil/Optimizer.cpp, src/osgUtil/RayIntersector.cpp,
src/osgViewer/HelpHandler.cpp, src/osgViewer/StatsHandler.cpp,
src/osgWidget/Label.cpp: Further work on Bound
class/Node::getBound() and Drawable::getBound() and usage in OSG
codebase
2014-05-14 16:00 robert
* src/osgViewer/config/WoWVxDisplay.cpp: Cleaned up code
2014-05-14 10:19 robert
* CMakeLists.txt, examples/osgforest/osgforest.cpp,
examples/osgkeyboardmouse/osgkeyboardmouse.cpp,
examples/osgoit/HeatMap.cpp,
examples/osgparticleeffects/osgparticleeffects.cpp,
examples/osgteapot/osgteapot.cpp, include/osg/CullingSet,
include/osg/DrawPixels, include/osg/Drawable, include/osg/Node,
include/osg/Plane, include/osg/Polytope,
include/osg/ShapeDrawable, include/osgParticle/ParticleSystem,
include/osgShadow/OccluderGeometry,
include/osgSim/ImpostorSprite, include/osgText/Text3D,
include/osgText/TextBase, src/osg/Config.in,
src/osg/DrawPixels.cpp, src/osg/Drawable.cpp, src/osg/Group.cpp,
src/osg/ShapeDrawable.cpp, src/osg/Switch.cpp,
src/osgAnimation/RigGeometry.cpp,
src/osgParticle/ParticleSystem.cpp,
src/osgPlugins/logo/ReaderWriterLOGO.cpp,
src/osgShadow/OccluderGeometry.cpp,
src/osgSim/ImpostorSprite.cpp, src/osgSim/LightPointDrawable.cpp,
src/osgSim/LightPointDrawable.h, src/osgSim/OverlayNode.cpp,
src/osgSim/SphereSegment.cpp, src/osgText/Text3D.cpp,
src/osgText/TextBase.cpp, src/osgUtil/PlaneIntersector.cpp,
src/osgUtil/PolytopeIntersector.cpp:
2014-05-13 08:43 robert
* include/osg/Group, include/osg/Node, src/osg/Group.cpp,
src/osg/Node.cpp, src/osgPlugins/txp/TXPParser.cpp,
src/osgUtil/Optimizer.cpp: Changed the Node::ParentList to be a
list of osg::Node rather than osg::Group, and added addChild,
removeChild, replaceChild virtual method to Node to enable code
to user code compile with minimal modifications to account for
the new change to the Node ParentList.
2014-05-12 12:10 robert
* include/osg/Drawable, include/osg/Geode, include/osg/Geometry,
include/osg/NodeVisitor, include/osgUtil/CullVisitor,
include/osgUtil/IncrementalCompileOperation,
src/osg/Drawable.cpp, src/osg/Geode.cpp, src/osg/NodeVisitor.cpp,
src/osgUtil/CullVisitor.cpp, src/osgUtil/GLObjectsVisitor.cpp,
src/osgUtil/IncrementalCompileOperation.cpp,
src/osgUtil/Statistics.cpp: From Farshid Lashkari, "As discussed,
I've added the ability to handle Drawable objects within the
NodeVisitor class. Here is an overview of the changes:
- Added apply(Drawable) and apply(Geometry) to NodeVisitor
- Added accept(NodeVisitor) method to Drawable/Geometry
- Added traverse(NodeVisitor) to Geode which calls
accept(NodeVisitor) on all Drawables
- Updated CullVisitor to use new apply(Drawable) to handle
drawables. The apply(Billboard) method still manually handles the
drawables since it is depends on the billboard settings. I needed
to disable the traverse within billboard to prevent duplicate
traversal of drawables.
- Update other osgUtil node visitors (GLObjectsVisitor,
IncrementalCompileOperation, ..) to use new apply(Drawable)
method.
"
2014-05-12 11:27 robert
* examples/osgtransferfunction/CMakeLists.txt,
examples/osgtransferfunction/TransferFunctionWidget.h,
include/osgUI, include/osgUI/AlignmentSettings,
include/osgUI/Export, include/osgUI/FrameSettings,
include/osgUI/Label, include/osgUI/LineEdit, include/osgUI/Style,
include/osgUI/TextSettings, include/osgUI/Widget,
src/CMakeLists.txt, src/osgUI, src/osgUI/AlignmentSettings.cpp,
src/osgUI/CMakeLists.txt, src/osgUI/FrameSettings.cpp,
src/osgUI/Label.cpp, src/osgUI/LineEdit.cpp, src/osgUI/Style.cpp,
src/osgUI/TextSettings.cpp, src/osgUI/Widget.cpp,
src/osgWrappers/serializers/CMakeLists.txt,
src/osgWrappers/serializers/osgUI,
src/osgWrappers/serializers/osgUI/AlignmentSettings.cpp,
src/osgWrappers/serializers/osgUI/CMakeLists.txt,
src/osgWrappers/serializers/osgUI/FrameSettings.cpp,
src/osgWrappers/serializers/osgUI/Label.cpp,
src/osgWrappers/serializers/osgUI/LineEdit.cpp,
src/osgWrappers/serializers/osgUI/TextSettings.cpp,
src/osgWrappers/serializers/osgUI/Widget.cpp: Added beginnings of
new osgUI library, a replacement for osgWidget that works fully
in 3D/stereo and is scriptable.
2014-05-06 16:38 robert
* src/OpenThreads/pthreads/PThread.cpp: Replaced obsolete __linux
usage.
2014-05-06 09:43 robert
* CMakeLists.txt: From Stephan Huber, "Xcode changed the default
std-lib-implementation again. Now it’s GNU++98 instead of C++11.
I adapted the cMakeList.txt files accordingly to add this new
option so we can set it explicitly and link against
3rdparty-c++-libs."
2014-05-06 08:37 robert
* CMakeModules/FindQuickTime.cmake: From Stephan Huber, "Please
revert the change to FindQuickTime.cmake as this breaks
compilation for IOS and possibly OS X."
2014-05-02 09:12 robert
* src/osgPlugins/dae/daeRMaterials.cpp: From Farshid Lashkari, "fix
for the Collada loader where it would access a null string in
some cases"
2014-05-02 09:11 robert
* src/OpenThreads/win32/Win32Thread.cpp: From Ali Botorabi,
"recently I ran into a problem with Microsoft's Appverifier while
using OpenThreads on win32 platform. The Appverifier complained
about an invalid thread handle during starting of a new thread.
After looking closer into the problem it seemed that indeed a
potential root of problem may be in the thread startup code. See
the line below in Win32Thread.cpp (line number 347):
pd->tid.set(
(void*)_beginthreadex(NULL,static_cast<unsigned>(pd->stackSize),ThreadPrivateActions::StartThread,static_cast<void
*>(this),0,&ID));
the method "pd->tid.set" sets the thread id, however via the
startup function "ThreadPrivateActions::StartThread" that thread
id is used (see further down the call hierarchy the line "int
status = SetThreadPriority( pd->tid.get(), prio);".
Until now I never ran into any problem in debug or release
builds, though. It seems that furtunately the tid.set method was
executed always before the tid.get method in the startup code.
However, this may make trouble in the furture. A simple solution
is the following: just replace the line above with following two
lines:
pd->tid.set(
(void*)_beginthreadex(NULL,static_cast<unsigned>(pd->stackSize),ThreadPrivateActions::StartThread,static_cast<void
*>(this),CREATE_SUSPENDED,&ID));
ResumeThread(pd->tid.get());
The trick is just starting the thread in suspended mode so the
StartThread function does not get executed and we can safely
store the tid by pd->tid.set. Then start the Thread by calling
ResumeThread."
2014-05-01 15:50 robert
* CMakeLists.txt: From Stephan Huber, fix for OSX build
2014-04-30 13:19 robert
* CMakeLists.txt, include/osg/GL, src/osg/CMakeLists.txt,
src/osg/GL.in, src/osg/OpenGL.in: Renamed the new
include/osg/OpenGL automatically configured header file to
include/osg/GL replacing the original hand built GL header
2014-04-30 11:51 robert
* include/osgDB/PropertyInterface: From Sebastian Messerschmidt,
"attached is the compile/linker fix for multiple definitions of
getTypeEnum when compiling the Lua with VisualStudio and
potentially other compilers.
"
2014-04-29 15:14 robert
* include/osgAnimation/RigGeometry,
src/osgAnimation/RigGeometry.cpp,
src/osgWrappers/serializers/osg/ComputeBoundingBoxCallback.cpp,
src/osgWrappers/serializers/osg/UpdateCallback.cpp,
src/osgWrappers/serializers/osgAnimation/RigComputeBoundingBoxCallback.cpp,
src/osgWrappers/serializers/osgAnimation/UpdateVertex.cpp: From
Pjotr Svetachov, "have added some missing serializers for
RigGeomery. Withouth them I
ran into two issues.
At first you get a bunch of warnings that
osg::ComputeBoundCallback
and osg::UpdateCallback were unsupported wrapper classes when
converting fbx models with skeletal animation to osg(t/b).
The second issue was that when reading, the readers fail to read
the
ComputeBoundCallback and UpdateCallback and set them to NULL
which
messes up the RigGeometry.
Because a RigGeometry makes his own classes in the constructor it
might be preferable to not write them at all, because now those
classes are being made two times when reading a RigGeometry. But
after
thinking about this that would place too much limits on them (you
won't be able to share or name them and save that information or
make
a new inherited class from them and write that one) So I ended up
thinking the best way was to just write the files.
"
2014-04-29 13:41 robert
* include/osgDB/OutputStream: From Pjotr Svetachov, "Today I found
a bug in the IutputStream class when saving array
attributes in vec3b format. It looks like my compiler takes the
wrong
overload and outputs integers instead of characters. The problem
is
that vec3b is of type signed char and that is not the same as
char (
see
) and visual studio 2013 will promote it to integer when choosing
an
overload.
It looks like that the InputStream class already takes care of
this
issue (if it didn't it would have read everything ok and I would
have
not even stumbled upon this bug. :) )"
2014-04-29 12:19 robert
* CMakeModules/FindFLTK.cmake, CMakeModules/FindFreetype.cmake,
CMakeModules/FindGDAL.cmake, CMakeModules/FindJasper.cmake,
CMakeModules/FindOpenThreads.cmake,
CMakeModules/FindQuickTime.cmake, CMakeModules/FindZLIB.cmake:
From Mattias Helsing, "I finally got to fix the cmake Modules
that have duplicates in later
version of cmake. See attached submission. I have tested the ones
that
I compile myself (GDAL, Freetype, ZLIB) on ubuntu 12.04 with
cmake-2.8.7."
2014-04-29 12:18 robert
* CMakeLists.txt, CMakeModules/FindGLCORE.cmake,
CMakeModules/OsgMacroUtils.cmake: From Paul Martz, "There is no
standard place for gl/glcorearb.h on Windows. Previously, the
only way to get OSG to build for core profile was to append an
additional include directory ("/I") onto the CFLAGS variables
This submission adds a FindGLCORE.cmake script so that the path
to gl/glcorearb.h can be specified with a variable, GLCORE_ROOT,
either in CMake or the environment.
Currently this submission is Windows-only. I don't think OSX or
Linux require any help in locating gl/glcorearb.h. But if they
do, this submission can be easily modified.
Files:
- "CMakeLists.txt" is the top-level file.
- FindGLCORE.cmake" and "OsgMacroUtils.cmake" go in CMakeModules.
"
2014-04-28 14:58 robert
* src/osg/Image.cpp: From Pjotr Svetachov, "I had the osgvolume
example crash on me when loading large volume
datasets due to an overflow in image.cpp after a unneeded cast
from
unsigned int to int. Here is a small fix."
2014-04-28 14:57 robert
* src/osgDB/FileUtils.cpp: From Jason Beverage, "Here is a fix for
a small race condition in osgDB::makeDirectory. It attempts to
create all the directories in the given path and stops attempting
to make directories when one of them fails. I've added a check to
see if the failure occurred b/c the directory was created by
another thread or process.
We were running into issues occasionally in osgEarth where
multiple threads were writing out files like /1/2/3.jpg and
/1/3/4.jpg. Both threads would try to create the /1 directory and
only one of them would succeed. So the first thread would write
out the full /1/2/3.jpg while the second thread wouldn't create
the /1/3 directory b/c /1 was already created and the writing of
/1/3/4.jpg would fail.
"
2014-04-28 11:53 robert
* src/osgSim/SphereSegment.cpp: Fixed type error
2014-04-25 08:57 robert
* applications/osgviewer/osgviewer.cpp, src/osg/CMakeLists.txt,
src/osgViewer/Renderer.cpp: From Pjotr Svetachov, "For me
osgviewer.cpp and Renderer.cpp were not compiling (visual studio
2013 with profile GL2) because they were still using GLuintEXT.
So I changed that, see the attached files.
I also noticed that the generated OpenGL header were not copied
to the installation directory so my own application could not
find it."
2014-04-25 08:56 robert
* CMakeLists.txt: Reordered the configuiration file blocks to make
it more understandable
2014-04-25 08:18 robert
* CMakeLists.txt: From Paul Martz, fixed placement of OpenGL header
so that it gets generated and placed in the build directory as
per the Config file
2014-04-24 17:26 robert
* src/osgPlugins/dae/daeRMaterials.cpp: From Farshid Lashkari,
"I've attached a small fix to the Collada loader which prevents a
null pointer access in some cases."
2014-04-24 17:23 robert
* src/osg/Texture2DArray.cpp: From Lionel Lagarde, "In the ::apply
method, when the image data need to be re-uploaded, the
Texture2DArray checks if the TextureObject can be re-used. The
test was made using the constant 1 instead of the real texture
depth, so the TextureObject was never re-used."
2014-04-24 17:14 robert
* examples/osgviewerQt/osgviewerQt.cpp,
include/osgGA/GUIEventAdapter, include/osgQt/GraphicsWindowQt,
src/osgGA/GUIEventAdapter.cpp,
src/osgGA/MultiTouchTrackballManipulator.cpp,
src/osgQt/GraphicsWindowQt.cpp,
src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: From
Kristofer Tingdahl, "I and my team have gone over the code again,
and we feel that we are comfortable in our current proposal for
change. It goes deeper than it did before, and I explain why:
There was code in the osgViewer/Viewer.cpp and
osgViewer/CompositeViewer.cpp that transformed the Y-coordinates
of an event. The code in the composite viewer did however miss
the touch-data of the event. I thought that it should really be
the GUIEventAdapter that should know about this, and hence I
added the
GUIEventAdapter::setMouseYOrientationAndUpdateCoords which is
re-computing the coordinates. First I simply added a boolean to
the setMouseYOrientation function:
setMouseYOrientation( MouseYOrientation, bool updatecooreds=false
);
but then the serializer complained.
This function is called from both the Viewer and the
CompositeViewer. We have not tested from the viewer, but I cannot
see it would not work from visual inspection.
The other change is in
MultiTouchTrackballManipulator::handleMultiTouchDrag. I have
removed the normalisation. The reason for that is that it
normalised into screen coordinates from 0,0 to 1,1. The problem
with that is that if you have a pinch event and you keep the
distance say 300 pixels between your fingers, these 300 pixels
represent 0.20 of the screen in the horizontal domain, but 0.3 of
the screen in the vertical domain. A rotation of the
pinch-fingers will hence result in a zoom in, as the normalised
distance is changing between them.
A consequence of this is that I have changed the pan-code to use
the same algorithm as the middle-mouse-pan.
The rest of it is very similar from previous revision, and there
has been some fine-tuning here and there.
"
2014-04-24 10:49 robert
* CMakeModules/FindGDAL.cmake: From Mattias Helsing, "Seems I was
only half right given what you asked for. CMP0017 only
says that modules that are found and ran from cmake modules dir
should
prefer cmake-provided modules. find_package() and include() still
look
in CMAKE_MODULE_PATH first.
After some investigating I've come up with a proposal examplified
in
the attached FindGDAL.cmake script. It simply calls the cmake
provided
FindGDAL.cmake if it exists and returns if it succeeds in finding
GDAL
using that, otherwise continue with our local cmake code.
Pro: Wont clutter our root CMakeLists.txt
Con: If we begin to write more advanced Findxxx modules (using
COMPONENTS, REQUIRED etc.) we may have to revise this scheme.
"
2014-04-24 10:38 robert
* src/osgSim/SphereSegment.cpp: Fixed reference invalidation bug.
2014-04-24 07:22 robert
* CMakeLists.txt: Fixed typo in OPENSCENEGRAPH_OPENGL_HEADER name
2014-04-24 07:20 robert
* include/osg/OpenGL: Removed header as this CMake generated
configuration file is not required to be part of svn repository
2014-04-23 19:30 robert
* include/osg/OpenGL, src/osg/OpenGL.in: Added src/osg/OpenGL.in
configuration file and include/osg/OpenGL header files
2014-04-23 09:08 robert
* CMakeLists.txt, applications/osgviewer/osgviewer.cpp,
examples/CMakeLists.txt, include/osg/Drawable, include/osg/GL,
include/osg/State, include/osgQt/GraphicsWindowQt,
include/osgQt/QGraphicsViewAdapter, include/osgQt/QWidgetImage,
src/osg/Config.in, src/osg/Drawable.cpp, src/osg/State.cpp,
src/osgQt/GraphicsWindowQt.cpp: Introduced new scheme for setting
up which version of OpenGL/OpenGL ES the OSG is compiled for.
To select standard OpenGL 1/2 build with full backwards and
forwards comtability use:
./configure
make
OR
./configure -DOPENGL_PROFILE=GL2
To select OpenGL 3 core profile build using GL3/gl3.h header:
./configure -DOPENGL_PROFILE=GL3
To select OpenGL Arb core profile build using GL/glcorearb.h
header:
./configure -DOPENGL_PROFILE=GLCORE
To select OpenGL ES 1.1 profile use:
./configure -DOPENGL_PROFILE=GLES1
To select OpenGL ES 2 profile use:
./configure -DOPENGL_PROFILE=GLES2
Using OPENGL_PROFILE will select all the appropriate features
required so no other settings in cmake will need to be adjusted.
The new configuration options are stored in the
include/osg/OpenGL header that deprecates the old include/osg/GL
header.
2014-04-14 16:16 robert
* include/osgManipulator/TranslatePlaneDragger: Fixed comment
2014-04-13 16:04 robert
* CMakeLists.txt, CMakeModules/FindFreeType.cmake,
CMakeModules/FindFreetype.cmake: Renamed FindFreeType.cmake to
FindFreetype.cmake to enable CMake build to pick up on CMake's
own FindFreetype.cmake when it's available.
2014-04-09 17:40 robert
* CMakeModules/FindFBX.cmake,
src/osgPlugins/fbx/ReaderWriterFBX.cpp: From Paul
Cheyrou-Lagreze, "Attached is fix/feature for FBX osgplugins
against latest trunk:
- ReaderWriterFBX.cpp: add "z up scene axis" support: FBX
provides facility to convert model scene axis during conversion.
Currently fbx plugin convert axis to fbx:opengl axis system
(which is arbitrarily at Y up, as opengl is in reality axis
agnostic) and sometimes what is needed is Z up so added an option
for Z up conversion
- FindFBX.cmake: add support for latest fbx sdk ( 2014.2 )"
2014-04-09 17:20 robert
* src/osgPlugins/fbx/CMakeLists.txt: Disabled warnings to address
issues in FBX headers that generate lots of warnings that we
can't fix.
2014-04-08 19:42 robert
* CMakeModules/FindFreeType.cmake: Added extra search paths to add
compatibility with Kubuntu/Ubuntu 14.04 now locaton for freetype
2014-04-08 17:45 robert
* ChangeLog, applications/osgversion/Contributors.cpp: Updated
ChangeLog and fixed Contributors list
2014-04-08 12:00 robert
* src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Remo Eichenberger,
"I have extended the TIFF plugin that allows you to write LZW or
JPEG compressed TIFF's. Options are:
tiff_compression = lzw | jpeg"
2014-04-08 11:48 robert
* include/osgGA/GUIActionAdapter: From Sebastian Messerschmidt, "n
the trunk version the osgGA::GUIActionAdapter has additional
functions for lineIntersection which use osgGA::GUIEventAdapter&,
but the class declaration is neither forwarded, nor is the header
included.
Using the trunk together with osgEarth 2.5 will fail to build,
due to the missing type.
Attached is the file forward declaring osgGA::GUIEventAdapter."
2014-04-08 11:17 robert
* src/osgWrappers/serializers/osgAnimation/Animation.cpp: From
Pjotr Svetachov, "We had a small problem converting skeleton
animations from fbx to osgt
format. Turned out that the serializer didn't handle bone names
with
spaces very well (the 3ds studio max biped for instance has
spaces by
default). Here is a small fix for the problem."
2014-04-08 11:08 robert
* src/osgPlugins/obj/obj.cpp: From Pjotr Svetachov, previous obj
"commit broke compilation under visual studio 2013. To use
std::not1 you need to include the functional header. Here is a
fix."
2014-04-07 15:04 robert
* include/osg/BoundingBox, include/osg/BoundingSphere: Fixed build
when using of double BoundingBox/BoundingSphere
2014-04-07 14:17 robert
* src/osgPlugins/obj/obj.cpp: From Jan Peciva, "I am sending four
fixes to obj plugin:
- materialName used to be not stripped of whitespace, making
number of models
fail to load materials; now fixed
- stripping was considering spaces only, thus models using tabs
had problems
to load correctly; fixed
- fixed references to textures; they did not performed conversion
to native
directory separators
- make d (dissolve) takes precedence over Tr (transparency);
there seems to be
a confusion about the Tr item - some claiming 1 to be opaque and
0
transparent, while number of models uses exactly the opposite. d
(dissolve),
if present in the model, does not suffer from this confusion,
thus using it
instead fixes the problem for many many models.
I put many comments to the file concerning d and Tr item as
others may further
investigate. Let me know in the case of any problems."
2014-04-07 14:11 robert
* src/OpenThreads/pthreads/PThread.cpp: From Marcel Pursche, "The
problem is that when OpenThreads is build with the Linux pthreads
implementation all threads inherit the processor affinity from
their parent thread.
This behavior is also described in the pthreads man page
>
> Linux-specific details
> The new thread inherits copies of the calling thread's
capability
> sets (see capabilities(7)) and CPU affinity mask (see
> sched_setaffinity(2)).
>
To prevent this behaviour I wrote a patch that explicitly sets
the affinity mask to all cores of the system, if no specific
affinity was defined with PThread::setProcessorAffinity(unsigned
int) .
Thank you!
"
2014-04-07 14:03 robert
* src/osgPlugins/3ds/lib3ds/lib3ds.h,
src/osgPlugins/3ds/lib3ds/lib3ds_chunktable.c,
src/osgPlugins/3ds/lib3ds/lib3ds_impl.h,
src/osgPlugins/3ds/lib3ds/lib3ds_material.c: From Bjorn Blessing,
"I got bored of the constant reports of “missing chunk 0xA08A”
when reading 3ds-files. After a bit of research I discovered that
this property is related to the advanced transparency settings
for the material in 3D studio. In this case the falloff
parameter. These controls affect the opacity falloff of a
transparent material. And the property chooses whether falloff is
in or out. I have added the property to the file reader BUT no
changes are made to make this property propagate into the
osgMaterial. But at least we get rid of this annoying error
message."
2014-04-07 13:52 robert
* src/osgUtil/RayIntersector.cpp: From Bjorn Hein, "please find
attached a small fix for RayIntersector.cpp.
* Changes are made against trunk
* Reason: crashes when using specific constructor from
RayIntersector
* Info: Line 42: added in constructor
RayIntersector::RayIntersector(const Vec3d& start, const Vec3d&
direction) missing initialisation of _parent
"
2014-04-07 13:48 robert
* include/osg/GL2Extensions: From Paul Martz, "We discussed the
issue of GL_RED_SNORM and GL_RG_SNORM some time ago, but the
issue was never completely resolved. Please see the attached
submission to fix the issue.
osg/GL2Extensions was incorrectly defining GL_RED_SNORM and
GL_RG_SNORM as part of the definitions for OpenGL v3.1. However,
a quick review of the 3.1 spec indicates that these are not part
of the 3.1 standard.
My attached change moves these definitions out of the #ifndef
GL_VERSION_3_1 conditional block, and defines them conditionally
if not already defined. This allows the DDS plugin to build for
GL3.
"
2014-04-04 11:25 robert
* src/osgVolume/Shaders/volume_accumulateSamples_iso_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_iso_tf_frag.cpp:
Fixed iso surface shaders
2014-04-01 18:56 robert
* src/osgVolume/Property.cpp: Improved the setting of sample
density/ratio so that they are consistent
2014-04-01 18:33 robert
* include/osgVolume/MultipassTechnique,
src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_iso_tf_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_lit_tf_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_mip_tf_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_standard_tf_frag.cpp,
src/osgVolume/Shaders/volume_compute_ray_color_frag.cpp,
src/osgVolume/VolumeScene.cpp: Fixed handling of volume tiles
with a region.
2014-03-27 12:47 robert
* include/osgVolume/MultipassTechnique,
include/osgVolume/VolumeTechnique,
src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_iso_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_iso_tf_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_lit_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_lit_tf_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_mip_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_mip_tf_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_standard_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_standard_tf_frag.cpp,
src/osgVolume/Shaders/volume_compute_ray_color_frag.cpp,
src/osgVolume/Shaders/volume_multipass_cube_and_hull_frag.cpp,
src/osgVolume/Shaders/volume_multipass_cube_frag.cpp,
src/osgVolume/Shaders/volume_multipass_frag.cpp,
src/osgVolume/Shaders/volume_multipass_hull_frag.cpp,
src/osgVolume/VolumeScene.cpp: Added cube and hull rendering
support
2014-03-19 17:56 robert
* include/osgVolume/MultipassTechnique,
include/osgVolume/VolumeScene, include/osgVolume/VolumeTechnique,
src/osgVolume/MultipassTechnique.cpp,
src/osgVolume/VolumeScene.cpp: Restructured the handling of
TileData to make it more extensible and flexible.
2014-03-18 18:14 robert
* include/osgPresentation/deprecated/SlideShowConstructor,
include/osgVolume/Property,
src/osgPlugins/p3d/ReaderWriterP3D.cpp,
src/osgPresentation/deprecated/SlideShowConstructor.cpp,
src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp:
Addd ExteriorTransparencyFactorProperty for support of upcomming
functionality of rendering a cube volume with a hull volume
inside it.
2014-03-17 15:54 robert
* include/osgPresentation/deprecated/SlideShowConstructor,
src/osgPlugins/p3d/ReaderWriterP3D.cpp,
src/osgPresentation/deprecated/SlideShowConstructor.cpp,
src/osgVolume/MultipassTechnique.cpp: Added support for animating
volume hulls.
2014-03-13 14:02 robert
* src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp: From Stephan
Huber, "attached is a fix for the rest-http-plugin which should
fix the font-issue reported by Phil. The old implementation did
forward all requests to the internal http-server via user-events.
This prevented error-reporting for missing files, as the request
was accidentally handled by the plugin. As a request for missing
font-file succeeds and returned an empty file, the curl-plugin
hands the data happily to the freetype-plugin which failed trying
to load an empty font-file, obviously.
My fix was to rename the standard request handler to a
specialized user-event-handler which handles only requests for
"/user-event“
So fonts should work on iOS when loaded remotely, even when a
local file is available and with the resthttp-plugin serving the
presentation.
"
2014-03-13 13:59 robert
* src/osgPlugins/CMakeLists.txt: From Stephan Huber, fix for
building lua plugin from local source
2014-03-13 10:28 robert
* include/osgPresentation/deprecated/SlideShowConstructor,
src/osgPlugins/p3d/ReaderWriterP3D.cpp,
src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added
support for directly invoking scripts using <run-script> and
<run-script-file> to enable scripts to interact with each other.
2014-03-12 11:01 robert
* src/osgGA/Widget.cpp,
src/osgPresentation/deprecated/SlideEventHandler.cpp,
src/osgWrappers/serializers/osgPresentation/PresentationInterface.cpp:
Improved support for passing events between scripts and Present3D
application
2014-03-11 10:52 robert
* include/osgPresentation/PresentationInterface,
src/osgPresentation/CMakeLists.txt,
src/osgPresentation/PresentationInterface.cpp,
src/osgWrappers/serializers/osgPresentation/PresentationInterface.cpp:
Added PresentationInterface class to make it more convinient to
access the current presentation from scripting languages
2014-03-10 19:08 robert
* include/osgPresentation/deprecated/SlideEventHandler,
src/osgPresentation/deprecated/SlideEventHandler.cpp: Added
scripting support for JumpData, KeyPosition, HomePosition and
parts of SlideEventHandler that enable dispatching of user
created events.
2014-03-07 11:09 robert
* src/osgGA/Widget.cpp, src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h,
src/osgWrappers/serializers/osg/Switch.cpp: Added ability to
replace callback objects via lua scripts to allow one to override
callbacks.
Added fallback for osgGA::Widget::Extents.
2014-03-06 10:27 robert
* include/osgDB/OutputStream, src/osg/Image.cpp,
src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp,
src/osgDB/PropertyInterface.cpp,
src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgWrappers/serializers/osg/Image.cpp: Added support for
osg::Image to the lua plugin.
2014-03-04 13:36 robert
* src/osgPlugins/lua/LuaScriptEngine.cpp: Implement add, set and
get methods for StateSet.
2014-03-04 13:35 robert
* include/osgDB/PropertyInterface, src/osgDB/PropertyInterface.cpp:
Relaxed the handling of Image objects
2014-03-04 13:34 robert
* src/osgWrappers/serializers/osg/StateSet.cpp: Fixed handling of
OverrideValue
2014-02-28 17:38 robert
* src/osgPlugins/p3d/ReaderWriterP3D.cpp: From Stephan Huber, fix
for handling font paths on a local machine when other files have
been source from a remote machine.
2014-02-27 10:02 robert
* include/osgDB/Serializer, src/osgPlugins/lua/LuaScriptEngine.cpp:
Added MapReverseIterator implementation.
2014-02-26 18:18 robert
* include/osgDB/Serializer, src/osgPlugins/lua/LuaScriptEngine.cpp:
Added MapIteratorObject and support for it in the lua plugin to
provide map iterator functionality.
2014-02-26 11:01 robert
* include/osgDB/Serializer, src/osgPlugins/lua/LuaScriptEngine.cpp:
Added Map serializer size() method and support for it in the lua
plugin. Renamed functions in lua plugin to be more consistent.
2014-02-26 08:26 robert
* include/osg/TransferFunction, include/osg/UserDataContainer,
include/osgDB/PropertyInterface, include/osgDB/Serializer,
src/osgDB/PropertyInterface.cpp,
src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h,
src/osgWrappers/serializers/osg/TransferFunction1D.cpp: Added
support for vector and map containers in osgDB::Serailizer's and
lua plugin.
2014-02-24 10:19 robert
* CMakeLists.txt, include/osg/Geometry, include/osg/Version,
include/osgDB/InputStream, include/osgDB/OutputStream,
include/osgDB/PropertyInterface, include/osgDB/Serializer,
src/osg/Geometry.cpp, src/osgDB/OutputStream.cpp,
src/osgDB/PropertyInterface.cpp,
src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h,
src/osgWrappers/serializers/osg/Array.cpp,
src/osgWrappers/serializers/osg/Geometry.cpp,
src/osgWrappers/serializers/osg/PrimitiveSet.cpp: Added Vector
serialization and support in lua plugin top enable script users
to set/get vector properties such as osg::Array,
osg::PrimitiveSet and children lists.
2014-02-13 18:52 robert
* src/osg/PrimitiveSet.cpp, src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h,
src/osgWrappers/serializers/osg/PrimitiveSet.cpp: Fixed handling
of enums in Lua plugin.
Fixed computation of getNumPrimitives() so that it returns 0 when
PrimitiveSet is zero.
Added missing properties to PrimitiveSet serializers
2014-02-13 11:01 robert
* include/osg/PrimitiveSet,
src/osgWrappers/serializers/osg/Array.cpp,
src/osgWrappers/serializers/osg/PrimitiveSet.cpp: Added inital
cut of PrimitiveSetSet wrappers to scripting
2014-02-12 18:10 robert
* src/osgWrappers/serializers/osg/Array.cpp: Added full range of
Array subclasses to wrappers
2014-02-12 18:03 robert
* include/osgDB/Serializer, src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgWrappers/serializers/osg/Array.cpp: Added initial support
for wrapping osg::Array in a way that can be used via scripting.
2014-02-11 18:18 robert
* include/osgDB/PropertyInterface: Fixed handling of assignment of
User Object's that replace existing Object with the specified
propertyName.
2014-02-11 18:07 robert
* include/osg/UserDataContainer, include/osgDB/PropertyInterface,
src/osgDB/PropertyInterface.cpp,
src/osgPlugins/lua/LuaScriptEngine.cpp: Improved support for
setting/getting properties via the osg::UserDataContainer.
2014-02-11 10:56 robert
* src/osgDB/PropertyInterface.cpp,
src/osgPlugins/lua/LuaScriptEngine.cpp: Quitened down debug
messages
2014-02-11 09:43 robert
* src/osgPlugins/lua/LuaScriptEngine.cpp: Changed implementation of
enums to use strings as lua type to make it easier to do
comparisons and track values
2014-02-10 18:07 robert
* src/osgGA/Widget.cpp,
src/osgWrappers/serializers/osgGA/Widget.cpp: Implemented
Widget::handle, handleImplementation, traverse and
travseImplementation() wrappers to enable them to be extended via
scripting
2014-02-10 16:44 robert
* include/osg/BoundingBox, include/osg/BoundingSphere,
include/osg/ValueObject, include/osgDB/InputStream,
include/osgDB/OutputStream, include/osgDB/PropertyInterface,
include/osgDB/Serializer, include/osgGA/Widget,
src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp,
src/osgDB/PropertyInterface.cpp, src/osgGA/Widget.cpp,
src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h,
src/osgWrappers/serializers/osgGA/Widget.cpp: Added support for
serailizing and scripting BoundingBox and BoundingSphere objects
2014-02-08 17:53 robert
* include/osgDB/Serializer, src/osgDB/PropertyInterface.cpp,
src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgWrappers/serializers/osgGA/Widget.cpp: Fixed handling of
setting member variables via the Serializers when the value is
the default.
Added support for more features of the osgDB::Widget class.
Fixed handling of boolean values in the Lua plugin
2014-02-08 10:39 robert
* include/osgDB/PropertyInterface, include/osgDB/Serializer,
src/osgPlugins/lua/LuaScriptEngine.cpp: Added support for enum's
in the Lua script integration
2014-02-08 10:38 robert
* include/osgGA/Widget: Fixed export
2014-02-07 16:06 robert
* src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/ReaderWriterLua.cpp,
src/osgWrappers/serializers/osgGA/Widget.cpp: Fixed handling of
returns when invoking a script, removed some debug messages,
added a warning message when detecting erronous types.
Added FocusBehaviour enum to osgGA::Widget serialization
2014-02-07 10:46 robert
* include/osgGA/Widget, src/osgWrappers/serializers/osg/Group.cpp,
src/osgWrappers/serializers/osgGA/Widget.cpp: Added initial
Widget wrapper
2014-02-06 17:32 robert
* examples/osgtransferfunction/CMakeLists.txt,
examples/osgtransferfunction/TransferFunctionWidget.h,
examples/osgtransferfunction/Widget.cpp,
examples/osgtransferfunction/Widget.h,
include/osgGA/GUIActionAdapter, include/osgGA/Widget,
src/osgGA/CMakeLists.txt, src/osgGA/Widget.cpp: Moved
experimental Widget class to osgGA
Add computeIntersections() to the osgGA::GUIActionAdapter base
class to enable intersection tests without needing to directly
link to osgViewer.
2014-02-06 17:04 robert
* examples/osgtransferfunction/TransferFunctionWidget.cpp,
examples/osgtransferfunction/TransferFunctionWidget.h,
examples/osgtransferfunction/Widget.cpp,
examples/osgtransferfunction/Widget.h,
examples/osgtransferfunction/osgtransferfunction.cpp: Added
osg::CallbackObject suport to the experiment Widget base class to
enable script language extension of widgets
2014-02-06 11:25 robert
* include/osgDB/PropertyInterface, src/osgDB/PropertyInterface.cpp,
src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h: Added support for casting
objects to allow one to access a parent classes methods.
2014-02-05 11:08 robert
* src/osgPresentation/deprecated/SlideShowConstructor.cpp: Tweaked
the detection of when the position transform for the hull is
required.
2014-02-05 11:07 robert
* include/osgPresentation/deprecated/SlideShowConstructor,
src/osgPlugins/p3d/ReaderWriterP3D.cpp,
src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added
support for a <hull> tag that can be used within <volume> tag.
2014-02-05 11:04 robert
* src/osgDB/XmlParser.cpp: Improved the white space trimming
2014-02-04 16:49 robert
* CMakeLists.txt,
examples/osgtransferfunction/osgtransferfunction.cpp,
src/osgPlugins/lua/CMakeLists.txt, src/osgPlugins/lua/lua-5.2.3,
src/osgPlugins/lua/lua-5.2.3/Makefile,
src/osgPlugins/lua/lua-5.2.3/README,
src/osgPlugins/lua/lua-5.2.3/doc,
src/osgPlugins/lua/lua-5.2.3/doc/contents.html,
src/osgPlugins/lua/lua-5.2.3/doc/logo.gif,
src/osgPlugins/lua/lua-5.2.3/doc/lua.1,
src/osgPlugins/lua/lua-5.2.3/doc/lua.css,
src/osgPlugins/lua/lua-5.2.3/doc/luac.1,
src/osgPlugins/lua/lua-5.2.3/doc/manual.css,
src/osgPlugins/lua/lua-5.2.3/doc/manual.html,
src/osgPlugins/lua/lua-5.2.3/doc/osi-certified-72x60.png,
src/osgPlugins/lua/lua-5.2.3/doc/readme.html,
src/osgPlugins/lua/lua-5.2.3/src,
src/osgPlugins/lua/lua-5.2.3/src/Makefile,
src/osgPlugins/lua/lua-5.2.3/src/lapi.c,
src/osgPlugins/lua/lua-5.2.3/src/lapi.h,
src/osgPlugins/lua/lua-5.2.3/src/lauxlib.c,
src/osgPlugins/lua/lua-5.2.3/src/lauxlib.h,
src/osgPlugins/lua/lua-5.2.3/src/lbaselib.c,
src/osgPlugins/lua/lua-5.2.3/src/lbitlib.c,
src/osgPlugins/lua/lua-5.2.3/src/lcode.c,
src/osgPlugins/lua/lua-5.2.3/src/lcode.h,
src/osgPlugins/lua/lua-5.2.3/src/lcorolib.c,
src/osgPlugins/lua/lua-5.2.3/src/lctype.c,
src/osgPlugins/lua/lua-5.2.3/src/lctype.h,
src/osgPlugins/lua/lua-5.2.3/src/ldblib.c,
src/osgPlugins/lua/lua-5.2.3/src/ldebug.c,
src/osgPlugins/lua/lua-5.2.3/src/ldebug.h,
src/osgPlugins/lua/lua-5.2.3/src/ldo.c,
src/osgPlugins/lua/lua-5.2.3/src/ldo.h,
src/osgPlugins/lua/lua-5.2.3/src/ldump.c,
src/osgPlugins/lua/lua-5.2.3/src/lfunc.c,
src/osgPlugins/lua/lua-5.2.3/src/lfunc.h,
src/osgPlugins/lua/lua-5.2.3/src/lgc.c,
src/osgPlugins/lua/lua-5.2.3/src/lgc.h,
src/osgPlugins/lua/lua-5.2.3/src/linit.c,
src/osgPlugins/lua/lua-5.2.3/src/liolib.c,
src/osgPlugins/lua/lua-5.2.3/src/llex.c,
src/osgPlugins/lua/lua-5.2.3/src/llex.h,
src/osgPlugins/lua/lua-5.2.3/src/llimits.h,
src/osgPlugins/lua/lua-5.2.3/src/lmathlib.c,
src/osgPlugins/lua/lua-5.2.3/src/lmem.c,
src/osgPlugins/lua/lua-5.2.3/src/lmem.h,
src/osgPlugins/lua/lua-5.2.3/src/loadlib.c,
src/osgPlugins/lua/lua-5.2.3/src/lobject.c,
src/osgPlugins/lua/lua-5.2.3/src/lobject.h,
src/osgPlugins/lua/lua-5.2.3/src/lopcodes.c,
src/osgPlugins/lua/lua-5.2.3/src/lopcodes.h,
src/osgPlugins/lua/lua-5.2.3/src/loslib.c,
src/osgPlugins/lua/lua-5.2.3/src/lparser.c,
src/osgPlugins/lua/lua-5.2.3/src/lparser.h,
src/osgPlugins/lua/lua-5.2.3/src/lstate.c,
src/osgPlugins/lua/lua-5.2.3/src/lstate.h,
src/osgPlugins/lua/lua-5.2.3/src/lstring.c,
src/osgPlugins/lua/lua-5.2.3/src/lstring.h,
src/osgPlugins/lua/lua-5.2.3/src/lstrlib.c,
src/osgPlugins/lua/lua-5.2.3/src/ltable.c,
src/osgPlugins/lua/lua-5.2.3/src/ltable.h,
src/osgPlugins/lua/lua-5.2.3/src/ltablib.c,
src/osgPlugins/lua/lua-5.2.3/src/ltm.c,
src/osgPlugins/lua/lua-5.2.3/src/ltm.h,
src/osgPlugins/lua/lua-5.2.3/src/lua.c,
src/osgPlugins/lua/lua-5.2.3/src/lua.h,
src/osgPlugins/lua/lua-5.2.3/src/lua.hpp,
src/osgPlugins/lua/lua-5.2.3/src/luac.c,
src/osgPlugins/lua/lua-5.2.3/src/luaconf.h,
src/osgPlugins/lua/lua-5.2.3/src/lualib.h,
src/osgPlugins/lua/lua-5.2.3/src/lundump.c,
src/osgPlugins/lua/lua-5.2.3/src/lundump.h,
src/osgPlugins/lua/lua-5.2.3/src/lvm.c,
src/osgPlugins/lua/lua-5.2.3/src/lvm.h,
src/osgPlugins/lua/lua-5.2.3/src/lzio.c,
src/osgPlugins/lua/lua-5.2.3/src/lzio.h: Added lua-5.2.3 as
source code so it can be optinally built as part of the lua
plugin, making it possible to work out of the box across all
platforms with needing lua as an external dependency.
Added the Cmake option OSG_USE_LOCAL_LUA_SOURCE to control
whether to build and use the Lua source code in the lua plugin,
or look for lua as an external dependency.
2014-02-04 16:46 robert
* src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added test code for
nesting a <hull> within a volume tag.
2014-02-04 11:24 robert
* src/osgPlugins/CMakeLists.txt, src/osgPlugins/lua/CMakeLists.txt:
From Stephan Huber, added support for compile source code of lua
with the lua plugin
2014-02-03 15:35 robert
* src/osgVolume/Shaders/volume_tf_mip_frag.cpp: Fixed error in the
computation of tex coords of Maximum Intensity Projection +
Transfer Function rendering.
2014-01-31 19:18 robert
* src/osgText/Glyph.cpp: Replaced C cast to long with a
static_cast<const void*>() to avoid a build error under Mingw 64.
2014-01-31 16:20 robert
* examples/osgpresentation/osgpresentation.cpp,
include/osg/ScriptEngine, src/osg/ScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added
osg::CallbackObject to be used to extend C++ class from scripting
languages by providing callback objects assigned to the
osg::Object UserDataContainer, with the CallbackObject's Name
used to map the "method" provided by the CallbackObject. The
CallbackObject is implemented by the script engine to provide the
neccessary glue to invoking the script with the appropriate input
parameters and handling the output parameters.
To the Lua plugin added support for assigned lua functions to C++
osg::Objects via the new osg::CallbackObject mechanism. To invoke
the scripts function from C++ one must get the CallbackObject and
call run on it.
Renamed ScriptCallback to ScriptNodeCallback to avoid possibly
confusion between osg::CallbackObject and the ScriptNodeCallback.
2014-01-29 11:01 robert
* ChangeLog: Updated ChangeLog
2014-01-28 16:49 robert
* include/osgGA/MultiTouchTrackballManipulator: From Kristofer
Tingdahl, made method virtual
2014-01-28 16:48 robert
* CMakeModules/OsgMacroUtils.cmake: Fixed MingW build's handling of
debug d postfix.
2014-01-28 15:28 robert
* src/osgPlugins/cfg/ConfigParser.cpp: Removed the invocation of
gcc on all platforms
2014-01-28 11:01 robert
* examples/osgscalarbar/osgscalarbar.cpp, src/osgSim/ScalarBar.cpp:
From Kristofer Tingdahl, "the vertical bar is upside down, and
hence not as the documentation says it should be. This is
corrected with this patch"
From Robert Osfield, changed the example so that the vertical and
horizon scalar bars are rotated to the XZ plane so you can see
them with the default viewer's camera orientation.
Tweaked the positioning of title text of vertic scalar bar to
avoid overlap of text.
2014-01-27 15:43 robert
* include/osgViewer/api/Win32/GraphicsWindowWin32: Removed
unimplemented method
2014-01-24 17:31 robert
* src/osg/Geometry.cpp: From Laurens Voerman, "I experienced a
crash in Geometry::fixDeprecatedData(), on certain files, and
brought the problem down to a very simple test file, attached as
test3.zip.
There are two problems:
1> for DrawElementsUShortPrimitiveType (and UInt) the
source_pindex still equals -1 and causes a crash
in DrawElementsUBytePrimitiveType source_pindex is incremented,
and in DrawElementsU(Short/Int)PrimitiveType primitiveNum is
incremented, but never used
2> The drawelements need to be rewritten as the vertices are
reordered.
created a patch for osg stable branch(r14038): attached as
Geometry-osg-3.2.zip
and for svn brach(r14044): attached as Geometry_osg_svn.zip"
2014-01-24 17:06 robert
* src/osg/FrameBufferObject.cpp: From Aurelien Albert, "In the
"apply" method of osg::FrameBufferObject, the draw buffers are
always enabled, even if the target is only "READ_FRAMEBUFFER".
This can lead to inconsistency if you bind a framebuffer with
multiple attachments in DRAW mode and then a framebuffer with
different attachment count in READ mode (for example to manually
"blit" from a FBo to another).
On some ATI cards (at least RADEON HD) this also leads to an
"incomplete " FBO status
I've added a test to enable drawbuffers only if target is "DRAW"
or "READ_DRAW", this solves my problems on ATI cards."
2014-01-24 16:45 robert
* src/osg/KdTree.cpp: From Michael Schanne, "small fix for a
duplicate OR operand in KdTree.cpp."
2014-01-24 16:28 robert
* CMakeModules/FindCOLLADA.cmake: From Torben Dannahuer, "modified
findcollada.cmake which can now detect Boost 1.55 libraries,
which are used by Collada in my 3rdParty package"
2014-01-24 16:24 robert
* src/osgPlugins/dxf/dxfEntity.cpp, src/osgPlugins/txf/TXFFont.cpp:
From Torben Dannhauer, VisualStudio 2013 build fixes
2014-01-24 16:19 robert
* examples/osgscalarbar/osgscalarbar.cpp, src/osgSim/ScalarBar.cpp:
From Kristofer, "The osgSim::ScalarBar has a problem in that if
the scalarbar has a color in one end that co-incides with the
background color, one cannot see where the scalarbar ends. With
this patch, we add a line around the perimiter of the bar to mark
it.
Secondly, we thought the text-annotation missed ticks that mark
out precisely where on the bar the texts relate to, so we added
that as well."
2014-01-24 16:01 robert
* src/osgPlugins/ply/plyfile.cpp: From Marc Helbling, "I am sending
a small fix in the PLY pseudo-loader; the extension was checked
in plyfile.cpp thus preventing the loading of any .PLY file
(extension in uppercase). The extension filtering is already
handled by ReaderWriter::acceptsExtension in a case unsensitive
way."
2014-01-24 15:40 robert
* src/osgQt/GraphicsWindowQt.cpp,
src/osgQt/QGraphicsViewAdapter.cpp,
src/osgShadow/ViewDependentShadowMap.cpp,
src/osgVolume/VolumeScene.cpp,
src/osgWrappers/deprecated-dotosg/osg/StateSet.cpp: Fixed
warnings
2014-01-24 14:26 robert
* src/osgPlugins/cfg/ReaderWriterCFG.cpp: Changed the handling of
single window configurations so that simply reuse the
View::getCamera() instead of creating a slave.
2014-01-24 12:01 robert
* include/osg/Texture2DArray, include/osg/Texture2DMultisample:
Added a getModeUsage() method that prevents any mode being
automatically associated with these Texture types that are only
usable using non fixed function pipeline.
2014-01-24 11:37 robert
* src/osgViewer/Viewer.cpp: Fixed crash when reading a viewer
configuration file where the EventVisitor was being re-assigned
but left a dangling pointer
2014-01-24 10:10 robert
* src/osgPlugins/osc/OscSendingDevice.cpp,
src/osgPresentation/deprecated/PickEventHandler.cpp: From Stephan
Huber, "attached is a new zip containing two small fixes:
* forwarded touch-events do have a correct input-range from 0 ..
1
* I refactored sending touch-events per osc so the receiver can
detect a TOUCH_ENDED better"
2014-01-23 19:55 robert
* src/osgPlugins/3ds/WriterCompareTriangle.cpp,
src/osgPlugins/3ds/WriterCompareTriangle.h,
src/osgPlugins/3ds/lib3ds/lib3ds_file.c,
src/osgPlugins/dxf/ReaderWriterDXF.cpp,
src/osgPlugins/lwo/lwo2parser.h, src/osgPlugins/zip/unzip.cpp,
src/osgWrappers/deprecated-dotosg/osg/Texture.cpp: Fixed warnings
2014-01-23 16:48 robert
* include/osg/ComputeBoundsVisitor,
src/osg/ComputeBoundsVisitor.cpp: From Kristofer Tingdahl,"we
have a bunch of classes that inherit osg::Node, and they create
their own, internal geometry which is passed into the render
bucket at the cull-traversal. Last week, we realised that these
classes are not accounted for when doing an ComputeBoundVisitor-
traversal, as there is no specialization in ComputeBoundVisitor
for them.
One solution is naturally to create a new class that would
inherit the osg::ComputeBoundVisitor, and use that. I don't like
that idea as the ComputeBoundVisitor does actually have what I
need - it is only hidden in a protected function.
I am therefor suggesting a slight generalization of the
ComputeBoundVisitor with the attached patch, which is tested.
The patch has two parts:
we add applyBBox() so that one can use that in a customized
traverse-function and add a bbox to the visitor. I considered
calling this function expandByBBox(), but I though applyBBox was
better.
The MatrixStack is made available to the outside world. That
enables a traverse-function to do whatever it wishes.
I do actually only need one of the two, as I can implement what I
wish either way, but adding getMatrixStack() will make more
generic expansions possible.
"
From Robert Osfield, changed the name of the new applyBBox(..)
method to applyBoundingBox(..) to keep it's naming more
consistent with the rest of the OSG.
2014-01-23 15:37 robert
* applications/present3D/deprecated/present3D.cpp,
examples/osgviewerIPhone/iphoneViewerAppDelegate.mm,
include/osgGA/GUIEventAdapter,
include/osgPresentation/deprecated/SlideEventHandler,
src/osgGA/GUIEventAdapter.cpp,
src/osgGA/MultiTouchTrackballManipulator.cpp,
src/osgPlugins/osc/OscReceivingDevice.cpp,
src/osgPlugins/osc/OscSendingDevice.cpp,
src/osgPlugins/osc/OscSendingDevice.hpp,
src/osgPlugins/p3d/ReaderWriterP3D.cpp,
src/osgPresentation/deprecated/KeyEventHandler.cpp,
src/osgPresentation/deprecated/PickEventHandler.cpp,
src/osgViewer/GraphicsWindowCocoa.mm,
src/osgViewer/GraphicsWindowIOS.mm, src/osgViewer/Viewer.cpp:
From Stephan Huber, "attached are some fixes to the osc-plugin
and the touch-implementations for iOS and os x and other small
bugfixes. These fixes will normalize the orientation of the touch
points, and transmitting the touch points over osc via the
TUIO-protocol works now more robustly between two
osg-applications.
I added a new tag to p3d called forward_touch_event_to_device and
renamed the existing forward_event_to_device to
forward_mouse_event_to_device. This new tag will transmit touches
to the virtual trackpad as touch events. I added the
MultitouchTrackball to the p3d-app so zooming and moving a model
remotely should now work, if you use
forward_touch_event_to_device. I kept (and fixed)
forward_mouse_event_to_device for background compatibility, so
old presentations works as in previous versions, without the
ability to zoom + scale. of course.
forward_touch_event_to_device needs some more testing, (e.g. with
image-streams and keystone, afaik there’s no support for
touch-events...) but for a first version it works nice.
"
2014-01-23 10:56 robert
* src/osgVolume/VolumeTechnique.cpp: Removed debug message
2014-01-23 10:50 robert
* src/osgVolume/Property.cpp: Changed the TransprencyProperty range
to 0 to 2.0 to enable forcing opaque qualities on fragments
2014-01-23 10:11 robert
* src/osgDB/ObjectWrapper.cpp: Cleaned up debug message.
2014-01-23 10:09 robert
* CMakeLists.txt, examples/osgviewerQt/osgviewerQt.cpp: Cleaned up
the Qt find package, and made changed the default threading model
to SingleThreaded when using Qt5 to avoid crash due to
regresssion since Qt4.
2014-01-23 09:41 robert
* src/osgUtil/GLObjectsVisitor.cpp: Added clean up of osg::Program
that are applied by the GLObjectsVisitor, which addresses a state
leak that creates GL error once the main scene graph is rendered.
2014-01-23 07:59 robert
* src/osg/StateSet.cpp: Added GL_TEXTURE_2D_MULTISAMPLE to texture
mode list.
2014-01-22 17:29 robert
* include/osgViewer/api/Win32/GraphicsWindowWin32: Made protected
methods virtual to allow subclassing to customize more aspects of
the window setup.
2014-01-22 16:29 robert
* src/osgPlugins/p3d/ReaderWriterP3D.cpp: Refactored .p3d loader to
make it less strict about the tag, property and value strings
when matching them to supported values.
Examples of supported matches are:
<Slide> and <slide> will be treated the same
<bgcolor>WHITE</bgcolor> and <bgcolor>White</bgcolor> will be
treated the same
<text alignment="TOP_LEFT"</text> and <text alignment="top
left"</text>, <text alignment="TopLeft"</text> will all be
treated the same
2014-01-22 11:25 robert
* src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for
sampleRatio and sampleRatioWhenMoving <volume> properties
2014-01-21 18:58 robert
* examples/osgtransferfunction/TransferFunctionWidget.cpp: Build
fixes for when ref_ptr<> automatic type conversion is turned off
2014-01-21 18:48 robert
* include/osgPresentation/deprecated/SlideShowConstructor,
src/osgPresentation/deprecated/PickEventHandler.cpp,
src/osgPresentation/deprecated/SlideEventHandler.cpp,
src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added
support for osgVolue::SampleRatioProperty. Fixed build errors
when compiling with ref_ptr<> automatic type conversion.
2014-01-21 18:31 robert
* src/osgVolume/MultipassTechnique.cpp,
src/osgVolume/RayTracedTechnique.cpp,
src/osgVolume/VolumeScene.cpp: Build fixes for when ref_ptr<> has
no auto type conversion
2014-01-21 17:27 robert
* src/osgGA/MultiTouchTrackballManipulator.cpp: Fixed build error
2014-01-21 17:00 robert
* src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp: Fixed build
error due to typo.
2014-01-20 17:23 robert
* src/osgVolume/MultipassTechnique.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_iso_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_iso_tf_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_lit_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_lit_tf_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_mip_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_mip_tf_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_standard_frag.cpp,
src/osgVolume/Shaders/volume_accumulateSamples_standard_tf_frag.cpp,
src/osgVolume/Shaders/volume_compute_ray_color_frag.cpp,
src/osgVolume/Shaders/volume_multipass_frag.cpp,
src/osgVolume/Shaders/volume_multipass_vert.cpp: Integrated
multipass volume rendering shaders from OpenSceneGraph-Data
2014-01-20 17:03 robert
* examples/osg2cpp/osg2cpp.cpp: Changed the default directory for
the output files to be the current working directory,
with the --write-to-source-file-directory added to allow one to
have the original behaviour
of writing to the same directory as the original source file.
2014-01-20 16:21 robert
* include/osgVolume/MultipassTechnique,
src/osgVolume/MultipassTechnique.cpp: Removed nolonger used code
paths
2014-01-20 15:54 robert
* src/osgVolume/MultipassTechnique.cpp: Disable depth test for
rendering of hull backface
2014-01-20 15:10 robert
* include/osg/GL: From Stephan Huber, "recent commits regarding
GLuint64EXT broke the build for GLES1 and GLES2. Attached you’ll
find a fix which hopefully work for every platform."
2014-01-20 11:00 robert
* include/osgManipulator/AntiSquish,
src/osgManipulator/AntiSquish.cpp: From Kristofer Tingdahl,
reimplement of AntiSquish node to avoid the use of an update
callback.
From Robert Osfield, small ammendments to clean up header.
2014-01-20 10:40 robert
* include/osgQt/GraphicsWindowQt, src/osgQt/GraphicsWindowQt.cpp:
From Roni Zanolli,Added use of Qt's new devicePixelRatio() method
to assist with handling the upscalling of resolution on iPhone
for "retina" displays.
From Robert Osfield, changed Roni's code to use a #define
GETDEVICEPIXELRATIO to access the versioned Qt devicePixelRatio()
method to avoid duplication of the Qt version checking.
2014-01-17 18:20 robert
* src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp: Fixed warning
2014-01-17 18:20 robert
* src/osgDB/CMakeLists.txt: From Stephan Huber, fix for OSX build
issue
2014-01-17 14:02 robert
* src/osgQt/CMakeLists.txt: From Kristoger Tingdahl, "the patch I
sent to src/osgQt/CMakeModules.txt did not do the work on
windows. I have fixed that, and also made it more generic so
there is no special handling of qt5.2, but all qt5 are the same.
I have tested this on:
mac/qt5.2
linux/qt5.2
windows/qt5.2, and
mac/qt5.1
All platforms perform as expected.
The previous fix removed the -f flag to the moc-pre-processor,
but on windows, it turned out that -f "osgQt/QGraphicsViewer" was
needed.
This becomes an include-statement in the file generated by moc
which is needed for compiling it. I ask you consider this patch
for the trunk and the 3.2 branch.
Secondly, I wonder if it would be possible to apply my patch for
FindRSVG.cmake from 22nd November in the 3.2 branch.
In short, the version of librsvg must be equal or higher to 2.35:
PKG_CHECK_MODULES(RSVG librsvg-2.0>=2.35)
"
2014-01-17 13:59 robert
* include/osgGA/EventHandler, include/osgGA/GUIEventHandler: From
Jordi Torres, "We have a code using gcc with -Wextra flag and
using OSG as a third party library. It does not compile when
importing <osgViewer/Viewer> failing in EventHandler and
GUIEventHandler:
....
GUIEventHandler: In copy constructor
'osgGA::GUIEventHandler::GUIEventHandler(const
osgGA::GUIEventHandler&, const osg::CopyOp&)':
/include/osgGA/GUIEventHandler:56:9: error: base class 'class
osg::Object' should be explicitly initialized in the copy
constructor [-Werror=extra]
It seems the diamond problem:
A = osg::Object
/ \
/ \--> Virtual inheritance
B C
\ /
\ /
D = EventHandler
|
|
E = GUIEventHandler
The most derived class(E) handles the instantiation of A
(osg::Object), but all have to be responsible in case they are
the ones instantiated.
In case A is not initialized in the copy constructor of derived
classes the default constructor will be called, which seems a
bug.
I've added osg::Object to the initalization list of EventHandler
and GUIEventHandler copy constructors, because both classes are
instantiables.
"
2014-01-17 13:54 robert
* src/osgPlugins/curl/ReaderWriterCURL.cpp: From Jordi Torres,
"Fixed a typo in ReaderWriterCURL::ReaderWriterCURL() changed
Psuedo for Pseudo."
2014-01-17 12:40 robert
* src/osgVolume/VolumeScene.cpp: Fixed handling of background
colours.
2014-01-16 17:26 robert
* src/osgVolume/MultipassTechnique.cpp,
src/osgVolume/VolumeScene.cpp: Removed old redundent TexGen
usage.
2014-01-16 17:17 robert
* include/osgPresentation/deprecated/SlideShowConstructor,
src/osgPlugins/p3d/ReaderWriterP3D.cpp,
src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added
hull="hul-filename" property support to <volume> tag that can
used thus:
<layer>
<volume renderer="MultiPass"
hull="cow.osgt.0,-2,-4.trans.50,50,50.scale">CardiacCT</volume>
</layer>
2014-01-16 16:08 robert
* include/osgVolume/MultipassTechnique,
include/osgVolume/VolumeScene,
src/osgVolume/MultipassTechnique.cpp,
src/osgVolume/VolumeScene.cpp: Added support for controlling the
extents of the volume rendering by nesting the hull underneath
VolumeTile. Currently only supported by the new
osgVolume::MultipassTechnique
2014-01-09 11:13 robert
* include/osg/GL: From Paul Martz, build fix for Windows GL3 build
2014-01-09 09:41 robert
* include/osgVolume/VolumeScene, src/osgVolume/VolumeScene.cpp:
Added per TileData RTT Camera in prep for rendering backface of
volume to a depth texture
2014-01-08 15:56 robert
* src/osgVolume/VolumeScene.cpp: Changed near/far values to use
CullVisitor::value_type and use std::numeric_limits<>.
2014-01-08 10:33 robert
* src/osgPlugins/dae/daeRMaterials.cpp: From Farshid Lashkari,
"I've attached a fix for the Collada loader that prevents a crash
with some files containing textures. I also converted an
OSG_NOTICE to OSG_INFO to be consistent with other log messages
within the loader."
2014-01-08 10:31 robert
* src/osgPlugins/dae/daeRMaterials.cpp: Removed more odd characters
2014-01-08 10:28 robert
* src/osgPlugins/dae/daeRMaterials.cpp: Removed more odd characters
2014-01-08 10:24 robert
* src/osgPlugins/dae/daeRMaterials.cpp: Removed odd characters
2014-01-08 10:16 robert
* include/osgManipulator/AntiSquish: Moved destructor to protected
2014-01-07 19:06 robert
* include/osg/GL: Refined the GLint64 definitions
2014-01-07 18:32 robert
* include/osg/Drawable, include/osg/State: Removed duplicated
instances of GLint64EXT declarations
2014-01-07 16:43 robert
* CMakeModules/FindAsio.cmake, CMakeModules/FindZeroConf.cmake:
Removed execute properties via svn propdel svn:executable file
2014-01-07 16:29 robert
* src/osgPlugins/dae/daeWTransforms.cpp: From Farshid Lashkari,
"I've attached a small change to the DAE writer to support
writing out unknown transform types. It will essentially treat it
as a matrix transform, using the the local to world matrix
value."
2014-01-07 16:18 robert
* include/OpenThreads/Version, src/OpenThreads/CMakeLists.txt:
Bumped SO_VERSION number of OpenThreads to avoid conflicts with
Debian SO_VERSION bump
2014-01-07 16:15 robert
* examples/osgcomputeshaders/osgcomputeshaders.cpp: From Sebastian
Messerschmidt, "Original shader was not running on various NVidia
cards due to old syntax in shader."
2014-01-07 11:01 robert
* include/osg/State: Added State::getMaxTextureCoords() and
State::getMaxTextureUnits() inline methods.
2014-01-06 17:19 robert
* src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgWrappers/serializers/osg/Switch.cpp: Added support for
Switch::set/getValue()
2014-01-06 16:58 robert
* src/osgWrappers/serializers/osg/Geode.cpp,
src/osgWrappers/serializers/osg/Group.cpp: Added
Group::setChild(..) and Geode::setDrawable(..) MethodObjects
2014-01-06 15:46 robert
* src/osgPlugins/lua/GeodeMethods.cpp,
src/osgPlugins/lua/GroupMethods.cpp,
src/osgPlugins/lua/MethodObject.cpp,
src/osgPlugins/lua/MethodObject.h: Removed the prototype
MethodObject classes
2014-01-06 15:45 robert
* include/osgDB/ObjectWrapper, include/osgDB/PropertyInterface,
src/osgDB/ObjectWrapper.cpp, src/osgDB/PropertyInterface.cpp,
src/osgPlugins/lua/CMakeLists.txt,
src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h,
src/osgPlugins/lua/MethodObject.h,
src/osgWrappers/serializers/osg/Geode.cpp,
src/osgWrappers/serializers/osg/Group.cpp: Moved
osgDB::MethodObject from lua plugin into osgDB, added support for
running methods via the osgDB::PropertyInterface class.
Updated lua plugin to use new osgDB::PropertyInterface to run
methods.
Added addChild/removeChild() etc to Group.cpp, and
addDrawable/removeDrawable() etc. to Geode.cpp serializers.
2014-01-06 10:23 robert
* CMakeModules/FindOSG.cmake: Renamed the OSGSIM cmake variable to
OSGSIM_LIBRARY to be consistent with the rest of the variables.
2014-01-03 14:36 robert
* src/osgPlugins/V8/V8ScriptEngine.cpp,
src/osgPlugins/V8/V8ScriptEngine.h,
src/osgPlugins/python/PythonScriptEngine.cpp,
src/osgPlugins/python/PythonScriptEngine.h: Fixed build of V8 and
Python plugins
2013-12-25 17:36 robert
* examples/osgpresentation/osgpresentation.cpp,
include/osg/ScriptEngine, include/osg/ValueObject,
src/osg/ScriptEngine.cpp, src/osgPlugins/lua/CMakeLists.txt,
src/osgPlugins/lua/GeodeMethods.cpp,
src/osgPlugins/lua/GroupMethods.cpp,
src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h,
src/osgPlugins/lua/MethodObject.cpp,
src/osgPlugins/lua/MethodObject.h,
src/osgPlugins/lua/ReaderWriterLua.cpp: Preliminary support for
wrapping methods in the lua script plugin.
2013-12-20 09:57 robert
* include/osgPresentation/deprecated/SlideShowConstructor,
src/osgPlugins/p3d/ReaderWriterP3D.cpp,
src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added
<switch> tag to .p3d to allow one to provide multiple ways to
render children within a layer.
2013-12-19 17:13 robert
* src/osgQt/CMakeLists.txt: From Kristofer Tingdahl, "the syntax of
the moc executable has changed between 5.1.1 and 5.2.0 versions
of qt (see below). The difference is that the <file> argument has
become mandatory after the -f option.
Hence, moc will complain when osg throws in a -f without anything
after it. Hence I propose removing the -f on Qt5 builds. I have
tested building without -f on both qt520 and qt511, and that
works well.
The attached src/osgQt/CMakeLists.txt that can be patched into
3.2 safely. For the trunk, I would consider dropping the check on
the version, and simply remove the option on qt5. I have tested
that on qt5.1.1, and that worked fine. Question is however if it
works on qt5.0. Probably it does, so the question is simplicity
of CMakeList.txt vs safety."
2013-12-19 15:10 robert
* CMakeLists.txt: From Sylvain Marie, When compiling OSG for the
iOS simulator, providing both -miphoneos-version-min and
-mios-simulator-version-min doesn’t please clang (tested on OS X
10.9.0 with Xcode 5.0.1).
Here is a small change (against commit
da597ab16945c572a2ad2f4f26fcef38ed21b074) in the CMakeLists.txt
to avoid this situation.
2013-12-19 13:53 robert
* src/osgPlugins/lua/LuaScriptEngine.cpp: From Michal Durkovic,
"I’m building current trunk on Mac OS X 10.9 and have encountered
this error during linking of osgdb_lua plugin:
Undefined symbols for architecture x86_64:
"lua::LuaScriptEngine::pushValue(osg::Quat const&) const",
referenced from:
PushStackValueVisitor::apply(osg::Quat const&) in
LuaScriptEngine.o
"lua::LuaScriptEngine::pushValue(osg::Plane const&) const",
referenced from:
PushStackValueVisitor::apply(osg::Plane const&) in
LuaScriptEngine.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to
see invocation)
Looks like LuaScriptEngine was missing implementation of those 2
member functions. Fixed src/osgPlugins/lua/LuaScriptEngine.cpp
file in attachment.
"
2013-12-19 13:49 robert
* applications/present3D/deprecated/present3D.cpp,
include/osgPresentation/deprecated/SlideEventHandler,
src/osgPlugins/p3d/ReaderWriterP3D.cpp,
src/osgPresentation/deprecated/PickEventHandler.cpp,
src/osgPresentation/deprecated/SlideEventHandler.cpp: From
Stephan Hunber, "attached you’ll find some changes to osg/p3d:
* a new command-line-option to present3d and a new option to the
p3d-plugin to suppress any found <env> tags
* a new command-line-option to present3d to forward mouse-events
via osgGA::Device (defaults to off) so we can test the
interface-files with present3d better
* I added a new attribute forward_to_devices for click_to_event
to forward the event to all attached devices instead of handling
the event locally. This will fix the annoyance with the new
interface-files when toggling polygon-mode or switching light
on/off.
Here’s an example:
<click_to_event forward_to_devices="true">0x72</click_to_event>
"
2013-12-19 13:44 robert
* src/osgDB/CMakeLists.txt, src/osgDB/FileUtils.cpp,
src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm: From
Stephan Hunber, "I found some time and ported osgDB::FileUtils
and DarwinUtils across new apis to fix the warnings about
deprecated api-usage.
* osgDB::FileUtils uses now the Cocoa-API to determine the paths
of the application-support-folder
* DarwinUtils uses now modern functions of the quartz-api to get
and set screen-resolutions. Removed some of the osg-deprecated
stuff.
"
2013-12-19 10:02 robert
* include/osgPresentation/deprecated/SlideShowConstructor,
src/osgPlugins/p3d/ReaderWriterP3D.cpp,
src/osgPresentation/deprecated/SlideShowConstructor.cpp:
Implemented support for calling scripts from with Present3D.
2013-12-17 12:18 robert
* include/osgPresentation/deprecated/SlideShowConstructor,
src/osgPlugins/p3d/ReaderWriterP3D.cpp,
src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added
support for new osgVolume::MultiPassTechnique to Present3D. To
use add property renderer="MultiPass":
<volume renderer="MultiPass">MyVolumeData</volume>
2013-12-17 10:52 robert
* src/osgVolume/MultipassTechnique.cpp: Added experimental image 3d
downsample function.
2013-12-16 11:28 robert
* include/osg/Texture, src/osg/Texture.cpp: Removed the unused
Texture::Extensions::numTextureUnits()
2013-12-13 12:38 robert
* examples/osgvolume/osgvolume.cpp,
include/osgVolume/MultipassTechnique, src/osg/Program.cpp,
src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp:
Implemented ability to switch between different shaders with new
MultipassTechnique
2013-12-12 09:53 robert
* examples/osgvolume/osgvolume.cpp, include/osgVolume/Property,
include/osgVolume/RayTracedTechnique,
include/osgVolume/VolumeTechnique,
src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp,
src/osgVolume/RayTracedTechnique.cpp,
src/osgVolume/VolumeTechnique.cpp: Added SampleRatioWhenMoving
property and support to new osgVolume::MultipassTechnique.
2013-12-12 09:51 robert
* src/osgViewer/Renderer.cpp: Applied unquie
CullVisitor::Identifier rather than reusing the cloned one.
2013-12-11 17:20 robert
* src/osgUtil/LineSegmentIntersector.cpp: Changed epsilon to 1e-5
to address picking problems with planaer objects
2013-12-11 12:00 robert
* examples/osgvolume/osgvolume.cpp,
src/osgVolume/MultipassTechnique.cpp: Added initial support for
1D transfer functions to MultipassTechnique
2013-12-10 13:38 robert
* include/osgVolume/VolumeScene, src/osgVolume/VolumeScene.cpp:
Added support for handling viewports with offset origins, and
with it split stereo.
2013-12-10 10:43 robert
* examples/osgvolume/osgvolume.cpp, include/osgVolume/Property,
src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp:
Introduced SampleRatioValueProperty for more intuitive control of
how many samples to take when volume rendering
2013-12-09 10:39 robert
* src/osgVolume/MultipassTechnique.cpp,
src/osgVolume/VolumeScene.cpp: Improvements to new
MultipassTechnique
2013-12-06 19:31 robert
* examples/osgvolume/osgvolume.cpp, include/osgUtil/CullVisitor,
include/osgVolume/Locator, include/osgVolume/VolumeScene,
src/osgVolume/Locator.cpp, src/osgVolume/MultipassTechnique.cpp,
src/osgVolume/RayTracedTechnique.cpp,
src/osgVolume/VolumeScene.cpp: Further work on new
MultipassTechnique/VolumeScene.
2013-12-06 09:35 robert
* src/osgPlugins/freetype/FreeTypeFont.cpp: From Mike Krus, compile
fix to enable compiling across a wider set of versions.
2013-11-26 19:03 robert
* include/osgVolume/VolumeScene,
src/osgVolume/MultipassTechnique.cpp,
src/osgVolume/VolumeScene.cpp: Added support for using shaders to
render the RTT textures with depth
2013-11-26 10:38 robert
* include/osgDB/ReadFile, src/osgVolume/RayTracedTechnique.cpp:
Replaced readShaderFile() usage to readRefShaderFile()
2013-11-25 17:36 robert
* examples/osgvolume/osgvolume.cpp, include/osgVolume/VolumeScene,
src/osgVolume/VolumeScene.cpp: Added initial render to texture
functionality into osgVolume::VolumeScene
2013-11-22 10:27 robert
* src/osg/glu/libutil/mipmap.cpp,
src/osgGA/MultiTouchTrackballManipulator.cpp,
src/osgShadow/DebugShadowMap.cpp,
src/osgViewer/ViewerEventHandlers.cpp: Warning fixes
2013-11-22 09:48 robert
* CMakeModules/FindRSVG.cmake, include/osg/ValueObject: From
Kristofer Tingdahl, Build fix for svg plugin that makes sure the
version of librsvg is at sufficient, and fixed a missing virtual
destructor warning.
2013-11-22 09:38 robert
* include/osg/ScriptEngine, include/osgPresentation/Cursor,
include/osgPresentation/deprecated/Timeout,
include/osgShadow/ShadowSettings, include/osgViewer/Keystone,
src/osg/glu/libutil/error.cpp, src/osgPresentation/Group.cpp,
src/osgViewer/config/WoWVxDisplay.cpp: Removed trailing spaces,
added missing return to last lines
2013-11-21 18:17 robert
* examples/osgvolume/osgvolume.cpp,
include/osgVolume/MultipassTechnique,
include/osgVolume/VolumeScene, src/osgVolume/CMakeLists.txt,
src/osgVolume/MultipassTechnique.cpp,
src/osgVolume/VolumeScene.cpp: Added new osgVolume::VolumeScene
and osgVolume::MultipassTechnique class shells that will be
filled out to provide multi-pass volume rendering that handles
mixing of
3D meshes with volume rendering and segmentation of volumes via a
user defined hull mesh.
2013-11-21 14:21 robert
* include/osgGA/GUIEventHandler, src/osgGA/GUIEventHandler.cpp:
From Stephan Huber, "CLang / LLVM on OS X seems to have a problem
compiling the osgGA-serializer. (It was reported before on the
list, but the error is hard to track as it shows up only
sometimes)
I fixed the compile-error with a dedicated destructor of
osgGA::GUIEventHandler"
2013-11-21 14:08 robert
* src/osgDB/InputStream.cpp, src/osgPlugins/ive/Image.cpp: From
Farshid Lashkari, " recently encountered an issue attempting to
load an IVE file generated by an older version of OSG. The file
contained dxt1 compressed image data with mipmaps. The loaded
model would cause crashes when passing the mipmap data to
glCompressedTexImage2D. It seems that the size of the data array
within the IVE file did not match the computed size from
Image::getTotalSizeInBytesIncludingMipmaps(). This essentially
made the mipmap offsets invalid within the Image object.
I'm not sure if the IVE was simply generated incorrectly, or if
the Image::getTotalSizeInBytesIncludingMipmaps() was modified
since the file was generated. Either way, I added a simple check
in the IVE loader so that it clears the mipmap offsets if the
actual data size does not match the computed data size. This
seems like a safe fallback since the mipmap data can be
automatically generated, and it fixes the problem in my case.
Also, while looking into this issue, I noticed that the
osgDB::InputStream class applies the serialized image allocation
mode. However, since the serializer is allocating the image data
itself, it seems like it should force the allocation mode to
USE_NEW_DELETE.
"
2013-11-21 13:59 robert
* src/osgDB/InputStream.cpp, src/osgPlugins/ive/Image.cpp: From
Farshid Lashkari, "I recently encountered an issue attempting to
load an IVE file generated by an older version of OSG. The file
contained dxt1 compressed image data with mipmaps. The loaded
model would cause crashes when passing the mipmap data to
glCompressedTexImage2D. It seems that the size of the data array
within the IVE file did not match the computed size from
Image::getTotalSizeInBytesIncludingMipmaps(). This essentially
made the mipmap offsets invalid within the Image object.
I'm not sure if the IVE was simply generated incorrectly, or if
the Image::getTotalSizeInBytesIncludingMipmaps() was modified
since the file was generated. Either way, I added a simple check
in the IVE loader so that it clears the mipmap offsets if the
actual data size does not match the computed data size. This
seems like a safe fallback since the mipmap data can be
automatically generated, and it fixes the problem in my case.
Also, while looking into this issue, I noticed that the
osgDB::InputStream class applies the serialized image allocation
mode. However, since the serializer is allocating the image data
itself, it seems like it should force the allocation mode to
USE_NEW_DELETE.
"
2013-11-21 11:02 robert
* src/osgText/Glyph.cpp: Converted std::max to osg::maximum to fix
VS2013 build error
2013-11-21 10:31 robert
* include/osg/Geometry, src/osg/Geometry.cpp: Added
Geometry::drawVertexArraysomplemetation(..) and
drawPrimitivesImplemenation(..) methods that are called from
drawImplementation(..). These new vertex methods
allow subclasses from osg::Geometry to specialize the vertex
array setup or how the primitives are dispatched to OpenGL.
2013-11-18 14:21 robert
* CMakeModules/CheckAtomicOps.cmake,
examples/osgviewerIPhone/iphoneViewerAppDelegate.h,
src/osgViewer/GraphicsWindowIOS.mm: From Stephan Huber, "minor
ios-fixes/-enhancements
* force _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC for IOS device +
simulator as the test does not pick the right implementation
* fixed a small compile-bug for iphone-example
* added a check to prevent multiple realization of a
GraphicsWindowIOS-object
"
2013-11-18 13:31 robert
* include/osg/Image: From Stephan Huber, compile fix for OpenGL ES
on iOS.
2013-11-18 13:25 robert
* examples/osgmultitouch/osgmultitouch.cpp,
examples/osgoscdevice/osgoscdevice.cpp,
include/osgGA/GUIEventAdapter,
include/osgGA/MultiTouchTrackballManipulator,
src/osgGA/MultiTouchTrackballManipulator.cpp,
src/osgPlugins/osc/OscReceivingDevice.cpp,
src/osgPlugins/osc/OscReceivingDevice.hpp,
src/osgPlugins/osc/OscSendingDevice.cpp,
src/osgPlugins/osc/OscSendingDevice.hpp,
src/osgPlugins/osc/ReaderWriterOscDevice.cpp,
src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, *
GUIEventAdapter: add support for getting normalized touch points
* MultiTouchTrackball: some code cleanup and support for
normalized touch-points
* oscdevice: receiving and sending multi-touch-events via the
Cursor2D-profile from TUIO
* added some documentation
2013-11-18 12:46 robert
* examples/osgtransferfunction/CMakeLists.txt,
examples/osgtransferfunction/TransferFunctionWidget.cpp,
examples/osgtransferfunction/TransferFunctionWidget.h,
examples/osgtransferfunction/Widget.cpp,
examples/osgtransferfunction/Widget.h,
examples/osgtransferfunction/osgtransferfunction.cpp: Added
panning and zooming functionality to transfer function UI
prototype code.
2013-11-18 12:45 robert
* include/osg/BoundingBox: Added BoundingBox::contains(const
vec_type& v, value_type epsilon) method with new epsilon
parameter to make it easier to test for containment in the
presence of numerical errors
2013-11-15 16:15 robert
* include/osgGA/CameraManipulator, include/osgGA/Event,
include/osgGA/GUIEventAdapter,
include/osgGA/KeySwitchMatrixManipulator, src/osgGA/Event.cpp,
src/osgGA/GUIEventAdapter.cpp,
src/osgGA/KeySwitchMatrixManipulator.cpp,
src/osgGA/StandardManipulator.cpp: Moved Handled propety from
GUIEventAdapter to Event base class.
Added CameraManipulator::finishAnimation() method to allow
application code to stop any animation/throw of manipulators.
2013-11-12 14:21 robert
* src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Restored the
rescaleToZeroToOneRange() to address rendering issues.
2013-11-11 10:55 robert
* src/osgPresentation/deprecated/SlideShowConstructor.cpp: Removed
unused variables
2013-11-08 12:28 robert
* examples/osgoscdevice/osgoscdevice.cpp,
src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp,
src/osgPlugins/ZeroConfDevice/ReaderWriterZeroConfDevice.cpp,
src/osgPlugins/osc/OscReceivingDevice.cpp,
src/osgPlugins/osc/OscReceivingDevice.hpp,
src/osgPlugins/osc/OscSendingDevice.cpp,
src/osgPlugins/osc/OscSendingDevice.hpp: From Stepan Huber,
"attached are my changes for the osc, zeroconf and
resthttp-plugin to use the new event-class. I refactored the
osgoscdevice-example so that it’s working again. "
2013-11-08 12:26 robert
* examples/osgtransferfunction/osgtransferfunction.cpp: Added
support for assinging and display transfer functions
2013-11-08 12:25 robert
* src/osgUtil/LineSegmentIntersector.cpp: Quietened down debug
messages
2013-11-07 12:37 robert
* src/osgViewer/Viewer.cpp: Changed the LineSegmentIntersector to
RayIntersector to provide more reliable intersections with flat
meshes.
2013-11-07 12:35 robert
* include/osgUtil/IntersectionVisitor,
src/osgUtil/LineSegmentIntersector.cpp,
src/osgUtil/RayIntersector.cpp: Added
osgUtil::Intersector::PrecisionHint member and set it's default
to USE_DOUBLE_COMPUTATIONS, and implemented support for use
double or float maths internally in LineSegmentIntersector and
RayIntersector classes
2013-11-06 09:50 robert
* examples/osgtransferfunction/osgtransferfunction.cpp: Re-enabled
the disable of the transfer function
2013-11-06 09:49 robert
* src/osgPlugins/ffmpeg/FFmpegDecoder.cpp,
src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Fixed handling of
web cams
2013-11-06 09:23 robert
* examples/osgvolume/osgvolume.cpp, include/osg/ImageUtils,
include/osg/io_utils, src/osg/ImageUtils.cpp,
src/osgPlugins/dicom/ReaderWriterDICOM.cpp,
src/osgVolume/Layer.cpp: Introduced a cast(T) method into the
ImageUtils template functor to allow code reading images to
handle casting from source data to a form that a user can use
more conviently
2013-11-06 09:20 robert
* src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: Restructed the call to
avformat_open_input to provide more information.
2013-11-05 15:23 robert
* src/osg/Texture.cpp: Fixed typo
2013-11-01 14:40 robert
* CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake: From Stephan
Huber, "Build Problem with osgGA at MacOS with Xcode
5"..."attached you'll find a possible solution for the issue.
This will add a new option to cmake called
OSG_CXX_LANGUAGE_STANDARD which defaults to C++11. If you set it
to C++98 it will setup the project accordingly."
2013-10-28 17:46 robert
* examples/CMakeLists.txt, examples/osgtransferfunction,
examples/osgtransferfunction/CMakeLists.txt,
examples/osgtransferfunction/osgtransferfunction.cpp: Added
initial shell of new osgtransferfunction example that will be
tested bed for upcomming transfer function editing UI.
2013-10-28 12:03 robert
* include/osg/Image, include/osg/Texture, src/osg/Image.cpp,
src/osg/Texture.cpp, src/osgDB/ObjectWrapper.cpp: From Likasz
Izebski, "added support for etc2/eac compression"
2013-10-25 15:47 robert
* src/osgViewer/Keystone.cpp: Added explict setting of the
PolygonMode to over the distion mesh being toggled to wireframe.
2013-10-25 14:54 robert
* applications/present3D/deprecated/Cluster.cpp,
applications/present3D/deprecated/PointsEventHandler.cpp,
applications/present3D/deprecated/PointsEventHandler.h,
applications/present3D/deprecated/ShowEventHandler.cpp,
applications/present3D/deprecated/ShowEventHandler.h,
examples/osganimationtimeline/osganimationtimeline.cpp,
examples/osgcluster/osgcluster.cpp,
include/osgGA/CameraManipulator, include/osgGA/Device,
include/osgGA/Event, include/osgGA/EventHandler,
include/osgGA/EventQueue, include/osgGA/EventVisitor,
include/osgGA/GUIEventAdapter, include/osgGA/GUIEventHandler,
include/osgPresentation/deprecated/KeyEventHandler,
include/osgPresentation/deprecated/PickEventHandler,
include/osgPresentation/deprecated/SlideEventHandler,
include/osgViewer/View, src/osgDB/PropertyInterface.cpp,
src/osgGA/CMakeLists.txt, src/osgGA/Device.cpp,
src/osgGA/Event.cpp, src/osgGA/EventHandler.cpp,
src/osgGA/EventQueue.cpp, src/osgGA/EventVisitor.cpp,
src/osgGA/GUIEventAdapter.cpp, src/osgGA/GUIEventHandler.cpp,
src/osgManipulator/Dragger.cpp, src/osgPresentation/Cursor.cpp,
src/osgPresentation/deprecated/KeyEventHandler.cpp,
src/osgPresentation/deprecated/PickEventHandler.cpp,
src/osgPresentation/deprecated/SlideEventHandler.cpp,
src/osgPresentation/deprecated/Timeout.cpp,
src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp,
src/osgViewer/Viewer.cpp: Introduce new osgGA::Event and
osgGA::EventHandler base classes that the old GUIEventAdapter and
GUIEventHandler now subclass from.
The new osgGA::Event is written to support more generic events
than the original GUIEventAdapter which are written for keyboard
and mouse events.
2013-10-25 14:46 robert
* CMakeLists.txt: Remoed -fpermissive
2013-10-25 09:02 robert
* src/osgWrappers/serializers/osg/Geometry.cpp: Fixed warning
2013-10-24 20:22 robert
* examples/osghangglide/terrain.cpp: Fixed warning
2013-10-24 19:56 robert
* src/osgPlugins/pdf/ReaderWriterPDF.cpp: Removed depreated glib
call
2013-10-24 19:32 robert
* src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Fixed FileInfo self
intialization bug
2013-10-24 17:43 robert
* src/osgManipulator/ScaleAxisDragger.cpp,
src/osgManipulator/TrackballDragger.cpp,
src/osgManipulator/TranslateAxisDragger.cpp: Fixed build problems
with the OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off
2013-10-24 12:15 robert
* applications/present3D/deprecated/present3D.cpp: From Stephan
Huber, "attached you’ll find a small enhancement for present3d.
Now you can get advanced help via —help-all etc (similar to
osgviewer)"
2013-10-24 10:10 robert
* src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm,
src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, add
support for controlling the OSXMenubarBehavior set by
DisplaySettings.
2013-10-24 09:06 robert
* src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h: Cleaned up
addChild/getChild/setChild/getNumChildren methods and added
readNodeFile, readImageFile and readObjectFile functions
2013-10-23 16:17 robert
* src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/ReaderWriterLua.cpp: Added support for
Group::addChild/setChild/getChild/getNumChildren.
2013-10-22 19:12 robert
* include/osg/DisplaySettings, include/osg/GraphicsContext,
src/osg/DisplaySettings.cpp, src/osgViewer/CompositeViewer.cpp,
src/osgViewer/Viewer.cpp: Merged changes to DisplaySettings from
Stephan Huber in prep for controlling the menu hiding behaviour
under OSX.
Added new WindowSystemInterface::setDisplaySettings() method to
provide a mechanism for passing settings onto the
WindowSystemInterface so it can then set up the system
appropriately.
Added assignment of the DisplaySettings to the
WindowSystemInterface in Viewer/ComppsiteViewer::realize().
2013-10-22 18:58 robert
* src/osg/Texture.cpp: Preliminary remapping of internalFormat for
GL3 core profile
2013-10-22 16:28 robert
* src/osgPlugins/svg/ReaderWriterSVG.cpp: Fixed warnings
2013-10-22 11:32 robert
* src/osgPlugins/osg/ReaderWriterOSG2.cpp: From Colin McDonald,
"The osgt/osgb file formats output a scenegraph node with the
type
set to "SCENE" in the file header. But if the file is stored and
then extracted again from an osga archive this header info is
lost,
and the resulting file is just an "OBJECT". Possibly other plugin
operations would have the same effect. The osgt/osgb plugin won't
then return the scenegraph contents.
I have updated the osgt/osgb plugin to return a node from an
"OBJECT"
file."
2013-10-22 11:26 robert
* src/osgPlugins/osga/OSGA_Archive.cpp: From Colin McDonald, "The
osgb file reader uses seek to position within the file.
But the nested stream implementation for osga archive files
doesn't
support seeking. So osgb files can't currently be used in an osga
archive e.g. if osgdem is used to output a osgb format database
it
can't be packaged in an archive file, in the same manner that ive
files could.
I've added seek support to the osga nested stream
implementation."
2013-10-22 11:18 robert
* src/osg/State.cpp: Fixed handling of osg::Program so that it's
not overriden by shader composition when enabled
2013-10-21 16:35 robert
* include/osg/ShaderComposer, include/osg/State,
src/osg/GraphicsContext.cpp, src/osg/ShaderComposer.cpp,
src/osg/State.cpp: Added State::releaseGLObjects() and
ShaderComposer::releaseGLObjects() to avoid problems with cleanup
of graphics context
2013-10-21 09:54 robert
* src/osgPlugins/imageio/ReaderWriterImageIO.cpp,
src/osgPlugins/vtf/ReaderWriterVTF.cpp,
src/osgPlugins/x/directx.cpp: Build fixes for clang
2013-10-18 09:57 robert
* src/osgPlugins/dae/daeReader.cpp: From Farshid Lashkari,
"previously discussed change to the dae loader which applies the
node ID as a "dae_node_id" user value."
2013-10-18 08:37 robert
* include/osg/Node: From Vladimir Chebeav, fix for removal of
nested callbacks
2013-10-18 07:55 robert
* src/osgPlugins/fbx/fbxRLight.cpp: From Konstantin Matveyev,
"Multiple light fix in FBX-importer"
2013-10-18 07:52 robert
* src/osgWrappers/serializers/osg/LibraryWrapper.cpp: From Colin
McDonald, "Some missing updates to the serializer static build
support."
2013-10-18 07:31 robert
* examples/osgmanipulator/osgmanipulator.cpp,
include/osgManipulator/ScaleAxisDragger,
include/osgManipulator/TrackballDragger,
include/osgManipulator/TranslateAxisDragger,
src/osgManipulator/ScaleAxisDragger.cpp,
src/osgManipulator/TrackballDragger.cpp,
src/osgManipulator/TranslateAxisDragger.cpp,
src/osgWrappers/serializers/osgManipulator/ScaleAxisDragger.cpp,
src/osgWrappers/serializers/osgManipulator/TrackballDragger.cpp,
src/osgWrappers/serializers/osgManipulator/TranslateAxisDragger.cpp:
From Andreas Henne, "in my application I use the
TrackballDragger, the ScaleAxisDragger and the
TranslateAxisDragger. Unfortunately these draggers are very thin
and they do not provide methods to change their visual
appearance. Another problem that I noticed is that lighting on
the cones and boxes of the TranslateAxisDragger and
ScaleAxisDragger is incorrect when the draggers are scaled due to
not normalized normals. This small patch adresses these problems,
providing methods to make the draggers thicker. I have attached a
zip archive containing the corresponding files and also a
modified osgManipulator example that makes use of the
modifications. I don't want to retain any copyright."
2013-10-17 18:29 robert
* src/osg/Program.cpp: Fix for error in getting the uniform block
max name length, fix suggested by Christopher Fennell.
2013-10-17 14:02 robert
* examples/osgviewerCocoa/CMakeLists.txt,
examples/osgviewerCocoa/main.m, examples/osgviewerCocoa/
main.mm:
From Stephan Huber, build fix
2013-10-10 20:43 robert
* include/osgDB/Serializer, src/osgDB/PropertyInterface.cpp: Added
set/get to the ImageSerializer and removed some redudent comments
2013-10-10 20:42 robert
* src/osgAnimation/RigTransformHardware.cpp: From Pjotr Svetachov,
"With the new osg::Geometry the binding for arrays now default to
undefined. This breaks previously working code in
osgAnimation::RigTransformHardware where the arrays got an
undefined bounding and because of this the bone indices and
weights were not loaded by the shader. Here is a little patch to
fix this."
2013-10-10 14:45 robert
* include/osg/AudioStream, include/osg/CollectOccludersVisitor:
From Laurens Voerman, compile fix for VisualStudio
2013-10-10 14:41 robert
* CMakeModules/FindLua52.cmake: Laurens Voerman, "my cmake
(2.8.10.2 generating for Visual Studio 11 Win64) doesn't like
include(${CMAKE_MODULE_PATH}/FindPackageHandleStandardArgs.cmake)
in CMakeModules/FindLua52.cmake
changing to a more common
include(FindPackageHandleStandardArgs)
solves my problem."
2013-10-10 09:28 robert
* include/osgDB/Serializer, src/osgDB/PropertyInterface.cpp: Added
get/set method to Serializer to allow pointer passing without
going through InputStream/OutputStream.
2013-10-09 15:32 robert
* include/osgDB/PropertyInterface, src/osgDB/PropertyInterface.cpp,
src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h,
src/osgPlugins/lua/ReaderWriterLua.cpp: Implemented preliminary
readNode/readImage support in the lua plugin allow a lua script
to create a scene graph as return it.
2013-10-07 10:05 robert
* CMakeLists.txt, CMakeModules/FindAVFoundation.cmake,
CMakeModules/OsgMacroUtils.cmake,
examples/osgviewerIPhone/CMakeLists.txt,
examples/osgviewerIPhone/iphoneViewerAppDelegate.h,
examples/osgviewerIPhone/iphoneViewerAppDelegate.mm,
examples/osgviewerIPhone/osgPlugins.h,
src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp,
src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp,
src/osgPlugins/ZeroConfDevice/AutoDiscoveryBonjourImpl.mm,
src/osgPlugins/avfoundation/CMakeLists.txt,
src/osgPlugins/osc/OscSendingDevice.cpp,
src/osgViewer/GraphicsWindowCocoa.mm,
src/osgViewer/GraphicsWindowIOS.mm: From Stephan Huber, "attached
you’ll find a bunch of fixes + enhancements for iOS and OS X
based on current trunk. I incorporated + tested the submission
from Colin Cochran, so his submission is not needed anymore.
* fixed a bug with multi-touch and touch-id-generation on iOS and
OS X. (will fix a bug reported by Colin Cochran, without ditching
the existing logic)
* removed unnecessary warning-flagss when generating
xcode-projects via cmake, will enable the usage of
OSG_AGGRESSIVE_WARNING_FLAGS
* added support for 10.9 (OS X)
* new cmake-variable: IPHONE_VERSION_MIN, this will set the
deployment-target (previously hard-coded) If you set the
IPHONE_VERSION_MIN to something like 7.0 osg gets compiled also
for 64bit (amd64)
* cmake defaults now to the clang compiler if IPHONE_VERSION_MIN
> 4.2
* cmake now sets some xcode-settings so the compiler uses the
c++98-standard (clang defaults to c++11, w/o this I got a lot of
linking errors)
* removed include-dir for avfoundation-plugin as not needed on
OSX/IOS.
* enhanced the ios-example, will now show multitouch-information
on a hud (similar to the osgmultitouch-example), and more
importantly, will compile + link out of the box
* small enhancements for the osc-device-plugin (send only one msg
for MOVE/DRAG, even if multiple msgs/event is enabled)
* better memory-handling for the zeroconf-plugin
* fixed a possible bug in the rest-http-plugin when receiving
mouse-events.
* incorporated a fix from Colin Cochran "forwarded touch events
are not transformed into the GL UIView“
"
2013-10-07 09:33 robert
* CMakeModules/FindAVFoundation.cmake,
CMakeModules/OsgMacroUtils.cmake: Cleaned up line endings
2013-10-04 20:42 robert
* CMakeLists.txt, src/osgPlugins/lua/LuaScriptEngine.cpp: Added
support for automatically select Lua 5.2 is it's available, then
falling back to checking for Lua 5.1 otherwise.
2013-10-04 19:48 robert
* src/osgPlugins/lua/LuaScriptEngine.cpp: Moved code across to use
lua_userdata to manage pointer to osg::Object that is
ref()/unref()
2013-10-04 16:30 robert
* CMakeModules/FindLua52.cmake,
examples/osgpresentation/osgpresentation.cpp,
src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h: Added support for Lua 5.2
and osg::Object creation from within Lua scripts.
2013-10-04 16:29 robert
* include/osgDB/PropertyInterface, src/osgDB/PropertyInterface.cpp:
Added createObject() interface
2013-10-04 16:28 robert
* CMakeLists.txt, include/osg/Version: Updated version number after
3.3.0 dev release
2013-10-03 16:20 robert
* AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp:
Fixed errors in Contributors list
2013-10-03 08:45 robert
* include/osgUtil/IntersectionVisitor,
include/osgUtil/LineSegmentIntersector,
include/osgUtil/RayIntersector, src/osgUtil/CMakeLists.txt,
src/osgUtil/LineSegmentIntersector.cpp,
src/osgUtil/RayIntersector.cpp: From Jan Peciva, RayIntersector
implementation
2013-10-02 13:59 robert
* include/osgDB/ObjectWrapper, src/osgDB/InputStream.cpp,
src/osgDB/ObjectWrapper.cpp: From Colin McDonald and Robert
Osfield, "When a serializer shared library is loaded it registers
all of
the wrappers it contains. The registration creates a prototype
object for all of the wrapped classes. For some of the
higher-level
classes this can be a bit heavy.
I noticed a problem with a model which required a single class
from
osgSim. When osgdb_serializers_osgsim.so was loaded it registered
wrappers and created prototype objects for all of the osgSim
classes,
including osgSim::ScalarBar. The constructor for that class
creates
several drawables, and loads arial.ttf using the freetype plugin.
I
don't need that, and don't even ship the font or plugin with my
application, resulting in an unexplained warning message loading
the model.
I've modified the ObjectWrapper class to defer the prototype
object
creation until if & when actually required."
2013-10-02 11:29 robert
* src/osgPlugins/osc/osc/OscHostEndianness.h: From Dmitry
Marakasov, "These are FreeBSD bits for
src/osgPlugins/osc/osc/OscHostEndianness.h,
required to build newever OSG on this OS. Also corrects file name
in the error message - I was confused not to find
OSCHostEndianness.h
after I've got this error.
Tested by successfully building OSG 3.2.0 with this patch on
FreeBSD
9.1."
2013-10-02 11:28 robert
* include/osg/State: Re-ordered the public/protected sections to
keep the public section all together
2013-10-02 11:09 robert
* src/osgPlugins/stl/ReaderWriterSTL.cpp: From Björn Hein, "it
seems that for generating "per vertex normals" as stated in the
comment, two of them are missing. This results in wrong display
of
STL-files regarding normals. Following simple fix seems to work:
Index: ReaderWriterSTL.cpp
===================================================================
--- ReaderWriterSTL.cpp (Revision 13797)
+++ ReaderWriterSTL.cpp (Arbeitskopie)
@@ -108,6 +108,8 @@
++itr)
{
perVertexNormals->push_back(*itr);
+ perVertexNormals->push_back(*itr);
+ perVertexNormals->push_back(*itr);
}
geom->setNormalArray(perVertexNormals.get(),
osg::Array::BIND_PER_VERTEX);
"
2013-10-01 19:34 robert
* src/osgPresentation/Cursor.cpp, src/osgPresentation/Image.cpp,
src/osgPresentation/Movie.cpp: Fixed build with no automatic
ref_ptr<> conversion
2013-10-01 19:31 robert
* AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated
AUTHORS files
2013-10-01 19:00 robert
* ChangeLog: Updated ChangeLog in prep for dev release
2013-10-01 17:01 robert
* include/osg/State: From Aurelien Albert, "I'm working with OSG
and a customer low-level OpenGL library.
To make easier "lazy apply" on the customer OpenGL shaders, the
easiest way was to add an accessor to current OSG state's
UniformMap.
I've also added accessors for modes and texture, since it could
be usefull in the same way.
All methods are const, so I think there is no side-effects."
2013-10-01 16:20 robert
* src/osgAnimation/LinkVisitor.cpp,
src/osgAnimation/RigGeometry.cpp: From Björn Blissing, "I propose
making the following outputs a little bit more silent. In my mind
it would suffice with OSG_DEBUG (compared to OSG_NOTICE) for
these information messages."
2013-10-01 09:37 robert
* src/osgPlugins/Inventor/ConvertFromInventor.cpp: From Christopher
Baker, submitted by Alberto Luacas, "there is a bug report in the
Ubuntu tracker that points to a bug when
loading multiple VRML files in parallel. Christopher R. Baker has
detected this bug and crafted a patch. In addition, libcoin has
to be
also built with the "--enable-threadsafe" option.
I copy here his report, extracted from
and attach his fix. All credit is due to him:
«
There are three instances of a classical method-local-static
multithreaded initialization bug in the Inventor plugin for OSG
that
trigger various memory faults when reading multiple VRML files in
parallel via osgDB::readNodeFile. These bugs are of the form:
static std::map<Stuff,OtherStuff> myHandyMap;
static bool once = true;
if(once) { ...fill myHandyMap; once = false }
... use myHandyMap;
To repeat: try loading multiple VRML files from multiple threads.
The
liklihood of the bug depends on many factors, but my application,
which
parallel-loads some dozens of small (<100K) VRML files on
startup,
triggers this problem 25% of the time or more.
The attached patch (inventor-plugin-multithread.patch) rectifies
this
problem by:
1 - Inheriting MyHandyMap from std::map, then
2 - Moving the map initialization into the derived constructor,
which
3 - Is intrinsically protected from multithread issues by g++
(and is
part of the C++ standard), unless you pass
-fno-threadsafe-statics,
which is strongly discouraged by the man page.
»
"
2013-10-01 09:11 robert
* src/osgViewer/GraphicsWindowWin32.cpp: From Adrien Grandemange,
"On Windows 7 and 8, mouse messages are generated in addition to
touch messages, which leads to duplicate PUSH, DRAG and RELEASE
events in OSG. Besides, the mouse and touch messages referring to
the same user input are not necessarily sent at the same time,
due to gesture translation done by Windows by default, such as
double-tap => double-click and long-push => right-click.
The delay between the 2 types of messages is more noticeable on
Windows 8 and leads to serious disruptions in our application.
Mouse messages generated by touch input are only present for
legacy support. I think they should be filtered out by OSG (real
click events originating from a physical mouse will of course
still go through).
This is what this patch does, according to this suggestion:
(third issue in this page)."
2013-10-01 09:05 robert
* src/osg/PointSprite.cpp: From Thomas Hogarth, "Attached is a
small build fix for PointSprite when compiling under GLES2
(r13788)
GL_POINT_SPRITE_OES does not exist in GLES2, instead you just
draw using GL_POINTS then use gl_PointSize in a vertex shader to
set the size."
2013-09-30 18:32 robert
* src/osgPlugins/avfoundation/CMakeLists.txt,
src/osgPlugins/avfoundation/OSXAVFoundationCoreVideoTexture.cpp,
src/osgPlugins/avfoundation/OSXAVFoundationCoreVideoTexture.h,
src/osgPlugins/avfoundation/OSXAvFoundationCoreVideoTexture.cpp,
src/osgPlugins/avfoundation/OSXAvFoundationCoreVideoTexture.h:
From Jeffrey Kinross, "I ran into an issue with case sensitivity
on OS X and the OSXAVFoundation code.
In CMakeList.txt there is a case sensitivity issue which a fix
was posted by Robert Osfield in the users forum.
I also had to rename the files OSXAvFoundationCoreVideoTexture.h
and OSXAvFoundationCoreVideoTexture.cpp to
OSXAVFoundationCoreVideoTexture.h and
OSXAVFoundationCoreVideoTexture.cpp
Finally in OSXAvFoundationCoreVideoTexture.cpp the include
OSXAVFoundationVideo.H was updated to OSXAVFoundationVideo.h"
2013-09-30 18:15 robert
* src/osg/StateSet.cpp: From Farshid Lashkari, "I have a scene that
makes heavy use of the StateSet::compare method and my profiler
showed that a lot of time was being spent inside it. I made a
small change to the method so that it performs a quick size
comparison between the attribute/mode lists and bin mode before
iterating through all the attributes. This made a noticeable
improvement in my scene. I've attached the change."
2013-09-30 10:28 robert
* src/osgUtil/LineSegmentIntersector.cpp:
2013-09-27 18:43 robert
* src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h: Unified Vec/Plane/Quat
handling code.
2013-09-27 13:04 robert
* examples/osgpresentation/osgpresentation.cpp,
src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h: Added support for getting
Vec* and Matrix objects from Lua stack and assigning them as OSG
object properties.
2013-09-26 17:27 robert
* examples/osgpresentation/osgpresentation.cpp,
src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h: Initial cut of setting and
getting osg::Object properties within Lua scripts
2013-09-24 15:17 robert
* examples/osgpresentation/osgpresentation.cpp,
include/osg/ScriptEngine, src/osg/ScriptEngine.cpp,
src/osgPlugins/V8/V8ScriptEngine.cpp,
src/osgPlugins/V8/V8ScriptEngine.h,
src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h,
src/osgPlugins/python/PythonScriptEngine.cpp,
src/osgPlugins/python/PythonScriptEngine.h,
src/osgUtil/CullVisitor.cpp: Added support for passing parameters
in and out of scripts.
Implemented support for osg::ValueObject in LuaScriptEngine.
2013-09-24 15:08 robert
* examples/osgsidebyside/osgsidebyside.cpp,
include/osg/NodeVisitor, src/osg/KdTree.cpp,
src/osg/NodeVisitor.cpp: Changed NodeVisitor so that is
subclasses from osg::Object rather than osg::Referenced to enable
it to be used with serialization and scripting
2013-09-24 08:56 robert
* include/osgUtil/LineSegmentIntersector: Removed redundent spaces
2013-09-23 14:10 robert
* examples/osgpresentation/osgpresentation.cpp: Added test for
osgGA::GUIEventAdapter
2013-09-20 15:43 robert
* src/osgVolume/VolumeTile.cpp: Removed unnceccesary
setNumChildrenRequiringUpdateTraversal from VolumeTile
constructor.
2013-09-20 10:44 robert
* examples/osgpresentation/osgpresentation.cpp,
src/osgDB/PropertyInterface.cpp: Added initial cut of white and
black lists
2013-09-20 10:25 robert
* include/osg/Object: Added compoundClassName() convinience method
to standardize the generation of the compoundClassName.
2013-09-20 10:04 robert
* examples/osgpresentation/osgpresentation.cpp,
include/osgDB/PropertyInterface, src/osgDB/PropertyInterface.cpp:
Added type maps to help with querrying supported type names
2013-09-19 16:19 robert
* examples/osgpresentation/CMakeLists.txt,
examples/osgpresentation/osgpresentation.cpp,
include/osgDB/ObjectWrapper, include/osgDB/PropertyInterface,
src/osgDB/CMakeLists.txt, src/osgDB/InputStream.cpp,
src/osgDB/ObjectWrapper.cpp, src/osgDB/OutputStream.cpp,
src/osgDB/PropertyInterface.cpp: Introduce
osgDB::PropetyInterface class that provided a generic interface
for get/setting properties on scene graph objects, utilizing the
osgDB serializers to do
the actual interface query and set/gets.
2013-09-19 16:18 robert
* include/osgPresentation/Group: Removed unneccessary return
2013-09-11 15:44 robert
* include/osgDB/DataTypes, include/osgDB/ObjectWrapper,
include/osgDB/Serializer, src/osgDB/InputStream.cpp,
src/osgDB/ObjectWrapper.cpp, src/osgDB/OutputStream.cpp: Added
access methods to Serializer to help with using wrappers for
other purposes such as script integration.
Added Vec*i and Vec*ui support to serializers
2013-09-10 15:17 robert
* src/osgPlugins/dds/ReaderWriterDDS.cpp: From Giuseppe Donvito,
"I'm using OSG 320 and I need to flush a DDS 3D texture on disk.
I found a bug on DDS ReaderWriter that generates a false positive
on a guard for the size check on writing operation. This is due
to a wrong imageSize computation that uses
img->getImageSizeInBytes() method instead of
img->getTotalSizeInBytes(), that actually ignores the r()
dimension, contrariwise taken into account by the function
ComputeImageSizeInBytes() later.
The line 1062 on file ReaderWriterDDS.cpp should be fixed with:
[code]unsigned int imageSize = img->getTotalSizeInBytes();[/code]
"
2013-09-10 13:29 robert
* include/osgUtil/SceneView: From Giuseppe Donvito, Fixed typo of
"CLEAR_GLOBAL_STATESET = 0x16," to indended
"CLEAR_GLOBAL_STATESET = "0x10".
2013-09-10 09:23 robert
* include/osgPresentation/Layer,
include/osgPresentation/Presentation,
include/osgPresentation/Section, include/osgPresentation/Show,
include/osgPresentation/Slide, src/osgPlugins/mdl/MDLReader.cpp,
src/osgPresentation/CMakeLists.txt,
src/osgPresentation/Layer.cpp,
src/osgPresentation/Presentation.cpp,
src/osgPresentation/Section.cpp, src/osgPresentation/Show.cpp,
src/osgPresentation/Slide.cpp,
src/osgWrappers/serializers/osgPresentation/Show.cpp: Added
osgPresentation::Show node and implementations with basic
property reporting for various internal nodes of presentation
graph
2013-09-09 16:02 robert
* src/osgPlugins/python/CMakeLists.txt: From Wang Rui, "The Python
header will look for its libraries using "#pragma
comment(lib,"python32_d.lib")" for MSVC. So user-specified
libraries will not really be set for the osgdb_python plugin.
This small fix may help locate the Python libraries after putting
the CMakeLists.txt into src/osgPlugins/python
"
2013-09-09 14:58 robert
* src/osg/PointSprite.cpp: From Colin Cochran, OES support for
point sprites
2013-09-09 13:33 robert
* src/osg/FrameBufferObject.cpp, src/osg/Texture.cpp: From Colin
McDonald, "Add test for GL_EXT_framebuffer_object extension : osg
uses osg::FBOExtensions to check if Frame Buffer Objects are
available. But this just checks if the fbo functions can be
called.
It doesn't check if the OpenGL renderer supports fbos. For
indirect
rendering on linux the client side capability may be different
from
the display server, which can lead to mipmapped textures failing
to
render. I've added a fbo extension check.
"
2013-09-09 12:44 robert
* CMakeModules/FindAVFoundation.cmake: From Ulrich Hertlein, "Patch
for FindAVFoundation to work with OS X 10.9"
2013-09-09 12:37 robert
* examples/osgviewerMFC/MFC_OSG.cpp: From Wang Rui, "Some
developers report that the osgviewerMFC example is broken in 3.2,
in which depth test is not enabled by default so all models
loaded look awkward. I submit this patch to make it work again. I
haven't gone deep to check why previous example goes wrong in
newer version but I believe the problem was because the newly
created camera object missed some important global statesets
before set as the main camera."
2013-09-09 12:33 robert
* examples/osgmultiplemovies/CMakeLists.txt,
src/osgPlugins/osg/CMakeLists.txt: From Laurens Voerman, "two
minor fixes, both in a CMakeList.txt file,
1> osgmultiplemovies example does not use SDL so needs no link to
SDL
2> Added header files to "Plugins osg" project, so visual studio
can find the source of
OSG_WARN << "AsciiInputIterator::readProperty(): Unmatched
property "
"
2013-09-06 09:35 robert
* examples/osgpresentation/osgpresentation.cpp,
include/osgPresentation/Audio, include/osgPresentation/Image,
include/osgPresentation/Model, include/osgPresentation/Movie,
include/osgPresentation/Volume, src/osgPresentation/Audio.cpp,
src/osgPresentation/CMakeLists.txt,
src/osgPresentation/Image.cpp, src/osgPresentation/Movie.cpp,
src/osgPresentation/Volume.cpp: Initial cut of
Audio/Volume/Movie/Image presentation objects
2013-09-05 10:23 robert
* include/osgUtil/SceneView, src/osg/Uniform.cpp,
src/osgDB/OutputStream.cpp, src/osgPlugins/lws/SceneLoader.cpp:
From Colin McDonald, "Attached are some fixes to build osg using
the Solaris Studio compiler.
I've also checked the modified files still build ok with other
compilers (Linux gcc, Windows Visual Studio).
osgDB/OutputStream.cpp and osgPlugins/lws/SceneLoader.cpp require
stdlib.h for atoi use.
In osg/Uniform.cpp the compiler complains that base_class is
unknown
unless I add a class name qualifier.
Not a build fix, but I spotted a typo in osgUtil/SceneView."
2013-09-05 10:08 robert
* src/osgWrappers/serializers/osg/PagedLOD.cpp: From Laurens
Voerman, "like the "Bug in ProxyNode serializer" Farshid Lashkari
found (svn submit 13754) the PagedLOD serializer attempts to read
begin and and brackets.
Fix is identical (don't read brackets when num_chidren is zero)
and applies both to trunk and 3.2 branch."
2013-09-05 10:04 robert
* src/osgPlugins/ffmpeg/FFmpegDecoder.cpp,
src/osgPlugins/ffmpeg/FFmpegParameters.cpp: Fixed warnings
2013-09-05 08:42 robert
* src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: From Alberto Luaces,
"current versions of ffmpeg render «url_feof» macro as obsolete.
The fix
is very simple and it is contained in the attached file."
2013-09-05 08:22 robert
* src/osgPresentation/Model.cpp: Added missing Model.cpp
2013-09-04 17:27 robert
* examples/osgpresentation/osgpresentation.cpp: Moved the property
test from the model to presentation to test out the property
inheritance scheme
2013-09-04 16:25 robert
* examples/osgpresentation/osgpresentation.cpp,
include/osgPresentation/Action, include/osgPresentation/Model,
src/osgPresentation/Action.cpp,
src/osgPresentation/CMakeLists.txt: Added PrintProperties visitor
2013-09-04 15:39 robert
* examples/osgpresentation/osgpresentation.cpp,
include/osgPresentation/Action, src/osgPresentation/Action.cpp:
Added PrintPropertiesAction to osgPresentation
2013-09-04 10:33 robert
* examples/osgpresentation/osgpresentation.cpp,
include/osgPresentation/Action, include/osgPresentation/Audio,
include/osgPresentation/Element, include/osgPresentation/Group,
include/osgPresentation/Image, include/osgPresentation/Layer,
include/osgPresentation/Model, include/osgPresentation/Movie,
include/osgPresentation/Presentation,
include/osgPresentation/Section, include/osgPresentation/Slide,
include/osgPresentation/Text, include/osgPresentation/Volume,
src/osgPresentation/Action.cpp,
src/osgPresentation/CMakeLists.txt,
src/osgPresentation/Element.cpp, src/osgPresentation/Group.cpp,
src/osgPresentation/Text.cpp: Added Action class NodeVisitor that
supports osgPresentation nodes.
2013-09-03 15:50 robert
* examples/osgpresentation/CMakeLists.txt,
examples/osgpresentation/osgpresentation.cpp,
src/osgPresentation/Text.cpp: Added test for
osgPresentatation::Group::getSupportedProperties()
2013-09-03 10:17 robert
* include/osgPresentation/Element, include/osgPresentation/Group,
include/osgPresentation/Text, src/osgPresentation/CMakeLists.txt,
src/osgPresentation/Element.cpp, src/osgPresentation/Group.cpp,
src/osgPresentation/Text.cpp: Added beginings of Text
implementation
2013-09-02 10:56 robert
* src/osgWrappers/serializers/osg/ProxyNode.cpp: From Farshid
Lashkari, "The ProxyNode serializer was not correctly reading the
"Children" field. It conditionally writes the begin/end brackets,
depending on whether it has children. However, during input it
unconditionally attempts to read the begin/end brackets. I've
modified the code to only read the brackets if it has children."
2013-09-02 10:56 robert
* include/osgUtil/IntersectionVisitor,
src/osgUtil/LineSegmentIntersector.cpp: Refactored the use of
epsilon in the clamping of the start/end points of the
LineSegmentIntersector to better handle numerical precision
issues.
2013-09-02 09:12 robert
* src/osgAnimation/StackedTransform.cpp: Fixed double copy in
StackedTransform copy constructor
2013-09-02 08:29 robert
* examples/osgpresentation/osgpresentation.cpp: Added IO test for
new osgPresentation nodes
2013-09-01 17:24 robert
* include/osgPresentation/Audio, include/osgPresentation/Element,
include/osgPresentation/Image, include/osgPresentation/Layer,
include/osgPresentation/Model, include/osgPresentation/Movie,
include/osgPresentation/Presentation,
include/osgPresentation/Slide, include/osgPresentation/Text,
include/osgPresentation/Volume,
src/osgPresentation/CMakeLists.txt,
src/osgWrappers/serializers/osgPresentation/Audio.cpp,
src/osgWrappers/serializers/osgPresentation/Image.cpp,
src/osgWrappers/serializers/osgPresentation/Model.cpp,
src/osgWrappers/serializers/osgPresentation/Movie.cpp,
src/osgWrappers/serializers/osgPresentation/Text.cpp,
src/osgWrappers/serializers/osgPresentation/Volume.cpp: Added
Audio, Image, Movie, Model and Volume class to osgPresentation.
2013-08-23 16:47 robert
* applications/osgviewer/osgviewer.cpp: Fixed build
2013-08-23 11:42 robert
* src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added color property to
FontData parsing
2013-08-22 13:39 robert
* src/osgVolume/Locator.cpp: Quitened down debug message
2013-08-22 12:37 robert
* src/osgPlugins/p3d/ReaderWriterPaths.cpp,
src/osgPresentation/deprecated/SlideEventHandler.cpp: Removed
debug messages
2013-08-22 12:07 robert
* src/osgPlugins/p3d/ReaderWriterP3D.cpp: Quitened down debug
message
2013-08-22 11:18 robert
* applications/present3D/deprecated/present3D.cpp: Quitened down
debug message
2013-08-22 10:09 robert
* src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added
warning when model file has not be found
2013-08-22 10:05 robert
* src/osgPresentation/deprecated/SlideEventHandler.cpp,
src/osgPresentation/deprecated/SlideShowConstructor.cpp: Reduced
debug message level, and added a notify message for when an image
isn't loaded
2013-08-22 07:49 robert
* examples/osgpresentation/osgpresentation.cpp,
src/osgWrappers/serializers/osgPresentation/Element.cpp,
src/osgWrappers/serializers/osgPresentation/Group.cpp,
src/osgWrappers/serializers/osgPresentation/Layer.cpp,
src/osgWrappers/serializers/osgPresentation/Presentation.cpp,
src/osgWrappers/serializers/osgPresentation/Section.cpp,
src/osgWrappers/serializers/osgPresentation/Slide.cpp: Added test
for serializers and fixed serializers
2013-08-21 19:54 robert
* include/osgPresentation/Element, include/osgPresentation/Group,
include/osgPresentation/Layer,
include/osgPresentation/Presentation,
include/osgPresentation/Section, include/osgPresentation/Slide,
src/osgPresentation/CMakeLists.txt,
src/osgWrappers/serializers/CMakeLists.txt,
src/osgWrappers/serializers/osgPresentation,
src/osgWrappers/serializers/osgPresentation/CMakeLists.txt,
src/osgWrappers/serializers/osgPresentation/Element.cpp,
src/osgWrappers/serializers/osgPresentation/Group.cpp,
src/osgWrappers/serializers/osgPresentation/Layer.cpp,
src/osgWrappers/serializers/osgPresentation/Presentation.cpp,
src/osgWrappers/serializers/osgPresentation/Section.cpp,
src/osgWrappers/serializers/osgPresentation/Slide.cpp: Added
initial classes for present3D refactor
2013-08-18 18:10 robert
* applications/present3D/deprecated/ExportHTML.h,
applications/present3D/deprecated/ReadShowFile.cpp,
applications/present3D/deprecated/present3D.cpp,
include/osgPresentation/AnimationMaterial,
include/osgPresentation/CompileSlideCallback,
include/osgPresentation/KeyEventHandler,
include/osgPresentation/PickEventHandler,
include/osgPresentation/PropertyManager,
include/osgPresentation/SlideEventHandler,
include/osgPresentation/SlideShowConstructor,
include/osgPresentation/Timeout,
include/osgPresentation/deprecated,
include/osgPresentation/deprecated/AnimationMaterial,
include/osgPresentation/deprecated/CompileSlideCallback,
include/osgPresentation/deprecated/KeyEventHandler,
include/osgPresentation/deprecated/PickEventHandler,
include/osgPresentation/deprecated/PropertyManager,
include/osgPresentation/deprecated/SlideEventHandler,
include/osgPresentation/deprecated/SlideShowConstructor,
include/osgPresentation/deprecated/Timeout,
src/osgPlugins/osc/OscReceivingDevice.cpp,
src/osgPlugins/osc/ReaderWriterOscDevice.cpp,
src/osgPlugins/p3d/ReaderWriterP3D.cpp,
src/osgPlugins/p3d/ReaderWriterPaths.cpp,
src/osgPresentation/AnimationMaterial.cpp,
src/osgPresentation/CMakeLists.txt,
src/osgPresentation/CompileSlideCallback.cpp,
src/osgPresentation/KeyEventHandler.cpp,
src/osgPresentation/PickEventHandler.cpp,
src/osgPresentation/PropertyManager.cpp,
src/osgPresentation/SlideEventHandler.cpp,
src/osgPresentation/SlideShowConstructor.cpp,
src/osgPresentation/Timeout.cpp, src/osgPresentation/deprecated,
src/osgPresentation/deprecated/AnimationMaterial.cpp,
src/osgPresentation/deprecated/CompileSlideCallback.cpp,
src/osgPresentation/deprecated/KeyEventHandler.cpp,
src/osgPresentation/deprecated/PickEventHandler.cpp,
src/osgPresentation/deprecated/PropertyManager.cpp,
src/osgPresentation/deprecated/SlideEventHandler.cpp,
src/osgPresentation/deprecated/SlideShowConstructor.cpp,
src/osgPresentation/deprecated/Timeout.cpp: Moved old
osgPresentation source files to osgPresentation/deprecated
subdirectory.
2013-08-18 16:59 robert
* applications/present3D/CMakeLists.txt,
applications/present3D/Cluster.cpp,
applications/present3D/Cluster.h,
applications/present3D/ExportHTML.cpp,
applications/present3D/ExportHTML.h,
applications/present3D/PointsEventHandler.cpp,
applications/present3D/PointsEventHandler.h,
applications/present3D/ReadShowFile.cpp,
applications/present3D/ReadShowFile.h,
applications/present3D/SDLIntegration.cpp,
applications/present3D/SDLIntegration.h,
applications/present3D/ShowEventHandler.cpp,
applications/present3D/ShowEventHandler.h,
applications/present3D/SpellChecker.cpp,
applications/present3D/SpellChecker.h,
applications/present3D/deprecated,
applications/present3D/deprecated/Cluster.cpp,
applications/present3D/deprecated/Cluster.h,
applications/present3D/deprecated/ExportHTML.cpp,
applications/present3D/deprecated/ExportHTML.h,
applications/present3D/deprecated/PointsEventHandler.cpp,
applications/present3D/deprecated/PointsEventHandler.h,
applications/present3D/deprecated/ReadShowFile.cpp,
applications/present3D/deprecated/ReadShowFile.h,
applications/present3D/deprecated/SDLIntegration.cpp,
applications/present3D/deprecated/SDLIntegration.h,
applications/present3D/deprecated/ShowEventHandler.cpp,
applications/present3D/deprecated/ShowEventHandler.h,
applications/present3D/deprecated/SpellChecker.cpp,
applications/present3D/deprecated/SpellChecker.h,
applications/present3D/deprecated/present3D.cpp,
applications/present3D/present3D.cpp: Moved old present3D sources
into local deprecated directory to clean up the main present3D
source directory for future refactored present3D
2013-08-09 16:51 robert
* CMakeLists.txt, examples/osgpresentation/CMakeLists.txt,
examples/osgpresentation/osgpresentation.cpp,
include/osg/CameraNode, include/osg/ScriptEngine,
src/osg/CMakeLists.txt, src/osg/ScriptEngine.cpp,
src/osgDB/Registry.cpp, src/osgPlugins/CMakeLists.txt,
src/osgPlugins/V8, src/osgPlugins/V8/CMakeLists.txt,
src/osgPlugins/V8/ReaderWriterV8.cpp,
src/osgPlugins/V8/V8ScriptEngine.cpp,
src/osgPlugins/V8/V8ScriptEngine.h, src/osgPlugins/lua,
src/osgPlugins/lua/CMakeLists.txt,
src/osgPlugins/lua/LuaScriptEngine.cpp,
src/osgPlugins/lua/LuaScriptEngine.h,
src/osgPlugins/lua/ReaderWriterLua.cpp, src/osgPlugins/python,
src/osgPlugins/python/CMakeLists.txt,
src/osgPlugins/python/PythonScriptEngine.cpp,
src/osgPlugins/python/PythonScriptEngine.h,
src/osgPlugins/python/ReaderWriterPython.cpp: Added initial cut
of basic scripting support, introducing an osg::Script object to
wrap up the individual scripts, osg::ScriptCallback for assigning
a Script as node callback and an osg::ScriptEngine base class
that plugins implement to provided support for specific scripting
languages.
Provided are lua, python and V8 (for javascript) plugins that
just open up enough of a link to the respective libs to run a
script, there is no scene graph <-> script communication in
current implementation.
2013-08-09 11:00 robert
* src/osg/CMakeLists.txt: Removed CameraNode reference
2013-08-09 07:46 robert
* applications/present3D/present3D.cpp: Removed unused includes
2013-08-09 07:38 robert
* applications/present3D/present3D.cpp: Removed old cursor code
2013-08-08 17:21 robert
* src/osgPresentation/Cursor.cpp: Added translucent version of
cushion which isn't depth tested to enable one to see the cursor
even when it's behind other objects
2013-08-08 16:49 robert
* applications/present3D/present3D.cpp,
include/osgPresentation/Cursor,
src/osgPresentation/CMakeLists.txt,
src/osgPresentation/Cursor.cpp: Added osgPresentation::Cursor
class to wrap up 3D cursor in the scene functionality
2013-08-07 17:08 robert
* CMakeModules/FindV8.cmake, examples/CMakeLists.txt,
examples/osgpresentation,
examples/osgpresentation/CMakeLists.txt,
examples/osgpresentation/osgpresentation.cpp: Added
osgpresentation example as a test bed for new osgPresentation
object model.
First cut of example test bed is to test how easy it is to build
against Lua, V8 and Python for purposes of running embedded
scripts.
2013-08-05 12:00 robert
* src/osg/State.cpp: From Aurelien Albert, "I've go some problem
with the method "State_Utils::replace" : if the original_phrase
is empty, it leads to an infinite loop.
Here is a path to prevent this."
2013-08-01 17:38 robert
* include/osgUtil/IntersectionVisitor: Added missing initializer
for _epsilon
2013-08-01 11:25 robert
* src/osgUtil/DelaunayTriangulator.cpp: From Anish Thomas, added
catch for to an empty DrawElementsUInt creation.
2013-08-01 10:38 robert
* AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file
2013-08-01 10:28 robert
* src/osgPlugins/shp/ESRIShapeReaderWriter.cpp,
src/osgPlugins/shp/XBaseParser.cpp,
src/osgPlugins/shp/XBaseParser.h: From Ulrich Hertlein, "Based on
the exchange on osg-users I went ahead and reworked
shp/XBaseParser to avoid
weird behaviour (closing stdin) and leaking file descriptors, as
well as some const-ness."
2013-08-01 10:04 robert
* src/osgPlugins/OpenFlight/PrimaryRecords.cpp: From Sebastian
Messerschmidt, "Seems like your re-factoring didn't really
produces the correct results.
You can check with the tester2.flt provided earlier and check
with the result image.
I double checked this with OpenFlight creator, and it seems the
yaw is broken.
With my initial quaternion version is seems correct and if I
change the
float cos_yaw = cosf(osg::inDegrees(yaw));
float sin_yaw = sinf(osg::inDegrees(yaw));
to be
float cos_yaw = cosf(osg::inDegrees(-yaw));
float sin_yaw = sinf(osg::inDegrees(-yaw));
it seems to work as well."
2013-08-01 10:00 robert
* src/osg/Geometry.cpp: From Tom Jolley, "I found a couple more
bugs after closely looking at the small piece of deprecated
geometry in my model. There were problems with more than one
primitive in a couple places. The first was the number of
vertices were not being accumulated for DrawArraysPrimitiveType
(caused another crash). The second is I had to move target_vindex
and source_pindex before the PrimitiveSetList loop so they don't
get reset on the next primitive (otherwise you end up with a lot
of zeros in per vertex lists)."
2013-08-01 07:19 robert
* include/osg/RenderInfo, src/osgUtil/RenderBin.cpp: Added
osg::RenderInfo::pushRenderBin()/popRenderBin() and
RenderInfo::getRenderBinStack() and getCameraStack() access
methods for getting access to the current RenderBin/RenderStage.
2013-07-31 13:11 robert
* include/osgUtil/IntersectionVisitor,
src/osgUtil/LineSegmentIntersector.cpp: Added
Intersector::get/setEpsilon(double) to allow users to control
what epsilon is used by the LineSegmentIntersector when doing
testing of itersections with bounding boxes
2013-07-31 07:11 robert
* include/osg/FrameBufferObject: From Aurelien Albert, "Here is the
code to get access to OpenGL handle of an osg::FrameBufferObject"
2013-07-31 06:56 robert
* src/osg/Geometry.cpp: From Tom Jolly, "I ran across this error
reading one of our older files. An iterator was being changed
inside a loop that caused a crash."
2013-07-31 06:42 robert
* src/osg/State.cpp: From Sergey Kurdakov, fixed GLES2 invalid
enumerant warning by disabling the check against
GL_MAX_TEXTURE_COORDS under GLES.
2013-07-30 06:39 robert
* applications/present3D/present3D.cpp: Changed default cull mask
to match the left cull mask so that mono rendering of
presentations with left/right stereo images/movies works fine.
2013-07-30 06:36 robert
* applications/present3D/present3D.cpp: Removed trailing spaces
2013-07-30 06:12 robert
* CMakeLists.txt: Merged from OSG-3.2 branch the removal of check
for Asio under Windows
2013-07-24 17:30 robert
* src/osg/DisplaySettings.cpp: Changed default of serialize draw to
off
2013-07-24 14:24 robert
* AUTHORS.txt, NEWS.txt, README.txt: Pulled in READE, NEWS and
AUTHORS changes from OSG-3.2 branch.
2013-07-24 13:02 robert
* include/osg/GL2Extensions, src/osg/FrameBufferObject.cpp: Added
GL2Extensions::isDrawBuffersSupported() and usage of this in
FrameBufferObject.cpp to prevent crash under GLES2 when users
attempt to use MRT when it's not supported
2013-07-24 12:51 robert
* NEWS.txt: Updated NEWS from OSG-3.2 branch
2013-07-24 12:48 robert
* src/osg/Program.cpp: Fixed warning
2013-07-24 12:25 robert
* CMakeLists.txt, include/osg/Version: Updated SO version for post
3.2 era.
2013-07-24 12:17 robert
* include/osgWidget/EventInterface: Added getCallbacks() methods
2013-07-23 18:11 robert
* src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: From Rocco Martino,
build fix for compiling against ffmpeg/trunk
2013-07-23 15:28 robert
* src/osgPlugins/osc/CMakeLists.txt: Added NOT ANDROID to force use
of posix API when building for Android under Windows
2013-07-23 10:24 robert
* src/osg/Node.cpp: Added lazy setting of the UserDataContainer to
avoid unncessarily create a UserDataContain when an empty
description list is passed to Node::setDescriptions(..)
2013-07-23 09:54 robert
* src/osgPlugins/shp/XBaseParser.cpp: Fixed crash when open(..)
returns an error.
2013-07-23 05:25 robert
* CMakeModules/Find3rdPartyDependencies.cmake,
CMakeModules/FindCOLLADA.cmake, CMakeModules/FindNVTT.cmake: From
Torben Dannhauer, "Please find attached further changes to make
library auto detection
functional again for some libraries:
Find3rdPa..: Fix to find libxml2
FindCollada: Rearranged to handle different MSVC versions more
effective.
This file is already prepared for the upcoming VS 2013.
FindNVTT: introduced management of debug libraries (also auto
detected).
"
2013-07-22 13:31 robert
* src/osgPlugins/dae/daeWGeometry.cpp: From Andreas Ekstrand,
"Attached is a small modification of the Collada writer that
protects from crashes due to valArray being NULL in some
situations."
2013-07-22 10:15 robert
* include/osg/FrameBufferObject, include/osg/StateAttribute: Added
FRAME_BUFFER_OBJECT enum
2013-07-22 10:15 robert
* include/OpenThreads/Version: Updated OpenThreads version
2013-07-19 21:05 robert
* src/osgViewer/GraphicsWindowIOS.mm: From Christian Ruzicka, "with
the current touch implementation on iOS the touches are not
forwarded to parent views because the base implementation is not
called. Also see the "Best Practices" in the iOS documentation
for event handling:
"If you handle events in a subclass of any other UIKit responder
class:
- You do not have to implement all of the event handling methods.
- In the methods you do implement, be sure to call the superclass
implementation. For example, [super touchesBegan:touches
withEvent:event]."
I added the missing lines and tested it with OSG 3.1.9 and iOS
SDK 6.1."
2013-07-19 20:59 robert
* src/osg/Geometry.cpp: Added default setting of BIND_PER_VERTEX
when applying Geometry::setTexCoordArray()
2013-07-19 17:00 robert
* src/OpenThreads/CMakeLists.txt: Updated OpenThreads version to be
in sync with OSG version