Commit Graph

105 Commits

Author SHA1 Message Date
Robert Osfield
c7e99ff77a Further work on occludision code. 2002-06-12 09:22:30 +00:00
Robert Osfield
247cb3ff7e Checked in Macro Jez's additions to osgText to support .osg IO make it
a fully functioning NodeKit.

Also reimplement notify() to try an prevent a crash which has been caused by
to objects in notify.cpp being initiliazed twice, the second time the auto_ptr
holding the dev/null ofstream was being initilized to 0.
2002-06-11 18:41:57 +00:00
Robert Osfield
e1ba8a6292 Added osg::CollectOccludersVisitor which is a helper class for finding active
occluder in the view frustum, to be used as pre cull traversal.
2002-06-10 13:50:25 +00:00
Robert Osfield
348419219d Created new helper class osg::CullStack to handle the accumulation of projection,
modelview and culling sets, to be used during travesal of the scene graph, such
as the cull traversal.
2002-06-10 11:21:21 +00:00
Robert Osfield
d91b848a63 Checked in migration from osgUtil based GUIAdapter code to Neil Salter's
osgGA (Gui Abstraction).  This may break users code, but all it should
require to fix the builds should be a change from
osgUtil::CameraManipulator (etc) to osgGA::CameraManipulator and
include <osgUtil/CameraManipulator (etc) to osgGA/CameraManipulator and
the extra dependency of the link line.
2002-06-09 13:10:09 +00:00
Robert Osfield
0a8d0a255f More more occlusion culling. 2002-06-08 19:58:05 +00:00
Robert Osfield
77aabc5b36 Renamed the osgparticle demo so that it wouldn't clash with the osgParticle library. 2002-06-05 16:00:23 +00:00
Robert Osfield
c70f5240eb Added OSGPARTICLE_LIBRARY define. 2002-06-05 13:51:14 +00:00
Robert Osfield
cc2f3d1d99 Another try at fixing wayward VisualStudio.dsw file. 2002-06-05 13:11:26 +00:00
Robert Osfield
83c239cee8 Fixed typo. 2002-06-05 13:06:44 +00:00
Robert Osfield
a0f3d90fce Updated VisualStudio files for osgParticle. 2002-06-05 13:00:31 +00:00
Robert Osfield
9ba7505d1e Checked in osgParticle, writtten by Marco Jez. 2002-06-05 12:44:55 +00:00
Robert Osfield
5feba17410 Added new osg::OccluderNode which subclasses from osg::Group, and will
provide hooks for adding ConvexPlanerOccluders to the scene.
2002-06-05 09:39:04 +00:00
Robert Osfield
3f84849210 Additions for the support for ConvexPlaneOccluder. Work still underway. 2002-06-03 15:39:41 +00:00
Robert Osfield
518dd5710a Did a to_dos on all the VisualStudio project files, and changed them to
use the cvs admin -ko and each file to prevent keyword expansion.
2002-06-03 11:16:58 +00:00
Robert Osfield
3fa6401c8f Changed file endings to dos. 2002-06-03 10:40:53 +00:00
Robert Osfield
f16a539492 Fixes for warnings under VisualStudio 2002-05-29 19:34:01 +00:00
Robert Osfield
ae5e4f848f Added new osgcallback demo, and updated small API changes to improve the
flexiblity of callbacks.

