Commit Graph

13370 Commits

Author SHA1 Message Date
Robert Osfield
9b4028e7eb Futher Makefile updates for Cygwin support - from Norman Vine. 2002-01-03 23:28:54 +00:00
Robert Osfield
75fe0a6a7f Makefile changes to support Cywin port - submission from Norman Vine, updates
to fix case problems under unix by Robert.
2002-01-03 23:19:18 +00:00
Robert Osfield
e3ad8a87ee Updates for Cygwin port, from Norman Vine. 2002-01-03 21:34:57 +00:00
Robert Osfield
ba8c009219 Small source code changes for Cygwin port of OSG. 2002-01-03 19:28:13 +00:00
Robert Osfield
eb181ac84e Updates in preperation for the third attempt at the 0.8.43 release. 2002-01-02 17:01:35 +00:00
Robert Osfield
19bf04c205 Updates from Randall Hopper to fix build under IRIX. 2002-01-02 15:42:42 +00:00
Robert Osfield
f9ee0fe44a A small bug fix to the matrix dump function (it was primtiing out 5 columns
instead of four).

Added support for multiplying mesh geometry by the matrix attached to the
Lib3dsMesh structure, however this produces disjointed models so have
to the default mode to bypass this multiplication code.  Will need to revisit
this in the future.
2002-01-02 11:03:26 +00:00
Robert Osfield
0d4448787b Commented out the smoothing of FLAT_TRIANGLE_STRIP and FLAT_TRIANGLE_FAN
since it was causes problems with any color list which were attached.
2002-01-02 10:59:59 +00:00
Robert Osfield
e767db9182 Moved the glShadeModel(FLAT/SMOOTH) outside of the primtitive inner loop to reduce
the amount state changes incurred when using FLAT_ primtives.
2002-01-02 10:53:20 +00:00
Robert Osfield
03b161942b Fixed the orientation of for_each_triangle cases for QUAD and QUAD_STRIP. 2002-01-02 10:49:26 +00:00
Robert Osfield
c518d69013 Removed the variables which were duplicated in osgGLUT::Viewer and
osgGLUT::Window, standardising on the Window ones, and therefore removing
an unitialized variable that had been introduced.  This caused a crash
under WindowsXP due to send invalid values to glutReshapeWindow.
2001-12-31 23:21:16 +00:00
Robert Osfield
bd0f334329 Added a more detailed explanation of how LOD's work. 2001-12-31 23:16:20 +00:00
Robert Osfield
0d0405cc0b Updates to NEWS for date of release, and added include/osg/DisplaySettings
and include/osg/LineWidth to the src/osg/Makefile.
2001-12-31 00:04:38 +00:00
Robert Osfield
16ee9667bd Final update of ChangeLog for the 0.8.43 release. 2001-12-30 20:48:05 +00:00
Robert Osfield
97e7f5b829 Added osg::GeoSet::FLAT_TRIANGLE_FAN to the list if primitive handled by the
for_each_triangle template function.
2001-12-30 20:03:42 +00:00
Robert Osfield
7b7319f998 Added /usr/local/lib to the s_default_dso_path search path for plugins. 2001-12-30 19:04:46 +00:00
Robert Osfield
e65e389989 Made the output message related to not registering a camera manipulator
with the GLUT Viewer output as INFO rather than as a NOTICE. This suppress
this message which was appearing on some of the demos all the time, even
though are quite reasonable default behaviour is used.
2001-12-30 17:13:40 +00:00
Robert Osfield
5293f8caf8 Added references to sgv -stereo and sgv -stencil to the notes of running
the demos.
2001-12-30 16:59:22 +00:00
Robert Osfield
c426c4fda9 Updated the default home position of so that a better view of the scene is seen. 2001-12-30 16:58:33 +00:00
Robert Osfield
d4fa8bc5e6 Moved the old by hand ChangeLog to ChangeLog.preCVS and then ran cvs2cl.pl
to automatically generate the new ChangeLog.
2001-12-30 15:24:10 +00:00
Robert Osfield
bcc0c8a639 Did a make docs, in preperation for 0.8.43 release. 2001-12-30 15:12:29 +00:00
Robert Osfield
930db1112b Compilation fix to pfb plugin, sent in by Ulrich Hertlein. 2001-12-30 15:01:30 +00:00
Robert Osfield
0d2599b402 Added a comment in Windows section on INSTALL notes such that it now
recommends that you build all the libs.
2001-12-30 15:00:26 +00:00
Robert Osfield
2bba403dc1 Added .README to prevent CVS from deleting the empty bin directory when checking
out copies.  This was a problem with the nightly tarballs.
2001-12-29 20:53:08 +00:00
Robert Osfield
625e8e730a Added comment to osg::Transform w.r.t use of GL_NORMALIZE when using
scaling Transforms.
2001-12-29 14:27:46 +00:00
Robert Osfield
460a78b454 Updates form Randall Hopper for the FreeBSD build 2001-12-29 12:28:24 +00:00
Robert Osfield
c236e38b90 Made inline documentation on the Values enum clearer w.r.t the function of
OVERRIDE_ON and OVERRIDE_OFF.
2001-12-27 20:06:07 +00:00
Robert Osfield
0d7f928823 Added more details about using stereo with the OSG, in particular the
role of the camera manipulators and the fusion distance.
2001-12-26 20:55:15 +00:00
Robert Osfield
73e7408bc2 Updated doc++ references so that CVS knows about all the newly generated
files.
2001-12-24 23:34:25 +00:00
Robert Osfield
da18020e79 Updated the index.html to include references to the new osgText library and
demo app.
2001-12-24 23:28:15 +00:00
Robert Osfield
5d5e4971e0 Removed references to redundent environmental variables. 2001-12-24 23:14:53 +00:00
Robert Osfield
217621401e Did a make docs. 2001-12-24 21:56:22 +00:00
Robert Osfield
98c8447ae9 Fixed the osg::Light so that it requires the user to explicitly define which
OpenGL light is being operated on, and also now relies upong the standard
osg::State handling of OpenGL modes to switch on the appropriate lights.

