Commit Graph

65 Commits

Author SHA1 Message Date
Robert Osfield
200e93ee77 Added test script which runs all the demos in the OSG to make sure they
run ok.  User has to verify they are correct visually.
2002-04-22 09:50:32 +00:00
Don BURNS
7f30ad780b changed LIBEXT to LIB_EXT for Darwin 2002-04-18 15:37:26 +00:00
Don BURNS
bef8dbbef3 Added -lXi to the Linux X_LIBS 2002-04-18 15:16:59 +00:00
Don BURNS
b76888ffb9 Changed Linux makedepend flag from -MM to -M 2002-04-16 21:39:45 +00:00
Don BURNS
6428715304 Added makedirdefs via a request from Bob Kheune. This allows us to edit
the DIRS cruft in a single file in the Make directory instead of having
to edit multiple files.  Also edited Makefiles that needed to include
this file.

Also cleaned up txp loader to compile with SunOS.  This needs to be retested
on other platforms.
2002-04-16 15:21:24 +00:00
Don BURNS
1423206e6b Fixed some boo-boos in makerpms for building demo source files... 2002-04-16 05:29:39 +00:00
Don BURNS
906f1de294 Fixed Solaris 'make distribution' for demo source. 2002-04-16 04:13:30 +00:00
Don BURNS
f69e1276a9 fixed a few problems that didn't work right with installing demo source
on platforms other than Solaris.
2002-04-16 03:24:41 +00:00
Robert Osfield
9fd7c528f4 Compile fixes for IRIX, submitted by Randall Hopper. 2002-04-15 21:48:43 +00:00
Don BURNS
c984749457 Added Daniel Sjölie's request to use a default complier (CXX) in makedefs.
Doing this only for Linux
2002-04-15 14:45:14 +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
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
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
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
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
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
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
Don BURNS
8e0c273c65 Added cleanlite rules to makerules.new 2002-04-01 15:37:21 +00:00
Don BURNS
fc8ca0a351 *** empty log message *** 2002-04-01 04:54:11 +00:00
Don BURNS
35f752bf89 Completed and tested instrules.new 2002-04-01 03:39:29 +00:00
Don BURNS
8b6872d0c5 Added more to instrules and makedefs.new Folded in Randall Hopper's
changes for FreeBSD
2002-03-31 16:43:54 +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
Don BURNS
114c18532a Added new install rules for makefiles and updated makedefs and makerules... more to come 2002-03-29 06:54:23 +00:00
Don BURNS
88de33c29d Couple a fixes in makedefs and makerules 2002-03-28 07:29:07 +00:00
Don BURNS
b66205f653 Added Norman Vines fixeds for cygwin 2002-03-28 06:35:57 +00:00
Robert Osfield
7e2c82f141 Futher updates to MemoryManager, fixed memory leak in osgconv. 2002-03-27 16:31:25 +00:00
Don BURNS
6b7cbdaf1a Update to makeefs/makerules 2002-03-27 06:09:17 +00:00
Don BURNS
219f225b9f update to makedefs.new makerules.new 2002-03-27 00:55:52 +00:00
Robert Osfield
84d2d01163 Added support for osg::MemoryManager which is based upon Paul Nettle's
memory manager published at flipcode.com.  This can be turned on
with the OSG_USE_MEMORY_MANGER option which then uses custom global
new and delete operators as well as provide osgNew and osgDelete macro's
which add ability to log line and file from which calls are made.

Updated osg,osgUtil,osgDB,osgText and osgPlugins/osg to use osgNew/osgDelete,
and fixed memory leaks highlighted by the new memory manager.
2002-03-26 23:52:52 +00:00
Don BURNS
72ff3186df Adding makedirrrules to Make directory 2002-03-26 21:26:27 +00:00
Don BURNS
fc036a28ce Temporarily adding makedefs.new and makerules.new to keep them
separate from current makedefs/makerules files.  Will eventually
remove all makedefs.* and makerules.* and replace only makedefs
and makerules with makedefs.new and makedefs.new
2002-03-26 21:24:04 +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
Robert Osfield
e87f7cf853 Updated the makefiles to all have the #!gmake reference to force IRIX
compilation using gmake rather than pmake or smake.  This gets round
issues with exporting OSGHOME.
2002-02-13 22:56:47 +00:00
Robert Osfield
a08fc47313 Fixes for MacOSX build. 2002-02-10 11:17:58 +00:00
Robert Osfield
ed45cccc25 Fixes for cygwin and mingw builds. 2002-02-09 10:24:39 +00:00
Robert Osfield
02ef10fcfa Moved all references to osg::Cloner to osg::CopyOp. 2002-01-29 14:04:06 +00:00
Robert Osfield
2487861fbc Have add new osg::CopyOp which replaces last nights osg::Cloner, the new
class now combines Cloner and DeepCopy into one class. Cloner and DeepCopy
will be removed in next commit.

Also have added osgcopy app to Demos which shows how the CopyOp have be
subclassed to create users own specific handling of copying.

Have fixed copy constructor problems in GeoSet which fix the deep copy
problem experienced yesterday.
2002-01-29 12:52:04 +00:00
Robert Osfield
231b2de41e Submission from Sean Spicer which adds Make/makedefs.irix.std.64 which
compiles the OSG as 64bit.  Small changes by Robert to accomodate
recent MacOSX makefile changes.
2002-01-16 12:29:43 +00:00
Robert Osfield
76c4729328 Changes to Make/makerules.* and Make/makedefs.* to accomodate MacOSX's need
to treat plugins and shared libraries seperately.
2002-01-16 12:08:29 +00:00