Commit Graph

15785 Commits

Author SHA1 Message Date
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
341ffb2361 Further work on cleaning up SceneView and Camera, in particular moving strereo
support out of Camera and into SceneView. Also enabled the option to set the
projection and modelview matrices directly on SceneView thereby removing the
dependance on osg::Camrea to control the view of the scene.
2002-04-12 18:06:13 +00:00
Robert Osfield
468580a12c Fixes for Win32 build. 2002-04-12 14:05:55 +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
a44efe01bb Fixes for Win32 build 2002-04-12 09:53:39 +00:00
Robert Osfield
c6cdfc6794 Removed double reference of osgtexture 2002-04-12 09:25:41 +00:00
Robert Osfield
315acb2f25 Removed Metroweks files since they wern't being used, and were not up to
date.  An attempt at using Metrowerks for MacOSX build failed, and we
have Cywgin/Mingwin VisualStudio for windows so there is little need for it.
2002-04-12 09:25:15 +00:00
Robert Osfield
3a18750760 Removed dangling references to NewCullVisitor from osgUtil.dsp. 2002-04-12 08:01:22 +00:00
Don BURNS
14b4b7f98c Solaris PKG distribution now makes a shar (self-extracting shell archived)
changed makepgk to do this.

Changed another one of those pesky cout = std::cout in CullVisitor.cpp
2002-04-12 06:18:41 +00:00
Don BURNS
e4d52cd1e6 added 'make cleandepend' to build system. 2002-04-12 05:09:45 +00:00
Don BURNS
dfc9e9587b Added the 'make cleandepend' target to the build system. 2002-04-12 05:06:41 +00:00
Robert Osfield
6ed233d0d2 Added DataVariance enum and set/get fields to osg::Object to help identify
which objects have values that vary over the lifetime of the object (DYNAMIC)
and ones that do not vary (STATIC).  Removed the equivalent code in
osg::Transform, StateSet and StateAttribute, as these are now encompassed
by the new DataVariance field.

Removed MatrixMode enum from Matrix, and associated fields/parameters from
osg::Transfrom and osg::NodeVisitor, since MatrixMode was not providing
any useful functionality, but made the interface more complex (MatrixMode
was an experimental API)

Added ReferenceFrame field to osg::Transform which allows users to specify
transforms that are relative to their parents (the default, and previous behavior)
or absolute reference frame, which can be used for HUD's, camera relative
light sources etc etc.  Note, the view frustum culling for absolute Transform
are disabled, and all their parents up to the root are also automatically
have view frustum culling disabled.  However, once passed an absolute Transform
node culling will return to its default state of on, so you can still cull
underneath an absolute transform, its only the culling above which is disabled.
2002-04-11 23:20:23 +00:00
Robert Osfield
e85e5a6ce6 Added several new methods to osg::Image to help keep track of memory and added
osg::Image::readPixels to encapsulate glReadPixels.