The previous static counter mechansim for the light number was causing a
redundent light to be created when the osg plugin created the first osg::Light
to use a prototype for other osg::Light's to be cloned from in the
.osg plugin execution.

The static count mechanism also prevent the lights modes being controlled
independantly from the setting of the light paramters themselves.  This
meant that a light once created was global, and couldn't be turned off
locally via the OSG's support for OpenGL mode enabling/disabling.  This
has been overcome with the new implementation, the user has complete
flexiblity of when and where to use the different lights at their
disposal.
2001-12-24 21:34:40 +00:00
Robert Osfield
a6d329b812 Updated the osgGLUT::Viewer to subclass from osgGLUT::Window as has been
intended since the development of osgGLUT::Window.
2001-12-24 19:06:49 +00:00
Robert Osfield
4221132626 updates for windows build 2001-12-24 15:12:59 +00:00
Robert Osfield
3652bd9015 Various clean ups for the release. 2001-12-24 14:12:38 +00:00
Robert Osfield
fb5fee6c5e Updates to keep things compiling under Windows. Also cleaned up the new stereo.html docs. 2001-12-22 22:30:57 +00:00
Robert Osfield
ead9753501 Added beginnings on documentation for stereo support, the stereo.html needs
to be re-edited in a html editor before it becomes readable though..
2001-12-22 21:35:28 +00:00
Robert Osfield
a370545c79 Updated usage messages to include new stereo and stencil commandline options. 2001-12-22 14:55:22 +00:00
Robert Osfield
19c99dc94c Further work on improving stereo support in the OSG.
Renamed the osg::VisualsSettings to osg::DisplaySettings, and
osgUtil::VisualsRequirementsVisitor to osgUtil::DisplayRequirementsVisitor.

Added support for OSG_SCREEN_HEIGHT into osg::DisplaySettings, and added
a DisplaySettings* to the constructors of osg::SceneView and osg::Camera.
2001-12-21 22:48:19 +00:00
Robert Osfield
734be18471 Updates to the support for stereo in osg::Camera, osgUtil::SceneView and
the CameraManipulators.
2001-12-21 13:07:35 +00:00
Robert Osfield
9365f0e3b1 Added support for glLineWidth via an osg::LineWidth StateAttribute. 2001-12-20 20:48:46 +00:00
Robert Osfield
8aa72d85cf Updates to the camera code related to stereo, adding fusion distance. 2001-12-20 16:35:38 +00:00
Robert Osfield
1326f4616d Added check for null models be returned form osgDB::readNodeFiles(..) to
prevent execution when no models have been loaded.
2001-12-20 16:34:54 +00:00
Robert Osfield
52cf47bf2e Updates to flt loading of light points, from Brede Johansen. 2001-12-20 12:12:30 +00:00
Robert Osfield
73e598f3ff Updates to Stereo code. 2001-12-19 15:20:29 +00:00
Robert Osfield
0721f0a818 Updated the demos to support the new commandline handling of stereo and
convinience functios for loading libs and files.
2001-12-19 10:29:18 +00:00
Robert Osfield
3c1c0f015e Added check for GL_ARB_imaging extension to osg;:ColorMatrix 2001-12-19 08:49:10 +00:00
Robert Osfield
261ab77373 Compilation fixes under for Windows 2001-12-19 01:10:04 +00:00
Robert Osfield
296865e250 Adding support for controlling visual settings via environmental variables
and command line paramters.  Including support for stereo and stencil buffer.
2001-12-19 00:38:23 +00:00