Robert Osfield
ee266255eb
Added scripting support for JumpData, KeyPosition, HomePosition and parts of SlideEventHandler that enable dispatching of user created events.
2014-03-10 19:08:46 +00:00
Robert Osfield
9b299dc4b9
Added ability to replace callback objects via lua scripts to allow one to override callbacks.
...
Added fallback for osgGA::Widget::Extents.
2014-03-07 11:09:25 +00:00
Robert Osfield
9319350176
Added support for osg::Image to the lua plugin.
2014-03-06 10:27:26 +00:00
Robert Osfield
076adcbd82
Implement add, set and get methods for StateSet.
2014-03-04 13:36:13 +00:00
Robert Osfield
218e36b12b
Relaxed the handling of Image objects
2014-03-04 13:35:27 +00:00
Robert Osfield
c6e72ee00b
Fixed handling of OverrideValue
2014-03-04 13:34:23 +00:00
Robert Osfield
2b67196418
From Stephan Huber, fix for handling font paths on a local machine when other files have been source from a remote machine.
2014-02-28 17:38:36 +00:00
Robert Osfield
de09adcaa9
Added MapReverseIterator implementation.
2014-02-27 10:02:55 +00:00
Robert Osfield
46381cb15c
Added MapIteratorObject and support for it in the lua plugin to provide map iterator functionality.
2014-02-26 18:18:08 +00:00
Robert Osfield
9394215d31
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 11:01:35 +00:00
Robert Osfield
69e9f2c973
Added support for vector and map containers in osgDB::Serailizer's and lua plugin.
2014-02-26 08:26:51 +00:00
Robert Osfield
4ef5d9eb5f
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-24 10:19:48 +00:00
Robert Osfield
6d68718fba
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 18:52:41 +00:00
Robert Osfield
cb805d7be5
Added inital cut of PrimitiveSetSet wrappers to scripting
2014-02-13 11:01:36 +00:00
Robert Osfield
42705bff3f
Added full range of Array subclasses to wrappers
2014-02-12 18:10:52 +00:00
Robert Osfield
743a6b049c
Added initial support for wrapping osg::Array in a way that can be used via scripting.
2014-02-12 18:03:53 +00:00
Robert Osfield
8bbbea1274
Fixed handling of assignment of User Object's that replace existing Object with the specified propertyName.
2014-02-11 18:18:48 +00:00
Robert Osfield
2797e8cb7c
Improved support for setting/getting properties via the osg::UserDataContainer.
2014-02-11 18:07:37 +00:00
Robert Osfield
e3a003a08f
Quitened down debug messages
2014-02-11 10:56:51 +00:00
Robert Osfield
a9f8af3fb6
Changed implementation of enums to use strings as lua type to make it easier to do comparisons and track values
2014-02-11 09:43:08 +00:00
Robert Osfield
e21865ee33
Implemented Widget::handle, handleImplementation, traverse and travseImplementation() wrappers to enable them to be extended via scripting
2014-02-10 18:07:26 +00:00
Robert Osfield
31e98b51df
Added support for serailizing and scripting BoundingBox and BoundingSphere objects
2014-02-10 16:44:13 +00:00
Robert Osfield
3dcca431a9
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 17:53:51 +00:00
Robert Osfield
1319c2d281
Added support for enum's in the Lua script integration
2014-02-08 10:39:20 +00:00
Robert Osfield
8eae4b0381
Fixed export
2014-02-08 10:38:51 +00:00
Robert Osfield
8ad0ab1f6b
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 16:06:57 +00:00
Robert Osfield
6f5e5c23df
Added initial Widget wrapper
2014-02-07 10:46:16 +00:00
Robert Osfield
4016aed62d
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:32:41 +00:00
Robert Osfield
958a7d0ab0
Added osg::CallbackObject suport to the experiment Widget base class to enable script language extension of widgets
2014-02-06 17:04:40 +00:00
Robert Osfield
99eb81e743
Added support for casting objects to allow one to access a parent classes methods.
2014-02-06 11:25:37 +00:00
Robert Osfield
ca3737e002
Tweaked the detection of when the position transform for the hull is required.
2014-02-05 11:08:39 +00:00
Robert Osfield
2b8be97297
Added support for a <hull> tag that can be used within <volume> tag.
2014-02-05 11:07:03 +00:00
Robert Osfield
1909093cac
Improved the white space trimming
2014-02-05 11:04:29 +00:00
Robert Osfield
c599189d7d
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:49:13 +00:00
Robert Osfield
6bf6d5eeb2
Added test code for nesting a <hull> within a volume tag.
2014-02-04 16:46:33 +00:00
Robert Osfield
488e1692cc
From Stephan Huber, added support for compile source code of lua with the lua plugin
2014-02-04 11:24:01 +00:00
Robert Osfield
f44369777f
Fixed error in the computation of tex coords of Maximum Intensity Projection + Transfer Function rendering.
2014-02-03 15:35:22 +00:00
Robert Osfield
306a4f2d2d
Replaced C cast to long with a static_cast<const void*>() to avoid a build error under Mingw 64.
2014-01-31 19:18:18 +00:00
Robert Osfield
5f8e2bda2f
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-31 16:20:29 +00:00
Robert Osfield
661f0e69ef
Updated ChangeLog
2014-01-29 11:01:24 +00:00
Robert Osfield
d63c6f6978
From Kristofer Tingdahl, made method virtual
2014-01-28 16:49:20 +00:00
Robert Osfield
fba7a65fb4
Fixed MingW build's handling of debug d postfix.
2014-01-28 16:48:47 +00:00
Robert Osfield
4814a5341e
Removed the invocation of gcc on all platforms
2014-01-28 15:28:17 +00:00
Robert Osfield
f7e6f0092c
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-28 11:01:28 +00:00
Robert Osfield
4f19237467
Removed unimplemented method
2014-01-27 15:43:36 +00:00
Robert Osfield
5292c7ca50
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:31:09 +00:00
Robert Osfield
70bfad0371
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 17:06:32 +00:00
Robert Osfield
fcc34a8b45
From Michael Schanne, "small fix for a duplicate OR operand in KdTree.cpp."
2014-01-24 16:45:45 +00:00
Robert Osfield
1ec3ec1247
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:28:34 +00:00
Robert Osfield
1270236715
From Torben Dannhauer, VisualStudio 2013 build fixes
2014-01-24 16:24:59 +00:00