60d4b71d2bFrom 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:
Robert Osfield
2013-10-02 11:09:29 +00:00
d636e89f9aFrom 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:
Robert Osfield
2013-10-02 11:09:22 +00:00
59caf4a48eFixed build with no automatic ref_ptr<> conversion
Robert Osfield
2013-10-01 19:34:21 +00:00
fcc14e467aUpdated AUTHORS files
Robert Osfield
2013-10-01 19:31:48 +00:00
11168fea66Updated ChangeLog in prep for dev release
Robert Osfield
2013-10-01 19:00:02 +00:00
5015ec4b5dFrom Aurelien Albert, "I'm working with OSG and a customer low-level OpenGL library.
Robert Osfield
2013-10-01 17:01:21 +00:00
270883d3f4From 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."
Robert Osfield
2013-10-01 16:20:20 +00:00
cb67c10b5fFrom 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."
Robert Osfield
2013-10-01 16:20:18 +00:00
c399db82a3From 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.
Robert Osfield
2013-10-01 09:37:56 +00:00
7990effc06From 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.
Robert Osfield
2013-10-01 09:37:54 +00:00
76d833f332From 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.
Robert Osfield
2013-10-01 09:11:26 +00:00
8d2c3db14cFrom 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.
Robert Osfield
2013-10-01 09:11:23 +00:00
04ea3aa6a2From Thomas Hogarth, "Attached is a small build fix for PointSprite when compiling under GLES2 (r13788)
Robert Osfield
2013-10-01 09:05:42 +00:00
68c22efa58From Thomas Hogarth, "Attached is a small build fix for PointSprite when compiling under GLES2 (r13788)
Robert Osfield
2013-10-01 09:05:18 +00:00
d30a94bf4c
Robert Osfield
2013-09-30 18:32:44 +00:00
c626b0e1f6From 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.
Robert Osfield
2013-09-30 18:32:41 +00:00
8ff77c10f9From 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."
Robert Osfield
2013-09-30 18:16:08 +00:00
d304ed7d73From 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."
Robert Osfield
2013-09-30 18:15:51 +00:00
76edd07195Refactored the epsilon code to use the same one now used in svn/trunk.
Robert Osfield
2013-09-30 10:45:24 +00:00
0ba856a637
Robert Osfield
2013-09-30 10:28:14 +00:00
8bc85764ffUnified Vec/Plane/Quat handling code.
Robert Osfield
2013-09-27 18:43:35 +00:00
ff925f1d86Added support for getting Vec* and Matrix objects from Lua stack and assigning them as OSG object properties.
Robert Osfield
2013-09-27 13:04:04 +00:00
43cb1b3a41Initial cut of setting and getting osg::Object properties within Lua scripts
Robert Osfield
2013-09-26 17:27:49 +00:00
6d8f40d13aAdded support for passing parameters in and out of scripts.
Robert Osfield
2013-09-24 15:17:42 +00:00
796314c339Changed NodeVisitor so that is subclasses from osg::Object rather than osg::Referenced to enable it to be used with serialization and scripting
Robert Osfield
2013-09-24 15:08:23 +00:00
874a7ed3b3Removed redundent spaces
Robert Osfield
2013-09-24 08:56:47 +00:00
351f98b10dAdded test for osgGA::GUIEventAdapter
Robert Osfield
2013-09-23 14:10:36 +00:00
3af70f13a3Removed unnceccesary setNumChildrenRequiringUpdateTraversal from VolumeTile constructor.
Robert Osfield
2013-09-20 15:43:24 +00:00
0ab211cb7cRemoved unnceccesary setNumChildrenRequiringUpdateTraversal from VolumeTile constructor.
Robert Osfield
2013-09-20 15:43:22 +00:00
8f3ee7c649Added initial cut of white and black lists
Robert Osfield
2013-09-20 10:44:24 +00:00
6bc413530eAdded compoundClassName() convinience method to standardize the generation of the compoundClassName.
Robert Osfield
2013-09-20 10:25:23 +00:00
6e3f893a0eAdded type maps to help with querrying supported type names
Robert Osfield
2013-09-20 10:04:50 +00:00
250d9f2ed7Introduce 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.
Robert Osfield
2013-09-19 16:19:32 +00:00
f42481b60fRemoved unneccessary return
Robert Osfield
2013-09-19 16:18:20 +00:00
24ecfb1a48Added access methods to Serializer to help with using wrappers for other purposes such as script integration.
Robert Osfield
2013-09-11 15:44:08 +00:00
0cd6a935e0From 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.
Robert Osfield
2013-09-10 15:18:34 +00:00
31cd80cea7From 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.
Robert Osfield
2013-09-10 15:17:59 +00:00
cab0f50371From Giuseppe Donvito, Fixed typo of "CLEAR_GLOBAL_STATESET = 0x16," to indended "CLEAR_GLOBAL_STATESET = "0x10".
Robert Osfield
2013-09-10 13:29:28 +00:00
82bbcef117From Giuseppe Donvito, Fixed typo of "CLEAR_GLOBAL_STATESET = 0x16," to indended "CLEAR_GLOBAL_STATESET = "0x10".
Robert Osfield
2013-09-10 13:29:28 +00:00
898c716841Added osgPresentation::Show node and implementations with basic property reporting for various internal nodes of presentation graph
Robert Osfield
2013-09-10 09:23:30 +00:00
085bfd83d7From 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
Robert Osfield
2013-09-09 16:02:32 +00:00
27b57dbf0cFrom Colin Cochran, OES support for point sprites
Robert Osfield
2013-09-09 14:58:25 +00:00
c62a57c006From Colin Cochran, OES support for point sprites
Robert Osfield
2013-09-09 14:58:08 +00:00
e9697859bdFrom 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. "
Robert Osfield
2013-09-09 13:33:13 +00:00
fefe87ec13osg 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.
Robert Osfield
2013-09-09 13:33:11 +00:00
b20a74b017From Ulrich Hertlein, "Patch for FindAVFoundation to work with OS X 10.9"
Robert Osfield
2013-09-09 12:44:36 +00:00
8fd8036e33From Ulrich Hertlein, "Patch for FindAVFoundation to work with OS X 10.9"
Robert Osfield
2013-09-09 12:44:32 +00:00
f653048d5fFrom 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."
Robert Osfield
2013-09-09 12:37:55 +00:00
80456598e0From 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."
Robert Osfield
2013-09-09 12:37:52 +00:00
caf56902c3From Laurens Voerman, "two minor fixes, both in a CMakeList.txt file,
Robert Osfield
2013-09-09 12:33:20 +00:00
61ccd56d25From Laurens Voerman, "two minor fixes, both in a CMakeList.txt file,
Robert Osfield
2013-09-09 12:33:18 +00:00
7050c59caeInitial cut of Audio/Volume/Movie/Image presentation objects
Robert Osfield
2013-09-06 09:35:56 +00:00
48498a1517From 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).
Robert Osfield
2013-09-05 10:23:24 +00:00
df48d440e4From 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).
Robert Osfield
2013-09-05 10:23:05 +00:00
94735a8364From 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."
Robert Osfield
2013-09-05 10:08:09 +00:00
b86e644542From 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."
Robert Osfield
2013-09-05 10:08:06 +00:00
97091aa96cFixed warnings
Robert Osfield
2013-09-05 10:05:05 +00:00
19f84b52e7Fixed warnings
Robert Osfield
2013-09-05 10:04:56 +00:00
0d2825e06fFrom 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."
Robert Osfield
2013-09-05 08:42:00 +00:00
9574f4c087From 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."
Robert Osfield
2013-09-05 08:41:58 +00:00
73250601f0Added missing Model.cpp
Robert Osfield
2013-09-05 08:22:27 +00:00
9201cf8d00Moved the property test from the model to presentation to test out the property inheritance scheme
Robert Osfield
2013-09-04 17:27:26 +00:00
856ec46467Added PrintProperties visitor
Robert Osfield
2013-09-04 16:25:18 +00:00
ccf7bbdb50Added PrintPropertiesAction to osgPresentation
Robert Osfield
2013-09-04 15:39:17 +00:00
9f5e131203Added Action class NodeVisitor that supports osgPresentation nodes.
Robert Osfield
2013-09-04 10:33:11 +00:00
3c106e4dd7Added test for osgPresentatation::Group::getSupportedProperties()
Robert Osfield
2013-09-03 15:50:28 +00:00
fdfe3210ceAdded beginings of Text implementation
Robert Osfield
2013-09-03 10:17:06 +00:00
a5002123a9From 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."
Robert Osfield
2013-09-02 10:57:50 +00:00
f5deda56a6From 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."
Robert Osfield
2013-09-02 10:56:48 +00:00
b9ecec6452Refactored the use of epsilon in the clamping of the start/end points of the LineSegmentIntersector to better handle numerical precision issues.
Robert Osfield
2013-09-02 10:56:14 +00:00
bddb6e8eaaMerged from svn/trunk, fixed double copy in StackedTransform constructor
Robert Osfield
2013-09-02 09:13:20 +00:00
698365e47fFixed double copy in StackedTransform copy constructor
Robert Osfield
2013-09-02 09:12:24 +00:00
7c78101621Added IO test for new osgPresentation nodes
Robert Osfield
2013-09-02 08:29:09 +00:00
820ba45fabAdded Audio, Image, Movie, Model and Volume class to osgPresentation.
Robert Osfield
2013-09-01 17:24:35 +00:00
de428146b9Fixed build
Robert Osfield
2013-08-23 16:47:27 +00:00
ef32fab30eAdded color property to FontData parsing
Robert Osfield
2013-08-23 11:42:52 +00:00
d7038e1be1Quitened down debug message
Robert Osfield
2013-08-22 13:39:36 +00:00
11685a3e0cRemoved debug messages
Robert Osfield
2013-08-22 12:37:49 +00:00
79c9aa7d02Quitened down debug message
Robert Osfield
2013-08-22 12:07:55 +00:00
ffa58776feQuitened down debug message
Robert Osfield
2013-08-22 11:18:45 +00:00
db449b9e09Added warning when model file has not be found
Robert Osfield
2013-08-22 10:09:21 +00:00
464628b5c4Reduced debug message level, and added a notify message for when an image isn't loaded
Robert Osfield
2013-08-22 10:05:29 +00:00
fcde15e136Added test for serializers and fixed serializers
Robert Osfield
2013-08-22 07:49:22 +00:00
c678fed113Added initial classes for present3D refactor
Robert Osfield
2013-08-21 19:54:03 +00:00
4e3715d4bbMoved old osgPresentation source files to osgPresentation/deprecated subdirectory.
Robert Osfield
2013-08-18 18:10:39 +00:00
28ce02915aMoved old present3D sources into local deprecated directory to clean up the main present3D source directory for future refactored present3D
Robert Osfield
2013-08-18 16:59:11 +00:00
bd7ec9c5f7Added 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.
Robert Osfield
2013-08-09 16:51:06 +00:00
babd6e0ee7Removed CameraNode reference
Robert Osfield
2013-08-09 11:00:55 +00:00
eba9291e5cRemoved unused includes
Robert Osfield
2013-08-09 07:46:22 +00:00
ef88a54125Removed old cursor code
Robert Osfield
2013-08-09 07:38:32 +00:00
93ebfd6217Added translucent version of cushion which isn't depth tested to enable one to see the cursor even when it's behind other objects
Robert Osfield
2013-08-08 17:21:20 +00:00
82401defc7Added osgPresentation::Cursor class to wrap up 3D cursor in the scene functionality
Robert Osfield
2013-08-08 16:49:33 +00:00
835ee7aa8eAdded osgpresentation example as a test bed for new osgPresentation object model.
Robert Osfield
2013-08-07 17:08:38 +00:00
41b1fcffe6From 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.
Robert Osfield
2013-08-05 12:00:59 +00:00
0c609bc17eFrom 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.
Robert Osfield
2013-08-05 12:00:34 +00:00
90703f99eeAdded missing initializer for _epsilon
Robert Osfield
2013-08-01 17:38:34 +00:00
044f16b8b9From Anish Thomas, added catch for to an empty DrawElementsUInt creation.
Robert Osfield
2013-08-01 11:25:07 +00:00
5f6a1f4093From Anish Thomas, added catch for to an empty DrawElementsUInt creation.
Robert Osfield
2013-08-01 11:25:02 +00:00
b69745f178Updated ChangeLog and AUTHORS file
Robert Osfield
2013-08-01 10:38:02 +00:00
d581806619From 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."
Robert Osfield
2013-08-01 10:28:15 +00:00