Robert Osfield
026dc2cbb7
Added Geoff Michel's osgpick and osgUtil::PickVisitor code.
2003-04-13 13:26:41 +00:00
Robert Osfield
c2a9234cc5
Updated the version numbers to 0.9.4
2003-04-11 10:04:53 +00:00
Robert Osfield
50d1fcfea2
From Romano, added support in osg::VertexProgram for deleting the flushed
...
vertex programs.
2003-04-11 09:54:27 +00:00
Robert Osfield
22546b8085
Added support for multiple graphics context to osg::VertexProgram and osg::Impostor
2003-04-10 12:11:40 +00:00
Robert Osfield
2166f9b701
Fixes to the Impostor implementation.
2003-04-09 21:53:09 +00:00
Robert Osfield
e377424752
Added fallback in RenderBin::createRenderBin(const std::string& binName) which
...
return a new RenderBin when the no prototype is found with className of binName.
2003-04-09 10:10:57 +00:00
Robert Osfield
a47a6f0310
Fixes to the multipipe initialization.
2003-04-03 14:12:09 +00:00
Robert Osfield
6dbc770347
Made the osgGA::GUIEventHandler sublassed from osg::Object as a virtual
...
inheritence to allow handler to also be used as node callbacks.
Fix to UpdateVisitor to make the visitation of Drawable more consistent
with the way that nodes are traversed.
2003-03-24 08:42:35 +00:00
Robert Osfield
d01d155ff9
Fixes for new beta release of VS.NET
2003-03-16 22:00:42 +00:00
Don BURNS
fa33244f92
1) Replaced all Makefile* with GNUmakefile*.
...
2) Changed Makedepend system to make individual dependency files, which
should save time rebuilding dependencies by limiting the regeneration
of dependency file for only modified source files.
2003-03-12 10:39:43 +00:00
Robert Osfield
e51c7f1587
Added support for AbortRendering flag pointer in osg::State which is used
...
by osgUtil::RenderLeaf to test if any abort state has been set, if so it
doesn't do any further drawing.
The osgProducer::Viewer has been set up to set the osg::State's it manages
with their AbortRendering flag pointers set to the osgProducer::Viewer::_done
memeber varaible. Now when escape is pressed the rendering is aborted early.
2003-03-11 15:25:49 +00:00
Robert Osfield
5c4bcd4aac
Moved the RenderLeaf implementatation across to always applying matrices
...
before state, which fixes problem that can occur with state that needs
the current model view or projection matrices.
Changes osgreflect so that it uses ClipNode rather than clip plane, thereby
fixing the problems which occur when the above is applied.
Create a new osgProducer version of the original GLUT based version.
2003-03-10 11:59:41 +00:00
Robert Osfield
efea365412
Moved the remain inline osg::Font methods into Font.cpp to avoid problems with the
...
impossibly stupid visual studio compilers.
2003-03-10 09:15:59 +00:00
Robert Osfield
b32c8c65f3
Added osg::Image::AllocationMode enum and associated set/get methods.
...
osg::Image::setImage has also been modified to require the AllocationMode
mode to be passed to it so that it knows how to delete the data once the
image goes out of scope.
Port the image plugins across to specify the new AllocationMode, and converted
them across to using new/delete in place of malloc/free.
2003-02-25 11:56:18 +00:00
Robert Osfield
8f1ba9d21b
Removed include/osg/Types header defining osg::ubyte, osg::ushort etc. Changed
...
any reference to these in the distribution across to using unsigned char,
unsigned short etc. This has been done to keep the OSG code more opaque
to what types are.
2003-02-12 19:20:47 +00:00
Robert Osfield
07f96583f5
Removed the osg::notify() calls from the RenderBin prototype construction to
...
avoid problems under OSX with construction/deletion of std::cout/cerr.
2003-02-10 16:48:53 +00:00
Robert Osfield
c2b4a05825
Minor fixes to ReaderWriter and Paragraph to help work with use of Doxygen.
...
Fix to CullVisior to handle the new no referenced counted cull and draw traversal.
2003-02-10 13:58:39 +00:00
Don BURNS
d4f7da7bb8
Right, em.... fixed eh.. problem with destruction of RenderBin prototype list
2003-02-05 23:13:27 +00:00
Robert Osfield
6439a719aa
Fixed CullVisitor::getDistanceFromEyePoint so that withLODScale is handled
...
correctly.
2003-01-29 17:24:54 +00:00
Robert Osfield
6c4f2f5207
Fixes for multipipe support.
...
Addition of FrameStatsHandler to osgproducer demo to add frame stats.
2003-01-29 17:16:26 +00:00
Robert Osfield
6d02ccfc58
Removed the inline declarations of several method implementations.
2003-01-24 16:57:28 +00:00
Robert Osfield
63303787fc
Changes to try and placate the Sun Forte compiler.
2003-01-24 12:39:18 +00:00
Robert Osfield
20ba1a4033
Fix for impostors bug where image insert were visible, this was down to a double
...
call to RenderStage::drawPreRenderStage(). The call to it in RenderStage inside
the draw() method has been removed, leaving on the call in SceneView.
2003-01-24 09:11:05 +00:00
Robert Osfield
f74f50161c
Changed the template insert(,,) method for a std::copy() implemention as it
...
seems that the Sun Forte compiler can't handle member templates!
2003-01-23 22:12:04 +00:00
Robert Osfield
f43d02f496
Added extra checks in the removal of rendundent nodes code so that description
...
fields etc are checked.
2003-01-23 15:12:58 +00:00
Robert Osfield
79eaabd961
Fixed typo of APPLY_MATICES_BEFORE_STATE.
2003-01-23 08:39:48 +00:00
Robert Osfield
6afedcc6d1
Updated version numbers to 0.9.3
2003-01-22 19:17:39 +00:00
Robert Osfield
329a8a1656
Fixed an Optimizer crash where if the top most node of a model was
...
a static transform it would crash when this root was deleted. Have fixed
by recognising this node as one not to remove and set it to identity instead.
2003-01-22 12:06:22 +00:00
Robert Osfield
48bda9cc79
Added new Copyright/License notice to header and source files.
2003-01-21 16:45:36 +00:00
Robert Osfield
0f69a4c3ae
Made the drawable::compile(State&) method const and the DisplayListVisitor to
...
compile even when dislay list is off. This has been done to allow subclasses
of Drawable handle their own compile implementation, such as used by text.
2003-01-20 20:40:06 +00:00
Robert Osfield
0bc11fcbf1
From Eric Sokolowsky, Fix for IRIX build, adding typename into the graph_array
...
to allow the compiler to leave instation of typedefs until required.
2003-01-18 09:44:12 +00:00
Robert Osfield
c406d2476f
Removed the osg::Referenced::createCount() and deleteCount() methods and
...
associated variables which were only compiled in on debug build. These optional
methods/static vars were causingproblems when mixing debug and release builds.
2003-01-17 14:11:34 +00:00
Robert Osfield
4dd273de70
Added support for ReferenceFrame into osg::LightSource, modified the .osg
...
plugin and cull visitor to account for this change.
2003-01-16 16:37:24 +00:00
Robert Osfield
0e6b3b68bd
Added #include <osg/Export> simply to include the #pragma's for disabling the
...
daft VisualStudio warnings.
2003-01-15 20:53:27 +00:00
Robert Osfield
7bf60026f7
Removed the -> methods from the arc class to prevent stupid warnings under
...
VisualStudio6.0.
2003-01-15 15:44:49 +00:00
Robert Osfield
ac718b6abb
Attempts to fix more of the *stupid* errors in the VisualStudio6.0 compiler.
2003-01-15 13:17:52 +00:00
Robert Osfield
d542a2165d
Removed the template versions of the PrimitiveSet constructors as this was
...
causing problem under VisualStudio6.0.
2003-01-15 11:29:30 +00:00
Robert Osfield
64efc8ecbb
Fix for win32.
2003-01-14 19:12:22 +00:00
Robert Osfield
a03fff8c57
Added an compile in option of applying the matrices before state in the RenderLeaf
...
apply method. This order is intended to help support of vertex programming, but
unfortunately breaks the osgreflect demo so the original ordering is kept by default.
2003-01-14 14:21:06 +00:00
Robert Osfield
edd04fd5a0
Fixed typo.
2003-01-14 12:36:14 +00:00
Robert Osfield
36857d6b2f
Replaced the NVTriStrip code with tri_stripper written by Tanguy Fautré.
2003-01-14 10:54:01 +00:00
Robert Osfield
f36bc69c58
Made the more of the OSG's referenced object desctructors protected to ensure
...
that they arn't created on the stack inappropriately.
Split the implemention of Matrix up so that it is a simple no referenced counted
class and can be safefly created on the stack. To support referenced counting a
seperate subclass now exists, this is RefMatrix which inherits from both Matrix and
Object.
2003-01-10 09:25:42 +00:00
Robert Osfield
e6b64a5550
Added support for sharing arrays in the .osg format for osg::Geometry.
...
Fixed the osgUtil::Optimizater so it takes into account sharing of arrays when
deciding whether an geometry can be merged or not.
2003-01-07 16:29:07 +00:00
Robert Osfield
adf5c91808
Renamed all instance of AppCallback/AppVisitor to UpdateCallback/UpdateVisitor
...
inline with the decision to rename the "app phase" the "update phase".
2002-12-19 15:55:40 +00:00
Robert Osfield
8f81cf2ac6
Moved TriangleFunctor from Drawable into its own header file.
2002-12-16 17:00:05 +00:00
Robert Osfield
00cc3a1833
Converted the instance of osgNew and osgDelete back to new and delete as part
...
of depecating the include/osg/MemoryManager
2002-12-16 13:40:58 +00:00
Don BURNS
22ada7ee6b
Uncommented fix for returning to non-stereo from stereo to get color mask
...
back to normal.
2002-12-16 00:33:48 +00:00
Don BURNS
b63827c5d9
Cleanin' up after Robert's spelling ...er ... challenges.
2002-12-07 06:59:08 +00:00
Robert Osfield
8b58a1df83
Added checking of parents against switch and sequence into the
...
RemoveRendundentNodeVisitor to prevent breaking of the orinal order of the nodes.
2002-12-06 11:16:45 +00:00
Robert Osfield
8e84722f90
Added LEFT_EYE and RIGHT_EYE stereo to osg::DisplaySettings/osgUtil::SceneView
...
Renamed LODBias to LODScale.
2002-11-12 10:22:38 +00:00