Commit Graph

322 Commits

Author SHA1 Message Date
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
Don BURNS
b3979fa647 Fixed rpath nonsense in makedefs for Irix 2002-05-07 02:51:33 +00:00
Robert Osfield
08a4fd5bfc Added support for the managing the StateSet above a LightSource node,
and made it an osg::Group so that it can be used a decorator above a
scene.

Added osgclip demo to the test suite.
2002-05-03 16:47:16 +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
Robert Osfield
2bd20f5c6f Fixes for IRIX build.
Fix for a warning under VisualStudio.NET.
2002-04-25 22:09:28 +00:00
Robert Osfield
117e3c2304 A more verbose version of the test script, using each and more memleaks.log
to print out progress and report any memory leaks which have been logged.
The later will only occur with a debug build.  The use of echo and more
makes this version osgtest.bat not portable to windows unfortuntately.
2002-04-25 10:46:11 +00:00
Robert Osfield
8f3debaf9b Changes for Mac OSX build, sent in by Bob Kuehne 2002-04-24 20:04:34 +00:00
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
Robert Osfield
1fb8f9cb86 First batch of changes required for MacOS X build. Orignal submission from
Phil Atkin, merged by Robert Osfield.
2002-01-16 10:36:20 +00:00
Robert Osfield
9b4028e7eb Futher Makefile updates for Cygwin support - from Norman Vine. 2002-01-03 23:28:54 +00:00
Robert Osfield
b1f478e5d2 Updated OSG so that the old OSG_USE_IO_DOT_H has be removed from all headers
that used it, all references to the Standard C++ stream classes use the
std::ostream etc convention, all references to "using namespace std" and
"using namespace std::ostream etc" have been removed.
2001-12-14 21:49:04 +00:00
Robert Osfield
06abf2266b Updates to Makefiles to include osgText.
Also a couple of undefined methods in osgText::Text have been added.
2001-11-02 20:11:37 +00:00
Don BURNS
72796127c1 One last change needed to makedefs.linux to sync Linux and Irix pfb loader 2001-10-23 23:15:40 +00:00
Don BURNS
49b7219058 Fixed pfb loader functionality for IRIX 2001-10-23 23:10:47 +00:00
Don BURNS
6316d19df8 Fixed pfb loader so that it works for both Linux and IRix with dynamic
libraries, and provides support to load (almost) all that Performer loads.
2001-10-23 22:59:54 +00:00
Robert Osfield
36d206f40f Updates to the new osgText library to get it to compile under Linux. 2001-10-23 22:08:02 +00:00
Don BURNS
e467f44575 Fixed static libraries in madefs.linux and error in ReaderWriterPFB.cpp 2001-10-17 22:17:23 +00:00
Robert Osfield
2ce6cdd6b2 Fixes for IRIX build - submitted by Randall Hopper. 2001-10-16 18:39:57 +00:00
Robert Osfield
2c6e85442b Integrated changes for MacOSX, submitted by Phil Atkin, with small mods by
Robert Osfield to maintain compatability under Linux.
2001-10-03 21:44:07 +00:00
Don BURNS
4c4d99f19a Cleaned up inst rules a bit... 2001-09-28 19:36:58 +00:00
Don BURNS
7e81f6cfa6 More clean up for synch with 0.8.42 2001-09-19 21:19:47 +00:00
Don BURNS
e8f256a59d Added a bunch of files synched with 0.8.42 2001-09-19 21:08:56 +00:00
Don BURNS
70208ebc06 Initial revision 2001-01-10 16:32:10 +00:00