Commit Graph

254 Commits

Author SHA1 Message Date
Robert Osfield
5408077c3b Added ive reader/writer - from Rune Schmidt Jensen/Michael Gronager 2003-05-23 19:51:12 +00:00
Robert Osfield
4a6bdad3e1 Removed osg::GeoSet for core osg lib and osgPlugin.
Commented out OpenDX plugin as its still based on GeoSet.

Added support for loading and converting GeoSet into the osgconv example.
2003-05-21 12:15:45 +00:00
Robert Osfield
709dafe15b Added osgtexturerectangle example from Ulrich Hertlein. 2003-05-20 14:05:19 +00:00
Robert Osfield
ee550382c8 Fixed build. 2003-05-02 18:24:56 +00:00
Robert Osfield
895a722842 Addd support for maximum screen text size into osgText when auto scale to
screen is active.

Added osgautotransform demo.
2003-05-01 21:06:18 +00:00
Robert Osfield
86254927b9 From Eric Sokolowsky - pnm (ppm, pgm, pbm) plugin 2003-04-30 15:40:57 +00:00
Robert Osfield
95058aba7d Typo fix. 2003-04-24 13:45:35 +00:00
Robert Osfield
0036018507 Added -I/usr/X11R6/include to osgProducer and all the examples GNUMakefiles.
From Bob, mods to GNUMakefile and Make/makedefs for the extra includes for
freetype.
2003-04-14 19:39:22 +00:00
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
086a322d26 Added guards around Geo plugin to prevent it from being built under
OSX, Solaris and IRIX as it breaks the OSX build and doesn't handle
Endian issues.
2003-04-11 07:18:13 +00:00
Robert Osfield
0df1b28672 Added osgwindows example which sets up and Producer::CameraConfig up
and uses that to create multiple windows.
2003-04-07 10:20:34 +00:00
Robert Osfield
49a28660dc Added the usage report to the examples for when no arguments are passed
to the examples.
2003-04-06 21:32:44 +00:00
Robert Osfield
fb49e5a60f Removal of trailing \ from end of couple lines in cygwin path. 2003-04-04 15:22:25 +00:00
Robert Osfield
0f3eaeba46 From Rune Schmidt Jensen - new dds loader. 2003-04-02 18:26:34 +00:00
Robert Osfield
161c40d75f Removed OSX override override of PLUGIN_DIRS. 2003-04-02 14:54:05 +00:00
Robert Osfield
49b62ff92c Moved the logo plugins from the osgPlugins/logos directory to osgPlugins/logo
to make it consistent with the naming of the plugin.
2003-04-01 15:13:26 +00:00
Robert Osfield
190c32c73a Moved demo references acros to being example references. 2003-03-27 18:56:23 +00:00
Don BURNS
5b1969563b Fixed installation of demo source from src/Demos to examples 2003-03-27 18:42:31 +00:00
Robert Osfield
8779fe20a7 Added help support for display help on screen to osgProducer::Viewer. 2003-03-26 12:50:30 +00:00
Don BURNS
f060051183 changes to makedefs to support AMD 64 bit 2003-03-24 23:02:08 +00:00
Robert Osfield
a03675495a Added new osgkeyboad example. 2003-03-24 21:17:51 +00:00
Robert Osfield
f9c82c9bbb Duplicated the handling of 64 bit linux builds for ia64 and x86_64 and placed
them under the seperate paths for Intel vs GNU compilers.
2003-03-20 22:13:10 +00:00
Robert Osfield
2c018b841f Added -m64 -DARCH64 option to Linux 64 bit build. 2003-03-20 21:26:54 +00:00
Don BURNS
5266ffb895 Adjusted date format for versionrules 2003-03-19 15:37:28 +00:00
Don BURNS
e978c405e1 Set VERSION_RELEASE back to 3, replaced guards in include/osg/Verson to
OSG_VERSION_ with trailing underscore
2003-03-18 20:02:02 +00:00
Don BURNS
a5d713ba1f Added support for versioning to the build system 2003-03-18 18:40:19 +00:00
Robert Osfield
e87a08f1c3 Fixes to osgcluster demo as new Producer based example.
Added extra pragrma remove a warning about float to int cast under VS.NET.
2003-03-16 21:58:27 +00:00
Robert Osfield
f811b2580e Removed osgGLUT and Demos/*.
Integrated Marco's updated examples/*/*.dsp's.
2003-03-15 20:20:46 +00:00
Robert Osfield
7083773b64 Ported osgGLUT based src/Demos across to being osgProducer based, and placed
them in the new examples/ directory.
2003-03-14 20:35:45 +00:00
Robert Osfield
2ca505b3d8 Ported all glut based demos across to using the new osg::ArgumentParser. 2003-03-14 10:49:06 +00:00
Don BURNS
ec3e1dc611 Fixes for Mac OS X 2003-03-13 06:22:31 +00:00
Don BURNS
693a889ece Various changes to the BUILD system:
o Object files now go in subdirectories named $(OS)$(ARCH).Opt and
       $(OS)$(ARCH).Debug for OS's that support both architectures.
          eg.  Linux32.Opt and Linux32.Debug

     o Libraries links are now placed in lib/$(OS)$(ARCH)
          eg.  lib/Linux32/

     o Binaries are now placed in bin/$(OS)$(ARCH)
          eg. bin/Linux32

     o 'make install' and 'make instlinks' now place files/links in
       /usr/local/{include,lib,share/OpenSceneGraph} by default on
       most systems (Solaris still goes in /opt/OpenSceneGraph).
       Rather than having the somwehat confusing INST_SYS_PREFIX and
       INST_SHARE_PREFX, you can override these with just
            INST_LOCATION
       For example,
             make INST_LOCATION=/usr
       will place files at /usr/include, /usr/lib,
       /usr/share/OpenSceneGraph.
