Robert Osfield
fce49ae02a
Quitened down debug output
2010-05-24 14:16:31 +00:00
Robert Osfield
9fd01f78a5
Updated wrappers
2010-05-24 09:44:38 +00:00
Robert Osfield
e826bfeb3c
Refactored osgQt so that QWebViewImage is now entirely implementated in the header, and osgQt itself no longer compiles it,
...
leaving it to only applications that require it to include the header and it's implementation and with ith the QWebKit dependency.
2010-05-22 15:45:02 +00:00
Robert Osfield
0165862701
From Wojciech Lewandowski, "Reading and Writing of Texture2DArrays for IVE format."
2010-05-21 09:56:59 +00:00
Robert Osfield
a79a13955a
From Wojciech Lewandowski, "Support for compressed texture arrays + mipmaps + auto mipmap generation. Changes vs OSG trunk. Thanks to Ricardo Corsi I was able to add last time tweaks and remove few issues. This version was so well tested that it has to be posted for inclusion into OSG ;-)
...
"
2010-05-21 09:34:25 +00:00
Robert Osfield
338edd0a71
From Hartwig Wiesmann, fixed setup of texture coordinates for applying a contour layer.
2010-05-21 09:23:41 +00:00
Robert Osfield
332cea9c5a
Fixed warning
2010-05-21 09:00:19 +00:00
Robert Osfield
02dc850aac
From Terry Welsh, added missing static_cast in Referenced.cpp
2010-05-20 17:00:10 +00:00
Robert Osfield
5b84e5b254
Updated wrappers
2010-05-20 15:25:40 +00:00
Robert Osfield
9cf330d7ff
Introduced a alternative implementation of observer_ptr<> that uses ObserverSet rather than an local WeakReference object.
2010-05-20 13:38:28 +00:00
Robert Osfield
858d52364e
From Alok Priyadarshi, build fix for gcc.
2010-05-19 16:43:37 +00:00
Robert Osfield
2996dc8244
Introduction an ADD_FUNCTION macro to simply the set up of the static function mappings
2010-05-19 13:40:46 +00:00
Robert Osfield
0fb865bc4f
Fixed typo
2010-05-18 17:58:35 +00:00
Robert Osfield
07e43822e6
Added better invalidation of the inactive and active PageLOD lists when children are invalidated when parents are removed.
2010-05-18 15:33:59 +00:00
Robert Osfield
4a0c21a5fc
From Wang Rui, serializers for osgSim and osgVolume
2010-05-18 11:00:06 +00:00
Robert Osfield
f5587bad3d
Fixed typos in method names
2010-05-18 10:12:30 +00:00
Robert Osfield
61121daaab
Updated wrappers
2010-05-17 18:37:32 +00:00
Robert Osfield
ccd9f31309
Removed signalUnreffed interface
2010-05-17 14:21:53 +00:00
Robert Osfield
f832198128
From Tim Moore, refactore WeakReference/Referenced to avoid signalling the observers when do a unref_nodelete.
2010-05-17 09:03:44 +00:00
Robert Osfield
4d88ba6efe
Re-ordered the inclusion of platform specific headers to fix compile error under Windows
2010-05-17 08:29:35 +00:00
Robert Osfield
a0eb7de060
From Alok Priyadarshi, support for statically linking to GLES2.lib
2010-05-14 19:47:50 +00:00
Robert Osfield
554adfc8e6
Refactored Observer/ObserverNodePath and DatabasePager to improve their robustness.
2010-05-14 12:24:13 +00:00
Robert Osfield
2b2ea4487a
From Tim Moore, new more robust observer_ptr<> implementation
2010-05-14 12:14:14 +00:00
Robert Osfield
4e8f0561ad
From Farshid Lashkari, "I modified some plugins to use the osgDB file stream functions in order to support UTF-8 encoded filenames."
2010-05-13 11:01:06 +00:00
Robert Osfield
29ea65c12b
From Gunter Huber, fixes for better GLES2 support
2010-05-13 10:01:07 +00:00
Robert Osfield
42527fe859
From Wang Rui, "I'd like to submit my inbuilt schema data support of
...
the OutputStream/InputStream implementations, which was just finished
last weekend with a few tests on Windows and Ubuntu. Hope it could
work and get more feedbacks soon.
I've added a new option "SchemaData" to the osg2 plugin. Developers
may test the new feature with the command line:
# osgconv cow.osg cow.osgb -O SchemaData
It will record all serializer properties used in the scene graph, at
the beginning of the generated file. And when osgviewer and user
applications is going to read the osgb file, the inbuilt data will be
automatically read and applied first, to keep backwards compatibility
partly. This will not affect osgb files generated with older versions.
"
2010-05-12 20:02:31 +00:00
Robert Osfield
a04d83efa7
From Mathias Froehlich, fixed memory leak when using OpenThread::Mutex based reference counting.
2010-05-12 15:11:15 +00:00
Robert Osfield
046b6a4bfd
Removed inappropriate code which was causing a memory leak. This code was clearly a copy and paste error. The mistake was spotted by Robin Bourianes, with code changes made by Robert Osfield.
2010-05-12 14:34:18 +00:00
Robert Osfield
cfd4c514cb
Improved the indentation/replaced tabs
2010-05-12 11:58:01 +00:00
Robert Osfield
688323fbed
From Sukender, "Here is a tiny fix about texture wrap mode not being written correctly in 3DS files."
2010-05-12 11:44:30 +00:00
Robert Osfield
b1179978f5
From Stephan Huber, "attached you'll find a fix for a crash when closeImplementation gets
...
called more than once."
2010-05-12 11:41:36 +00:00
Robert Osfield
68a1ed2dcf
Fixes for building OSG with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF.
...
Fixed copy and paste error in Camera::getImplicitBufferAttachmentResolveMask().
2010-05-12 11:37:27 +00:00
Michael PLATINGS
e91557fe1d
From Martins Innus: The current fbx writer doesn't seem to support BIND_PER_VERTEX for normals. If you have this type of geometry it, exports the the first normal in the array over the whole primitive set. I don't know that the attached change should be applied as is, since I don't know enough about DrawArrays and Draw Elements to know if the indices for the vertices and normals are guaranteed to be the same. I tried it on a couple models and that seemed to be the case. The alternative is to have the logic down in setControlPointAndNormalsAndUV and set the normals there with the "vertexIndex" if the binding type is per vertex. Not sure what is cleaner.
2010-05-12 08:54:22 +00:00
Michael PLATINGS
047b70c265
From Martins Innus: allow the fbx exporter to reference textures correctly if the stateset is applied to the Geode instead of Geometry
2010-05-11 17:02:18 +00:00
Michael PLATINGS
c51e94725b
Fix from Martins Innus for error: extra qualification 'FbxMaterialToOsgStateSet::' on member 'FbxMaterialToOsgStateSet'
2010-05-11 09:08:55 +00:00
Robert Osfield
c0c4585ac3
updated wrappers
2010-04-30 20:04:25 +00:00
Robert Osfield
400aa8ebcd
Added proper support for writing out Xml graph
2010-04-30 19:41:56 +00:00
Robert Osfield
c2a59415ce
Changed DisplaySetting::instance() to return a ref_ptr<>& rathern than a raw C pointer to enable apps to delete the singleton or assign their own.
2010-04-30 11:48:30 +00:00
Robert Osfield
afce262601
Added free of _visualInfo if it's already been allocated
2010-04-30 10:52:24 +00:00
Robert Osfield
087559f7a0
Changed debug messages to use printf to avoid issues with using notify at startup and exit.
2010-04-30 10:51:27 +00:00
Robert Osfield
38276b0d92
Added support for using dot graphs directly in the <graph></graph> token
2010-04-30 10:50:17 +00:00
Robert Osfield
12a0b9ab6d
From Bernardt Duvenhage: "I noticed that in 'src/OpenThreads/pthreads/CMakeLists.txt' a '!' has been written instead of 'NOT' within an if statement expression.
...
IF(!OSG_COMPILE_FRAMEWORKS) ...
vs.
IF(NOT OSG_COMPILE_FRAMEWORKS) ...
This has the effect of always compiling OpenThreads as a framework under OSX. The CMakeLists.txt that I use to be able to compile the non-framework version of OpenThreads is attached. I simply replaced the '!' replaced by a 'NOT' and added a MESSAGE to notify me when the .framework will be compiled."
2010-04-29 15:23:43 +00:00
Robert Osfield
a4718ef88b
Updated wrappers
2010-04-28 22:08:48 +00:00
Robert Osfield
a6c7fee246
From Alok Priyadarshi, "1. Replaced APIENTRY to GL_APIENTRY which is used by OpenGL ES
...
headers. For desktop GL GL_APIENTRY has been defined as APIENTRY."
2010-04-28 21:22:44 +00:00
Robert Osfield
c019e2f76d
Fixed typo
2010-04-28 21:10:29 +00:00
Robert Osfield
5435f6cf50
From Wang Rui, "Two small bugs were just found when I was writing examples for my book
...
in process: a wrong definition of the OSG_FATAL macro, and wrong logic
inside the KeySwitchMatrixManipulator::getDistance() function. I
believe both were slips."
2010-04-28 20:33:40 +00:00
Robert Osfield
363f32536b
From Farshid Lashkari, "There's a subtle bug in osgDB::getFileExtension where it returns an incorrect value if the filename does not contain an extension but a sub-directory contains a dot character. I've modified the function so that it checks for this case."
2010-04-28 20:21:28 +00:00
Robert Osfield
0adf26ec6e
From Wang Rui, "The osgManipulator serializers are ready now. I need to modify the
...
META_OSGMANIPULATOR_Object macro to ensure these classes could work
with their wrappers, and a few naming styles should be changed as
well. Fortunately everything seems to compile fine under Windows and
my new Ubuntu system.
And I finally find the problem of the
serializers/osgTerrain/Terrain.cpp, it just missed an "osg::Group"
before "osg::CoordinateSystemNode" indicator. With the small fix
attached now VPB could generate terrain with osgt/osgb formats."
2010-04-28 20:16:44 +00:00
Robert Osfield
22dfe6f8d1
From John Ivar Haugland and Michael Platings,
...
JIV:"I deleted a line from the ReaderWriterDAE.cpp file that was introduced in rev 11341. I got a crash on this line when the options pointer was NULL."
MP:"Good spot John. The next line is also unnecessary and can be removed as well (attached, plus some minor code beautifying)"
2010-04-28 20:10:53 +00:00
Robert Osfield
8b8ca09ab1
Added support for passing options to the .dot plugin
2010-04-28 18:53:34 +00:00