Robert Osfield
28ce02915a
Moved old present3D sources into local deprecated directory to clean up the main present3D source directory for future refactored present3D
2013-08-18 16:59:11 +00:00
Robert Osfield
bd7ec9c5f7
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 16:51:06 +00:00
Robert Osfield
babd6e0ee7
Removed CameraNode reference
2013-08-09 11:00:55 +00:00
Robert Osfield
eba9291e5c
Removed unused includes
2013-08-09 07:46:22 +00:00
Robert Osfield
ef88a54125
Removed old cursor code
2013-08-09 07:38:32 +00:00
Robert Osfield
93ebfd6217
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 17:21:20 +00:00
Robert Osfield
82401defc7
Added osgPresentation::Cursor class to wrap up 3D cursor in the scene functionality
2013-08-08 16:49:33 +00:00
Robert Osfield
835ee7aa8e
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-07 17:08:38 +00:00
Robert Osfield
0c609bc17e
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-05 12:00:34 +00:00
Robert Osfield
90703f99ee
Added missing initializer for _epsilon
2013-08-01 17:38:34 +00:00
Robert Osfield
5f6a1f4093
From Anish Thomas, added catch for to an empty DrawElementsUInt creation.
2013-08-01 11:25:02 +00:00
Robert Osfield
b69745f178
Updated ChangeLog and AUTHORS file
2013-08-01 10:38:02 +00:00
Robert Osfield
14f63cbe67
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:28:12 +00:00
Robert Osfield
46ec50aecb
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:04:05 +00:00
Robert Osfield
837a680849
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 10:00:31 +00:00
Robert Osfield
07365c1073
Added osg::RenderInfo::pushRenderBin()/popRenderBin() and RenderInfo::getRenderBinStack() and getCameraStack() access methods for getting access to the current RenderBin/RenderStage.
2013-08-01 07:19:45 +00:00
Robert Osfield
364e2765e7
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 13:11:49 +00:00
Robert Osfield
9c9939e5d4
From Aurelien Albert, "Here is the code to get access to OpenGL handle of an osg::FrameBufferObject"
2013-07-31 07:11:07 +00:00
Robert Osfield
9878a83894
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:56:31 +00:00
Robert Osfield
56cb7de72a
From Sergey Kurdakov, fixed GLES2 invalid enumerant warning by disabling the check against GL_MAX_TEXTURE_COORDS under GLES.
2013-07-31 06:42:49 +00:00
Robert Osfield
52761f2c29
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:39:33 +00:00
Robert Osfield
fb8db6cb73
Removed trailing spaces
2013-07-30 06:36:49 +00:00
Robert Osfield
846001f06d
Merged from OSG-3.2 branch the removal of check for Asio under Windows
2013-07-30 06:12:31 +00:00
Robert Osfield
0620f249a5
Changed default of serialize draw to off
2013-07-24 17:30:46 +00:00
Robert Osfield
019bccfa6f
Pulled in READE, NEWS and AUTHORS changes from OSG-3.2 branch.
2013-07-24 14:24:33 +00:00
Robert Osfield
75fd039dba
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 13:02:32 +00:00
Robert Osfield
9b733baf02
Updated NEWS from OSG-3.2 branch
2013-07-24 12:51:13 +00:00
Robert Osfield
ee5a1b0a83
Fixed warning
2013-07-24 12:48:59 +00:00
Robert Osfield
8d3e46dfac
Updated SO version for post 3.2 era.
2013-07-24 12:25:18 +00:00
Robert Osfield
75226e6b68
Added getCallbacks() methods
2013-07-24 12:17:06 +00:00
Robert Osfield
085d3af14c
From Rocco Martino, build fix for compiling against ffmpeg/trunk
2013-07-23 18:11:35 +00:00
Robert Osfield
ca3efe6bdc
Added NOT ANDROID to force use of posix API when building for Android under Windows
2013-07-23 15:28:31 +00:00
Robert Osfield
c21b60b038
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 10:24:28 +00:00
Robert Osfield
51075421d3
Fixed crash when open(..) returns an error.
2013-07-23 09:54:25 +00:00
Robert Osfield
f6c3c8ac00
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-23 05:25:39 +00:00
Robert Osfield
fcca4032ef
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 13:31:32 +00:00
Robert Osfield
a802729562
Added FRAME_BUFFER_OBJECT enum
2013-07-22 10:15:59 +00:00
Robert Osfield
95d5a19319
Updated OpenThreads version
2013-07-22 10:15:44 +00:00
Robert Osfield
4a2e1534d5
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:
...
http://developer.apple.com/library/ios/#documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/multitouch_background/multitouch_background.html
"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 21:05:54 +00:00
Robert Osfield
f21a1dc9ad
Added default setting of BIND_PER_VERTEX when applying Geometry::setTexCoordArray()
2013-07-19 20:59:09 +00:00
Robert Osfield
b3aa1bda1d
Updated OpenThreads version to be in sync with OSG version
2013-07-19 17:00:24 +00:00
Robert Osfield
cda0b615de
Updated version number for svn/trunk to 3.3.0 for all new feature development
2013-07-19 14:55:36 +00:00
Robert Osfield
9416ef4791
Updated AUTHORS file for new 3.2 branch
2013-07-19 14:07:17 +00:00
Robert Osfield
95a5f3ed0f
Updated version number to 3.2.0-rc1 in prep for create the 3.2 branch, and 3.2.0-rc1
2013-07-19 14:06:11 +00:00
Robert Osfield
8184798d40
Update ChangeLog and AUTHORS files for 3.1.10 dev release
2013-07-19 10:31:45 +00:00
Robert Osfield
170cbb9018
Updater version for 3.1.10 dev release
2013-07-19 10:17:26 +00:00
Robert Osfield
a1bda7d39e
Removed #if 0 #endif block
2013-07-19 10:11:42 +00:00
Robert Osfield
e7b86099d1
Fixed problem with the osgviewerQt code override the default View::Camera without setting it's default state on it's StateSet like View does by default.
2013-07-19 09:43:54 +00:00
Robert Osfield
2f1d3626de
From Johannes Scholz, "as we need to dynamically add and remove Effects to and from our Application, I created a small patch for osgFX/Registry to add the osgFX::Registry::removeEffect(effect*) method and extended osgFX::Registry::Proxy to call removeEffect upon its destruction."
2013-07-19 06:56:13 +00:00
Robert Osfield
a270a7635e
From Wang Rui, "A very small clerical error in the src/osgViewer/CMakeLists.txt makes MinGW/Cygwin builds fail. Now it is fixed and now OSG works well again with Cygwin. :-) The OSC plugin also needs a small fix to compile with Cygwin, as attached file src/osgPlugins/osc/osc/OscHostEndianness.h shows."
2013-07-19 06:39:06 +00:00