Robert Osfield
74687953be
From Jeremy Moles, submitted by Cedric Pinson "Here an new example from Jeremy Moles that demonstrate EaseMotion from
...
osgAnimation, i have updated EaseMotion with new type, so for users of
EaseMotion just have look, it's a great example."
2010-02-25 17:58:50 +00:00
Robert Osfield
605ad76691
From Wang Rui, "Attached is the osgTerrain wrappers, based on the latest SVN version
...
of OSG. I modified the osgDB::InputStream and OutputStream and the
PagedLOD wrapper as well. Now all seems to work fine with paged
scenes. I've tested with the puget terrain data and the osgdem
application from VPB:
# osgdem --xx 10 --yy 10 -t ps_texture_4k.tif --xx 10 --yy 10 -d
ps_height_4k.tif -l 8 -v 0.1 -o puget.osgb
As the ive plugin does, The PagedLOD wrapper now automatically add the
latest file path to PagedLODs' databasePath member, to help them find
correct child positions. I also changed the image storage strategy of
the OutputStream class, to store them inline by default. The osgt
extension should also work, in case the image files are also written
to the disk.
"
2010-02-25 17:53:51 +00:00
Robert Osfield
26e68926f7
From J.P. Delport: "by some strange circumstance I've stumbled across the following problem:
...
I create a compositeviewer with two views that share a context. One view is deleted. Texture::TextureObjectSet::discardAllTextureObjects is called, but this does not reset _tail. Now the texture object is again created and addToBack is called from Texture::TextureObjectSet::takeOrGenerate. In addToBack (line 612) _tail is now not 0 (although the list should be empty) and a loop is created from the texture object to itself. Then when the second view is deleted, Texture::TextureObjectSet::deleteAllTextureObjects loops forever. Setting _tail to 0 fixes it for me (see attached)."
2010-02-25 17:18:46 +00:00
Robert Osfield
e3ad12c4f2
From Simon Buckley, "Attached is a small change to the file src\osgPlugins\dxf\dxfFile.cpp that allows the dxf reader to skip comments in a dxf file. I found with the existing version and a test file I had that the loader failed when comments were present. I made a very minor change to allow "999" comment codes to be skipped rather than causing load failure."
2010-02-25 17:13:15 +00:00
Robert Osfield
590bf9070d
From Michael Platings, "There is a function, convertStringFromCurrentCodePageToUTF8() that would be useful outside the FBX plugin so it belongs in osgDB. I've attached ConvertUTF and ConvertUTF.cpp with the function added for you to commit at your convenience.
...
"
2010-02-25 17:07:34 +00:00
Michael PLATINGS
440bd7c3e3
2010-02-24 10:52:51 +00:00
Michael PLATINGS
6ec0e11b2a
2010-02-24 10:25:50 +00:00
Michael PLATINGS
4f72d66cbe
2010-02-24 10:12:11 +00:00
Michael PLATINGS
14ef0fa930
2010-02-24 10:02:14 +00:00
Robert Osfield
9a45538db9
Added an empty() method
2010-02-22 17:41:35 +00:00
Robert Osfield
bb35fcc980
Updated authors file
2010-02-22 10:43:22 +00:00
Robert Osfield
3169f44548
Updated wrappers
2010-02-22 10:36:55 +00:00
Robert Osfield
d2ecd34d66
Fixed STDINT_INCLUDE path
2010-02-22 10:10:08 +00:00
Robert Osfield
c16d55fa9b
From Trajce Nicklov, fixes to warnings
2010-02-22 09:50:37 +00:00
Robert Osfield
e3a1f664b9
Seperated out the #define of GL_PERSPECTIVE_CORRECTION_HINT to fix GL3 build
2010-02-22 08:48:02 +00:00
Robert Osfield
bb21136d92
Added missing _ptr = rp._ptr to constructor.
2010-02-22 08:39:33 +00:00
Robert Osfield
7f454bef3e
Converted View across to use ObserverNodePath.
2010-02-20 17:36:55 +00:00
Robert Osfield
4acaaa3274
Build fixes for GLES2
2010-02-19 21:03:33 +00:00
Robert Osfield
c2d55fdb37
Fixed GLES1/GLES2 build
2010-02-19 20:58:46 +00:00
Robert Osfield
46f9e760ee
Added include of osg/FrameBufferObject to fix GLES1/GLES2 build issue
2010-02-19 20:43:58 +00:00
Robert Osfield
521ad875cb
Build fix for GLES1 and GLES2
2010-02-19 20:40:41 +00:00
Robert Osfield
b1001c2a9c
Moved implementation of Observer destructor and constructor from header into .cpp to avoid possible issues with imports/exports under Windows build.
2010-02-19 20:18:48 +00:00
Robert Osfield
8b67830f6e
Added check against OSG_GL3_AVAILABLE to avoid issues with GL3 build under linux
2010-02-19 20:14:12 +00:00
Robert Osfield
1924350e1c
Added #include <osg/Notify>, convert osg::notify usage to OSG_NOTICE
2010-02-19 20:11:14 +00:00
Robert Osfield
eca4361c4a
Clean up observer_ptr<> and removed the eronous casting of ptr in objectDeleted.
2010-02-19 19:50:55 +00:00
Robert Osfield
657c5c4e71
Updated wrappers
2010-02-19 19:00:48 +00:00
Robert Osfield
43f9b13199
Removed the uncessary subclassing from osg::Object as this base class is already pullled via ViewerBase
2010-02-19 18:56:21 +00:00
Robert Osfield
b807fc83fe
Added mutex lock to destructor.
2010-02-19 16:04:33 +00:00
Robert Osfield
8f11af8d3e
Replaced local mutex with getObserverMutex().
2010-02-19 15:41:42 +00:00
Robert Osfield
88474271e3
From Fabien Lavignotte, "In order to compile on Windows with Wrappers ON, some exports are still missing on osgPresentation::AnimationMaterialCallback and osgUtil::IncrementalCompileOperation::CompileSet."
2010-02-19 14:30:01 +00:00
Robert Osfield
dc728aa184
Removed no longer defined methods and updated wrappers
2010-02-19 14:05:49 +00:00
Robert Osfield
483f4cc452
Updated contributors list for 2.9.7 release
2010-02-19 09:32:15 +00:00
Robert Osfield
d73af8a27b
Updated ChangeLog
2010-02-19 09:21:00 +00:00
Robert Osfield
530c947c94
Added an InitGlobalMutexes to enforce early construction and hence late destruction of singleton mutexes.
2010-02-19 09:02:24 +00:00
Robert Osfield
b5c5ae7185
Added newline.
2010-02-18 22:53:15 +00:00
Robert Osfield
a023250d07
From Mourad Boufarguine, fixed typo.
2010-02-18 22:20:11 +00:00
Robert Osfield
900ff985a7
Updated wrappers
2010-02-18 22:17:50 +00:00
Robert Osfield
ee09e94559
Updated wrappers
2010-02-18 22:17:35 +00:00
Robert Osfield
424183dd0e
Updated version number of OpenThreads to reflect recent changes
2010-02-18 21:24:42 +00:00
Robert Osfield
bff9b565df
Completed usage of ObserverNodePath to fix longstanding crash that occurred when nodes in parental chain of a newly loaded node had been deleted.
2010-02-18 21:21:59 +00:00
Robert Osfield
b09757bdb8
Refactored the osg::Referenced observerset code so that it now uses a dedicated ObserverSet class,
...
which utilises a global recursive mutex that is dedicated to manage Observer and ObserverSet.
The new global mutex for observers avoids problems with deadlocks that were occurring previously when
an osg::Refenced object was being deleted at the same time as on osg::ObserverNodePath.
2010-02-18 21:21:12 +00:00
Robert Osfield
6196652ef0
Replaced use of observer_ptr<> with straight C pointer to avoid thrashing of an observer_ptr<> every frame.
...
Changed include to point to new Observer header
2010-02-18 21:18:49 +00:00
Robert Osfield
649319ccaa
Added className() to assist with debugging
2010-02-18 21:17:36 +00:00
Robert Osfield
f54b7d6141
Changed controls for changing animation speed to '(' and ')' to avoid overlap with window resize handler.
2010-02-18 21:15:28 +00:00
Robert Osfield
787daeeb93
Refactored the ReentrantMutex support so that it utilises the underling thread implementation for recusive mutex support.
2010-02-18 20:14:41 +00:00
Robert Osfield
ab66740fb0
Added new setNodePathTo() method
2010-02-18 09:00:37 +00:00
Robert Osfield
8ad7a5c8a2
Fixed double addition of source node when doing ObserverNodPath::setNodePathTo()
...
Fixed comment in Referenced.cpp
2010-02-17 10:09:31 +00:00
Robert Osfield
9404abfef5
Added className() implementation to help wiht debugging.
2010-02-16 17:38:49 +00:00
Robert Osfield
26a9e499a4
Fixed crash
2010-02-16 14:05:49 +00:00
Robert Osfield
a8e26f3a0c
Threads safety fixes based on suggestions from Tim Moore.
2010-02-16 11:10:49 +00:00