2003-03-13 02:53:40 +00:00
Robert Osfield
c0b3bb1f32 Moved the platform specific directory defs out of makedefs into makediredefs,
and have standardised onto single instances where possible.
2003-03-12 14:01:49 +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
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
Don BURNS
9bd3d0cd06 added directives for intel compilers 2003-03-05 19:31:55 +00:00
Robert Osfield
7cc69d4d66 Added md2 plugin from Vladimir Vukicevic. 2003-03-05 09:56:56 +00:00
Robert Osfield
c08a24d89a Added examples/osghud - a osgProducer port of the old osghud demo. 2003-03-03 22:47:50 +00:00
Robert Osfield
fbe674b321 First cut of new osgText implementation. 2003-03-02 21:05:05 +00:00
Robert Osfield
2f74b2cf7c Renamed osgProducer::CameraGroup and SceneHandler to OsgCameraGroup and
OsgSceneHandler to avoid the namespace bug under VS6.

Removed the osgproducer demo (its now been replaced by examples/osgviewer.)
2003-02-25 12:28:16 +00:00
Robert Osfield
372ca1d227 Ported osgstereoimage to use osgProducer, added it to the examples directory.
Added a osgProducer::CameraGroup::getSceneHanderList() methods.
2003-02-23 17:01:05 +00:00
Robert Osfield
3b429134cb Added examples directory, a place for all new OSG demo code.
Added osgcameragroup, osgviewer, osgtext, osgconv to the new examples directory.
2003-02-21 14:05:39 +00:00
Robert Osfield
c10d5f2d6f Added new osg::ApplicationUsage and osg::ArgumentParser to help streamline
application/example developement.
2003-02-18 16:36:42 +00:00
Don BURNS
cb7f71b174 From Tom Jolley:
I was converting a pfb file to osg and had trouble with a missing image
library.  I added -all in front of -limage where PFLIBS is defined in
Make/makedefs to solve my problem.
2003-02-11 19:23:19 +00:00
Don BURNS
cf1ff34d38 Fixes to osgProducer for IRIX build. 2003-01-27 20:40:08 +00:00
Robert Osfield
6ecc3537e5 From Ulrich, change to the pflib includes for Performer under Linux to solve
problem loading pf datasets.
2003-01-22 23:40:47 +00:00
Don BURNS
d9ee2d0335 Added gstabs+ to DBGF in Linux in makedefs 2003-01-15 21:54:42 +00:00
Robert Osfield
ba2c3a187d From Ulrich Hertlein, DirectX .x model loader plugin. 2003-01-08 22:52:27 +00:00
Robert Osfield
3ef3666d0f Added new ARB vertex program state attribute and demo program,
sent in my Brede Johansen.
2003-01-04 20:45:53 +00:00
Robert Osfield
c82927293e Moved the include/osgTXP back into src/osgPlugins/txp as a seperate include directory is no longer required.
Removed the osgtxp demo as it is no longer required.
2002-12-17 16:07:59 +00:00
Robert Osfield
f7f888f7cf Renamed osgtests.bat to rundemos.bat and moved it into the root directory. 2002-12-16 13:46:42 +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
Robert Osfield
b8faa9b6f7 Added the afteresher.geo demo to osgtest.bat and debugtests.bat.
Converted the osgtxp demo to use straight string comparison instead of case sensitive string
comparion to help cross platform portability.
2002-12-11 16:24:42 +00:00
Robert Osfield
0467a8af09 Fixes from IRIX build from Bob Kuehne. 2002-12-10 21:18:16 +00:00
Don BURNS
c259cadd6d Fixed endif placement for SunOS build 2002-12-10 17:57:02 +00:00
Don BURNS
1f89a68ec8 Typo png was npg 2002-12-06 19:56:17 +00:00
Robert Osfield
17683eaacc Update from Norman Vine for Cygin gcc3.2 support. 2002-12-06 09:41:53 +00:00
Robert Osfield
730e2b4d1f Added osglogo to test scripts. 2002-12-05 12:13:30 +00:00
Robert Osfield
af400cb5ab Added first pass at a new logo, this time generated by a osglogo demo. 2002-12-05 12:04:38 +00:00
Robert Osfield
264cca1317 Fixed the ifeq ($(OS),SunOS) so it was correctly on its own seperate line, and
complimented by the required endif
2002-12-03 10:19:37 +00:00
Don BURNS
d87754857f updated difference between forte compilers and gnu compilers on Solaris 2002-12-02 19:37:43 +00:00
Don BURNS
4512ffd868 Made LIB's dependent on PLUGINS for directories where both are built 2002-11-27 05:29:59 +00:00
Don BURNS
12e922bc3c Added Paging TerraPage loader and osgTXP library. 2002-11-24 21:36:05 +00:00
Robert Osfield
6c8ef3b7df Fixed the texture apply method which was broken yesterday, the new code wasn't
checking for the validity of _image before doing checks on it.  This breaks when
render to texture is used as there is no image to check against...