Reordering of includes in include/osg/Fog and include/osg/Light to remove silly warnings under Visual Studio.
2002-04-11 17:15:07 +00:00
Robert Osfield
421e381f17 Patch to ReadWriter3DS from Mike Connel. 2002-04-11 17:13:16 +00:00
Don BURNS
08522bd7db Backed out bad addition of NewCUllVisitor 2002-04-11 16:05:38 +00:00
Don BURNS
ad95c4b9f6 Somehow, cvs forgot to check in a modified Makefile with NewCullVisitor added
to it... Hm.. anyway this fixes it.
2002-04-11 15:54:49 +00:00
Robert Osfield
d0ebd93441 Fix for Win32 build. 2002-04-11 13:53:46 +00:00
Robert Osfield
130f64cf28 Changed the comments for Clay Fowlwer about the GLU patch for RedHat7.2 to
reflect the new position of the tarball and its new name.
2002-04-11 09:16:01 +00:00
Robert Osfield
e037c79917 Fixed refrences to NewCullVisitor which has now been mapped onto CullVisitor. 2002-04-11 08:24:55 +00:00
Robert Osfield
f2ffbdd469 Copied NewCullVisitor over top of CullVisitor and then removed NewCullVisitor.
Added some defines to Image in prep for writing code to determine how big a
pixel is.
2002-04-10 22:10:07 +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
Don BURNS
80d2c718cd Added placeholder .README file to the PKG directory to keep CVS from removing
the directory on an update.
2002-04-10 14:34:16 +00:00
Don BURNS
ba85d687ed Removed big honkin' SUN PKG files from cvs distribution. 2002-04-10 14:32:16 +00:00
Don BURNS
ef15655ea3 Added (previously omitted) libpng, libjpeg, libtiff, libgif to makedefs
in the Linux section
2002-04-10 01:29:45 +00:00
Don BURNS
3a94fc4c91 Fixed makedepend to do the right thing. 2002-04-09 22:54:43 +00:00
Robert Osfield
1369987cdd Added setProjectionMatrix and setModelViewMatrix() methods to osg::SceneView,
and associated member variables.  I have not linked them up to the
cull traversal yet, but this will be the next task.
2002-04-09 21:46:34 +00:00
Robert Osfield
6f65e86057 Further work on removing Camera references from NewCullVisitor and releted
classes, this work paves the way for making osg::Camera an optional
extra rather than a requirement for rendering.
2002-04-09 16:09:19 +00:00
Don BURNS
57248a4bf9 Checking in all Makefile.inst in src/Demos/*. These are the Makefiles
that get installed rather than the build Makefiles.
2002-04-09 15:51:20 +00:00
Don BURNS
30eab4b79a Added pkgadd distribution for Solaris.
Added a cleaner way to install demo source so that installed versions use a
simplified makedefs/makerules.

Small fix to get osgText to compile with Solaris CC.  Constructor declared
with a non-const argument, but implemented with const argument.
2002-04-09 14:55:38 +00:00
Don BURNS
055e056645 Added -lstdc++ to begining of LIBS on link line.. ?? 2002-04-08 16:50:13 +00:00
Don BURNS
161adea396 Put quotes around "DBGF" for multi argument 2002-04-08 16:25:45 +00:00
Robert Osfield
25fbc557b1 Changed a char* into const char* to fix Solaris build. 2002-04-08 08:23:00 +00:00
Robert Osfield
42a98c780b Fix for VisualStudio's lack of auto_ptr::reset. 2002-04-08 08:22:27 +00:00
Don BURNS
1a51045ea4 Added a stop gap fix for cygwin build. Previous experiements were creating
library and  plugin files that looked like system library and system files
which would have deleted original files on a 'make install'.  Cygwin is not
tested yet, but this needed to get fixed before a cygwin user wiped out his
system library files.
2002-04-07 17:47:03 +00:00
Robert Osfield
1b73f9579e Updates to Makefile to reflect recent .cpp additions such as TextureCubeMap,
MemoryManager etc.
2002-04-06 09:24:51 +00:00
Don BURNS
aa0e398cf7 Fixed a small oversight in the previous bug fix. in GeoSet::computeBound()
_numcoords is NOT necesarily _cindex._size.
2002-04-05 02:49:58 +00:00
Don BURNS
87b7f48453 Edited INSTALL for new make and installation procedures.
Checking in a fix for Norman Vine
Added helprules and help.sh for a long-winded help message if you
'make help'.
2002-04-05 01:52:15 +00:00
Don BURNS
893dc6d65c Added Norman Vine's changes for CYGWIN builds
Added distrules and makerpms for building RPM distributions

Removed old RedHatRPM distribution build directory

Added new dist/RPM directory and placed temporary .spec files (these
are generated by Make/makerpms and are not intended for stand-alone
use, but they keep the directory warm and CVS happy)
2002-04-04 18:01:44 +00:00
Don BURNS
1de448df4a Fixed a small bug in compute bound that caused it to come up with the
wrong number if the coord array was indexed, and containing bogus
(unindexed, yet in-line) numbers.
2002-04-04 00:30:10 +00:00
Don BURNS
765d2f2183 Cleaned up in stallation directives 2002-04-03 17:53:46 +00:00
Don BURNS
e0adca775b Reinstated Norman Vine's TARGET_BASENAME variable in the makefiles and
added prefixes and suffixes to libs and plugins.  ALl this to accomodate
cygwin...

Also added INST_SYS_PREFIX and INST_SHARE_PREFIX for installation, as well
as "standardizing" the install locations for the various platforms.
2002-04-03 17:42:12 +00:00
Don BURNS
12043abd40 Oops forgot to add makedefs and makerules 2002-04-02 06:58:18 +00:00
Don BURNS
3e6638320a The new order for building OSG. All Makefiles are replaced and
the Make directory is left with four files only :
    makedefs
    makerules
    makedirrules
    instrules

These work for all platforms supported so far, which include :
    Linux
    Irix
    Solaris
    MacOSX
    Cygwin
    FreeBSD
2002-04-02 06:44:57 +00:00
Don BURNS
9f4f491851 Folded in Bob Kuehne's changes for Mac OSX to makedefs and makerules 2002-04-02 06:27:07 +00:00