Robert Osfield
e3478069b4
From Per Fahlberg, "Attached is a fix for loading the same file multiple times with the
...
COLLADA plugin. dae->load will not return DAE_OK the second time a model is loaded, so a
second check for DAE_ERR_COLLECTION_ALREADY_EXISTS has been added."
2006-10-02 13:24:39 +00:00
Robert Osfield
3bfa8a27a8
From Edgar Ellis, "Changed return type of osg::equivalent methods from float/double to bool.
...
"
2006-10-02 13:11:32 +00:00
Robert Osfield
c991e33796
From Andreas Ekstrand, "Attached is a small bug fix in the DW plugin. The texture application
...
matrix is read into a double matrix called mx, it was declared as 3x2,
it's now fixed to 3x3."
2006-10-02 13:07:50 +00:00
Robert Osfield
3edda73797
Added SERIALIZER to ReaderWriterDAE to make sure initialization is thread safe.
2006-10-02 11:47:55 +00:00
Robert Osfield
9dd487e6c8
From Andreas Ekstrand, "Attached is a modified ReaderWriterDAE.cpp which creates the one and
...
only DAE instance when it's first needed instead of in the constructor.
This fixes the problem with osgdb_dae.dll not being loaded due to
unwanted ordering of global initialization.
This fix and the previous fix of the COLLADA plugin might be unnecessary
with the latest COLLADA DOM, but since many of us will probably still
use the older version of the DOM, I guess it's better this way.
"
2006-10-02 11:38:25 +00:00
Robert Osfield
0c8d909800
From Andreas Ekstrand, "It seems my changes to ESRIShape.dsp (to create an osgdb_shp.dll rather
...
than an osgdb_ESRI.dll) were overwritten by later commits to this file.
Here are the changes again, made from the latest version of ESRIShape.dsp."
2006-10-02 11:34:45 +00:00
Robert Osfield
42dfe67c0c
From Farshid Lashkari, "There was a bug in ParticleSystem where the bounds is not properly
...
flagged as computed when there is only 1 particle. Attached is the
fix."
2006-10-02 11:26:43 +00:00
Robert Osfield
ba7d27c9b2
From Chris Hanson, "These changes break out the implementation of the fill/wireframe/point, texture,
...
lighting and backface culling settings from the event handling code in StatesetManipulator
into public methods. The event handler now calls the public methods. This allows user code
to invoke this same functionality from non-keyboard event inputs without clashing with the
keyboard-invoked functionality."
From Robert Osfield, tweaks to the above to kepp the coding style the same as the rest of the OSG, also
made getPolygonMode() const, and updated the wrappers.
2006-10-01 19:19:31 +00:00
Robert Osfield
61ce7dd5ac
From Brede Johansen, "I have added "billboardCenter" as a reader option to use the center of
...
a billboard as the pivot point."
2006-10-01 19:09:00 +00:00
Robert Osfield
f03218215d
From Colin McDonald, "I have corrected a byte swapping problem in the new OpenFlight
...
plugin. It was only reading floats & doubles correctly on little
endian systems, which require byte swapping, and not on big
endian systems which don't require any swapping."
2006-10-01 19:00:39 +00:00
Robert Osfield
f9eaa76d37
Added GLUT based osgsimpleviewerGLUT example
2006-10-01 16:14:16 +00:00
Robert Osfield
301eb5750f
Added Producer based osgsimplerviewerProducer example
2006-10-01 16:12:21 +00:00
Robert Osfield
6bd7f57770
Added FLTK example app - osgsimpleviewerFLTK.
2006-10-01 16:10:33 +00:00
Robert Osfield
859dc90bd7
Added osgsimpleviewerQT4 example
2006-10-01 13:26:02 +00:00
Robert Osfield
9e8372eeca
Refactored the SDL example so that the event conversion in done is a seperate method.
2006-10-01 11:08:40 +00:00
Robert Osfield
a1afd67bc8
Added a based SDL viewer - osgsimpleviewerSDL
2006-09-30 20:06:26 +00:00
Robert Osfield
ef2498f3d1
Updated wrappers
2006-09-30 20:05:56 +00:00
Robert Osfield
26849018aa
Cleaned up build and indenting
2006-09-30 20:05:36 +00:00
Robert Osfield
e6b08dcda3
Various clean ups to comments
2006-09-30 16:30:31 +00:00
Robert Osfield
1f3872ed73
Added SimpleViewer
2006-09-30 16:29:08 +00:00
Robert Osfield
75391ceb16
Added osgsimpleviewerQT3 example
2006-09-30 16:26:53 +00:00
Robert Osfield
1da298f919
Moved osgGLUTsimple and osgGLUTkeyboardmouse across to using osgGA::SimpleViewer
2006-09-30 14:12:36 +00:00
Robert Osfield
2ed98b56c9
Added subclassing from osg::Referenced to allow the SimpleViewer to be safely managed on the heap.
2006-09-30 14:10:15 +00:00
Robert Osfield
c173eb49bc
Added check to init to prevent crash when no camera manipulator is supplied.
2006-09-30 13:41:01 +00:00
Robert Osfield
dfffa56f64
Added false to setWindowRectangle() call as the InputRange is already set correctly.
2006-09-29 21:44:31 +00:00
Robert Osfield
f1cc4d77e7
Added preliminary DatabasePager support.
2006-09-29 18:47:20 +00:00
Robert Osfield
5c0eb0b013
Added bare bones osgGA::SimpleViewer class to help simplify OSG setup when embedding the OSG
...
into existing GUI applications, and for one one a single camera, single window is required.
2006-09-25 16:25:53 +00:00
Robert Osfield
78444878c3
Updated wrappers
2006-09-21 15:09:10 +00:00
Robert Osfield
84387e4abe
From Eric Wing, updated to Xcode projects
2006-09-21 11:26:18 +00:00
Robert Osfield
4b7fb8f17d
From Farshid Lashkari, "I made a small modification to the CullVisitor class so that it uses
...
the inheritance mask of CameraNodes with respect to the compute
near/far mode."
2006-09-21 10:38:06 +00:00
Robert Osfield
35d134f712
From Farshid Lashkari, added function for querring whether a mode is a texture related mode or not.
2006-09-21 10:01:27 +00:00
Robert Osfield
d91e1ff4bb
From Loic Dachary, renamed _mips to of_mips to prevent compile problem under MIIPS
2006-09-21 09:50:10 +00:00
Robert Osfield
f6fe0de6e5
Rationalized on the number of libs required.
2006-09-21 09:24:10 +00:00
Robert Osfield
dc57810d99
Removed use osg OSG_LIBS, changing to just -losg and -losgDB.
2006-09-21 08:56:19 +00:00
Robert Osfield
d4d3e9054e
Updated positions of the text labels to make them move obvious on start up
2006-09-20 15:48:27 +00:00
Robert Osfield
0dcf5271f1
Added missining initialization of _radius in constructors
2006-09-20 13:41:33 +00:00
Robert Osfield
ce65ad05d1
Added use of ClusterCullingCallback
2006-09-20 13:40:58 +00:00
Robert Osfield
efb76cb8e6
Created stress test of fade text labelling
2006-09-20 12:58:34 +00:00
Robert Osfield
cc202c1b6d
Updates for fade text to work properly, but only in perspetive views at present.
2006-09-20 10:36:21 +00:00
Robert Osfield
5cab53941f
Further work on fade text.
2006-09-19 22:57:23 +00:00
Robert Osfield
87aff3d92c
Further work on osgText::FadeText implementation.
2006-09-19 20:19:29 +00:00
Robert Osfield
45dc4572a9
Fixed reading/writing of non C string osg::Text::String's.
2006-09-19 13:54:04 +00:00
Robert Osfield
b296e10a0d
Added osgfadetext example to VS projects
2006-09-18 21:03:23 +00:00
Robert Osfield
def74d3471
Introduced new osg::View, and osg::RenderInfo classes into the core OSG to help
...
handle scenes with multiple views with elements that need coordinating on a per view basis.
Added beginings of new osgText::FadeText class (not functionality yet).
2006-09-18 20:54:48 +00:00
Robert Osfield
fa791e99b8
From Per Fahlberg, "I've fixed the dae plugin so it is only using one instance of the DAE.
...
The crashes seen earlier are gone, it is now possible to read multiple
.dae files and converting both to and from .dae files."
2006-09-15 13:11:00 +00:00
Robert Osfield
fa76f7e973
Added a _threadHoldingMutex = 0; to ReentrantMutex::unlock() to avoid a potential
...
bug with the mutex being aquired by two threads.
2006-09-15 10:21:24 +00:00
Robert Osfield
6f3962f42d
Returning revion number to 0 to signify CVS version
2006-09-13 16:38:17 +00:00
Robert Osfield
ebd2bb6a19
Added extra comment explaining where state reset() should be called.
2006-09-13 14:55:53 +00:00
Robert Osfield
05d218e990
From Eric Wing, updates to OSX build notes.
2006-09-13 14:00:19 +00:00
Robert Osfield
af32446f92
Fixed GPU stats display bug.
2006-09-13 13:50:38 +00:00