Added osgshadowtexture demo source.  Demos still in development, so don't expect
any shadows yet...
2002-11-20 07:46:25 +00:00
Robert Osfield
4ae3e5c6bc Updated OSX defs to compile osgSim and osglightpoint 2002-11-19 12:26:51 +00:00
Robert Osfield
0e8db455bb Added osglightpoint to the demo list. 2002-11-19 12:25:38 +00:00
Robert Osfield
e02ae73edc Added osgSim library which encapulsulates light points.
Added osglightpoint demo.
2002-11-19 10:57:40 +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
Robert Osfield
5c1c9ec0e9 Added missing demos and libs into the darwin defines. 2002-11-11 09:06:02 +00:00
Robert Osfield
b2fa76bb77 Fixes for MING build 2002-11-11 08:05:07 +00:00
Robert Osfield
71bea99ba2 Added Geoff Michel's new osggeomdemo program which allows control of
geo models via the mouse.
2002-11-07 13:56:12 +00:00
Don BURNS
d7f6ab3147 Oops... experiment gon awry in makerules. This works for Solaris, but not
Linux, evidently.  The goal was to do a dependency update on only files
that had changed, since Solaris  is so gawdawful slow at doing CC -xM
2002-11-06 23:00:37 +00:00
Don BURNS
7669b96c28 Changed a couple of const/non-const discrpancies between header and source
for TexGen.  Removed external library dependencies in plugin makefiles
2002-11-06 18:39:32 +00:00
Robert Osfield
24746728e4 From Geoff Michel, added AC3D .ac and GEO .geo loaders. 2002-10-31 12:51:09 +00:00
Robert Osfield
da84f9b4aa Added first cut of new primtive shapes support. 2002-10-30 13:27:15 +00:00
Don BURNS
e1e0547dfd Added ARCH64 def for 64 bit builds 2002-10-24 20:45:44 +00:00
Don BURNS
d2a3bed549 USE_MM was not defined for IRIX 2002-10-17 21:25:56 +00:00
Robert Osfield
e1b084749e Renamed the RenderBin::sort_local to sortImplementation(),
draw_local to drawImplementation() and added a new RenderBin::DrawCallback().

