Robert Osfield
1c4de0e1d2
Fixed display problem with the HUD in osgtext which was caused by the
...
new mods to SceneView not honouring the z near/far calculation flag.
2002-04-15 08:09:02 +00:00
Robert Osfield
c43607c14d
Added support for specificing the eye mapping and seperation between the
...
horizontal and veritical split stereo modes.
Renamed osg::Image::ensureDimensionArePowerOfTwo() to osg::Image::ensureValidSizeForTexturing().
2002-04-14 22:21:59 +00:00
Robert Osfield
22e8047869
Used a faster method for checking for power of 2 on the image dimensions and
...
did a check on forcing 16bits textures in osg::Texture (which speeds things
up on the Umea model which is performance bound by texture memory.), the
later check is now commented out.
2002-04-14 20:30:43 +00:00
Robert Osfield
09d41789da
Fixes to osg::Image::createImage(..), and addition of code to Viewer.cpp to support
...
output of screen snapshot via 'O'.
2002-04-14 13:41:13 +00:00
Robert Osfield
03e9f63d54
Addition of write .bmp to the BMP plugin.
2002-04-14 12:54:26 +00:00
Robert Osfield
e71b92dbcc
Fix for crash in SceneView introduced when ungarded use of _dispalySettings
...
pointer was added, a if (valid) guard has been added to solve the problem.
2002-04-14 12:53:36 +00:00
Robert Osfield
8a5c6d5102
Clean up for VisualStudio build
2002-04-13 22:19:29 +00:00
Robert Osfield
65e0a5f9d2
Added a space into the project name because it was confusing VisualStudio.
2002-04-13 18:53:20 +00:00
Robert Osfield
fc0601fd8e
Further changes to VisualStudio.dsw for dependancies.
2002-04-13 18:45:18 +00:00
Robert Osfield
618b48fc03
Added dependanices into osgPlugins.
2002-04-13 11:36:10 +00:00
Robert Osfield
9b2fe06896
Fixed compile problem related to missing includes (a result of removing include of Camera..)
2002-04-13 11:08:04 +00:00
Robert Osfield
62192cb236
Added dependancies to Demos.
2002-04-13 10:29:44 +00:00
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