Added beginings of convex planer occlusions culling.
2002-05-28 23:43:22 +00:00
Robert Osfield
02fc6ad5f8 Various updates to operations related to cull traversal. 2002-05-28 10:24:43 +00:00
Robert Osfield
748ce4e98b Added the patched verions VisualStudio's langext.dat file, which can be used
to replace VisualStudio standard one, this enabled VS to reconginse OSG
header files as C++ files.
2002-05-23 15:38:03 +00:00
Robert Osfield
29258d6a0b Removed the usage of memory manager from the debug windows build. 2002-05-22 12:19:09 +00:00
Robert Osfield
d6ff23d32f Fix compile problems with osgGA under Windows. 2002-05-09 19:02:35 +00:00
Robert Osfield
cf4a3500ec Added new osgGA - GUI Adapter library submitted by Neil Salter. This will
replace the current GUI adapter code inside osgUtil.
2002-05-09 10:31:03 +00:00
Robert Osfield
e58b79c997 Addded missing ClipNode references to osg.dsp. 2002-05-08 07:32:40 +00:00
Robert Osfield
ae8076f83b dded osg::ClipNode class for managing OpenGL clipping planes, and osgclip demo. 2002-05-02 00:14:40 +00:00
Don BURNS
7d8bbfaf50 Testing .dsp and .dsw as binary files 2002-04-26 15:21:22 +00:00
Robert Osfield
f0e7e8e48b Removed CullViewState from the distribution, moved CullViewState::CullingMode
into CullVisitor, and then removed all references to CullViewState from other
parts of the scene graph.
2002-04-24 20:24:10 +00:00
Robert Osfield
5a6a4ab270 Added OSG_USE_MEMORY_MANAGER to Windows debug build 2002-04-23 15:05:14 +00:00
Robert Osfield
2b4008bbbc Purge on warnings under Linux. 2002-04-16 14:09:46 +00:00
Robert Osfield
55e5a943aa Fixed error in project w.r.t name of source file. 2002-04-15 14:29:13 +00:00
Robert Osfield
78484867ef Renamed Demos/osgtext/osgtext.dsp back to Demos/osgtext/osgtextdemo.dsp 2002-04-15 14:21:10 +00:00
Robert Osfield
0222f10d27 Added osghud, a head up display demo. 2002-04-15 11:03:31 +00:00
Robert Osfield
8a5c6d5102 Clean up for VisualStudio build 2002-04-13 22:19:29 +00:00
Robert Osfield
65e0a5f9d2 Added a space into the project name because it was confusing VisualStudio. 2002-04-13 18:53:20 +00:00
Robert Osfield
fc0601fd8e Further changes to VisualStudio.dsw for dependancies. 2002-04-13 18:45:18 +00:00
Robert Osfield
618b48fc03 Added dependanices into osgPlugins. 2002-04-13 11:36:10 +00:00
Robert Osfield
62192cb236 Added dependancies to Demos. 2002-04-13 10:29:44 +00:00
Robert Osfield
3f67300c82 Saved workspace from VisualStudio to follow up on missing demo dependancies 2002-04-13 10:18:58 +00:00
Robert Osfield
7150ab090b Added Core infront of the names of the project dependancies. 2002-04-13 09:28:53 +00:00
Robert Osfield
91e9d71963 Futher updates to VisualStudio files, adding osgstereoimage and osgversion in particular. 2002-04-12 13:06:48 +00:00
Robert Osfield
d3fa1df64f Added "Core " infront of the osg, osgDB, osgUtil, osgText, and osgGLUT libraries
in the Visual Studio workspace/project files.
2002-04-12 12:51:32 +00:00
Robert Osfield
4d90729c33 Renamed the osgtext demo project to reflect the name. 2002-04-12 12:15:07 +00:00
Robert Osfield
4da5d65eca Added "Demo " and "osgPlugin " infront of all demo and plugin project names to
help differentiate them within VisualStudio.
2002-04-12 11:57:20 +00:00
Robert Osfield
2ea2296f8d Attempt to add osgPlugin infront of the 3ds name to force VisualStudio to
present it as plugin in the browser.
2002-04-12 10:24:45 +00:00
Robert Osfield
795c2ded43 Reorganised the names of libraries and Demos to make it clear what is what. 2002-04-12 10:12:35 +00:00
Robert Osfield
c6cdfc6794 Removed double reference of osgtexture 2002-04-12 09:25:41 +00:00
Robert Osfield
3a18750760 Removed dangling references to NewCullVisitor from osgUtil.dsp. 2002-04-12 08:01:22 +00:00
Robert Osfield
360247225e Added new osg::DrawPixels class with encapsulates glDrawPixels as and
osg::Drawable.  Added osg::Image::readPixels to osg::Image.

Made osg::LightSource to default to cullActive set to false to that LightSource
nodes don't get culled by default.
2002-04-10 21:51:34 +00:00
Robert Osfield
3351306d80 Added new osg::Projection node, and osgUtil::NewCullVisitor which are work
in progress for the new support for controlling the projection matrix from
within the scene graph.

Also Added osg::State::getClippingVolume(), getProjectionMatrix() and
getModelViewMatrix() with allows drawables to access the current projection,
and model view matrices and the view frustum in local coords to the drawable.
2002-03-31 16:40:44 +00:00
Robert Osfield
651a22453a Added osg::MemoryManger which is currently based on Paul Nettle's memory manager
published at flipcode.  I havn't adopted Paul's macro's for new/delete etc, but use
osg prefixed versions instead to allow greater flexiblity in handling include
ordering.

Have fixed a couple of new/delete[] problems which existed as a result.

To use the MemoryManager to track memory usage simply add
-DOSG_USE_MEMEORY_TRACKING to the compile line.

Have yet to move the osg from using new to osgNew, will do this next.
2002-03-25 23:18:02 +00:00