Added osgcubemap to the Make/ test scripts.
2002-10-17 13:48:46 +00:00
Robert Osfield
50652f389b Added Macro's new cube map generation classes and osgcubemap demo. 2002-10-10 12:44:38 +00:00
Don BURNS
16e3a3c182 Added AnimationPathManipulator to osgGA and modified sgv to use it. 2002-10-08 07:39:38 +00:00
Don BURNS
ab580f1e3b Fixed some inconsistencies between header files and function definitions
where the header file declared a parameter non-const, but the function
definition expected a const.  The Solaris linker was coming up with
undefined symbols.
2002-10-08 05:41:19 +00:00
Robert Osfield
04a9a09a8b Added extra convinience methods to LOD - addChild(child,min,max).
Added osganimate to test scripts.
2002-10-07 21:23:37 +00:00
Robert Osfield
b7372fb4cb Added new osganimate demo which demonstrate the osg::AnimationPath in action.
Added extra parameters to the AnimationPath callbacks to allow finer control.
2002-10-07 19:51:11 +00:00
Robert Osfield
65ab5f7b62 Added osgteapot demo to show how to implement custom Drawables to
wrap up OpenGL code.
2002-10-02 15:28:17 +00:00
Robert Osfield
f7c7740327 Changed the linux linking of -lgif to -lungif.
Fixed a typo in the Images name.
2002-09-24 20:14:08 +00:00
Robert Osfield
9546c73e39 Changed the image file so that use the Images/ prefix to help locate the files
within the OpenSceneGraph-Data directory.
2002-09-24 20:04:20 +00:00
Don BURNS
c4e7526f69 For Solaris, /usr/local/lib dependencies now compile static libraries. This
reduces the dependencies for binary installs.  ALso rearranged the SunOS
gnu and Forte compiler sections to be more generic
2002-09-05 15:13:05 +00:00
Don BURNS
78a86984f1 Added the script to make IRIX distribution packages (via 'inst'). 2002-08-31 06:04:21 +00:00
Robert Osfield
a68d95d2f6 Updates to windows build docs.
Merge fixes for OSX from bob.

Added checking for impostor sprites into stats.
2002-08-30 16:17:41 +00:00
Robert Osfield
8d7acb9437 Removed the OSG_COMPILE_UNIT_TESTS define from the OSX build to avoid
issues with the missing <sstream>
2002-08-30 07:17:48 +00:00
Robert Osfield
e50552d6d2 Added fixes to UnitTestFramework to get it compiling under Windows. 2002-08-28 16:17:54 +00:00
Robert Osfield
7d6197441e Added Neil Salter's osgUtx library into the distribution, have put all the
orignal seperate headers and source into include/osg/UnitTestFrameWork
and src/osg/UnitTestFramework.cpp respectively.  I have done this to
keep the include and source directories focused on the scene graph rather
than the test framework.

Have added a very simple unit test to Vec3.cpp, which are optionally
compiled in with the OSG_COMPILE_UNIT_TESTS define, which is only
currently defined in debug builds under unix.  It should be fine to
add it in under Windows project files as well.

Finally, a new demo app osgunittests runs the tests and reports success
or failure of the tests.
2002-08-28 14:26:09 +00:00
Robert Osfield
4265702c7c Added proper osgtexture1D demo - this demo uses a 1D texture to dynamically
contour the scene.
2002-08-27 14:02:19 +00:00
Robert Osfield
83af5e7a95 Added osgtexture3D demo, renamed osgtexture demo to osgtexture2D, and have
added osgtexture1D demo which currently is simply copy of osgtexture2D. I
will be modifying it to do 1D texturing next.

Fixed a bug in osg::Texture3D relating to checking of existance of
texturing.

Merged some fixes to the pfb loader from Ulrich Hertlein.
2002-08-27 10:06:57 +00:00
Don BURNS
54516d1803 Fixed a dependency order 2002-08-22 17:36:44 +00:00
Robert Osfield
df9a899d9e Moved the IO support for the osgText and osgParticle libraries into seperate
plugin libraries.
2002-08-20 11:27:08 +00:00
Don BURNS
a0be239f12 Added some comments 2002-08-13 18:29:50 +00:00
Robert Osfield
392150521a Fixed the X and Y axis rotation billboards so that now rotate correctly.
Rewrote the osgbillboard demo so that it creates a point rotatated billbaord
and X,Y and Z axis billboards to both test and demonstrate this types of
billboards in action.
2002-08-09 16:27:39 +00:00
Robert Osfield
6a04fc3dee Integrated Ulrich Hertlien's osg::Sequence node, and osgsequence demo, and
support for osg::Sequence in the pfb loader.
2002-08-03 18:11:21 +00:00