Robert Osfield
100288b272
Added a path with an experiemental GraphicsContexProducer implementation, and a
...
test of mulitple inheritance.
2006-10-05 10:07:16 +00:00
Robert Osfield
632df7f3ff
Added osgGA::GraphicsWindow base class that derives from osg::GraphicsContext but
...
adds default overrides its pure virtue methods, and an EventQueue.
2006-10-05 10:06:19 +00:00
Robert Osfield
281865d7fc
Added osgGA depedency.
2006-10-04 09:11:37 +00:00
Robert Osfield
8e3a092a00
Removed the redundent relaseGLObjects() method declerations
2006-10-03 20:42:57 +00:00
Robert Osfield
490fc96ea6
From John Aughey, "Attached is the Optimizer.cpp file that has the fix to duplicate vertex and normal arrays if there is more than one reference to the data. This fixes the problem where the transforms are applied to the same vertex array multiple times if that vertex array is re-used within the model. "
2006-10-03 20:20:23 +00:00
Robert Osfield
fecb63785f
From John Aughey, "The id name of nodes are not being set in the daeReader::processNode method. The names are retained in most of the other osg::Nodes that are created. In this case, I have an external modeler creating models, and the name of component nodes are used to give that subtree different characteristics."
2006-10-03 19:55:24 +00:00
Robert Osfield
1c749e95d6
Added osgDB to dependency of osgGA
2006-10-03 12:46:11 +00:00
Robert Osfield
7c6b528588
Fixed bug related to clean up of text fonts.
2006-10-03 11:14:34 +00:00
Robert Osfield
392232ec06
From Brede Johansen, "This submission adds multitexture support for detecting translucent
...
images used to enable alpha blending.
Mesh was syncronized with featureset from Face record."
2006-10-03 09:55:28 +00:00
Robert Osfield
e686a9a4a5
From Brede Johansen, "I think some nitpicking is required. The loop duration was added in
...
OpenFlight version 15.8. With the attached changes the flasher unit
on the spinnercar and the character_anim model from the Creator
gallery behaves."
2006-10-03 09:39:03 +00:00
Robert Osfield
842b96bbc9
From Colin McDonald, "I've included render bin checks in the StateSet::compare function, because
...
without them the Optimizer can incorrectly eliminate (otherwise identical)
StateSets from different render bins."
2006-10-02 15:59:43 +00:00
Robert Osfield
e0599f652e
Added releaseGLObjects to NodeCallbacks, Drawable::DrawCallbacks and wired up
...
osgProducer to use it when doing cleanup_frame.
2006-10-02 15:38:31 +00:00
Robert Osfield
02783e1dfd
From Paul Martz, Bug fix for sequence node direction, It examines the number of children in the Group record destructor, so that the total duration of the sequence matches the specified loopDuration field.
2006-10-02 15:09:49 +00:00
Robert Osfield
f97759405a
From Farshid Lashkari, "Here is the patch we discussed previously about adding a flag to
...
CullSettings which allows CameraNode to inherit the clear color."
2006-10-02 14:11:40 +00:00
Robert Osfield
eb68735ff9
From Farshid Lashkari, "The ColorControl of osg::LightModel is never applied because it
...
incorrectly checks for a valid OpenGL version. Instead of checking if
the current version is exactly 1.2, it will check if the version is
greater than 1.2."
2006-10-02 13:40:58 +00:00
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