Robert Osfield
976140f1d7
Replaced #ifndef GL_TEXTURE_3D by GL_TEXTRE_BINDING_3D as the former was a copy
...
and paste error.
2004-10-06 12:02:37 +00:00
Robert Osfield
a7a6709d05
Added define of GL_TEXTURE_BINDING_3D for systems with OpenGL1.2 compliant
...
headers
2004-10-01 09:38:21 +00:00
Robert Osfield
d204a087c3
Added proper handling of 3d texture compression
2004-09-30 09:10:29 +00:00
Robert Osfield
54b45ce3bc
Updated to DatabasePager support
2004-09-21 21:33:52 +00:00
Robert Osfield
0d884d66eb
Various improvements to database paing.
2004-09-21 17:26:08 +00:00
Robert Osfield
4c4be0a750
From Paul Martz, typo and spelling fixes
2004-09-13 16:10:59 +00:00
Robert Osfield
e5cfe0a27a
From Marco Jez, addition of new interal texture formats to osg/Texture and Image.cpp
2004-09-01 08:49:48 +00:00
Robert Osfield
7126ca44e9
Better macro support for switching on/off use of mutex
2004-08-03 11:01:39 +00:00
Robert Osfield
bb5576bef8
Added support s/getImage(uint i) and getNumImages().
2004-07-27 10:11:45 +00:00
Robert Osfield
c9f5749c12
Added preliminary support for thread safety in various delete GLobjects code
2004-07-21 19:16:49 +00:00
Robert Osfield
aa833acfd3
Added support for releasing GLObjects, and renamed DisplayListVisitor the
...
GLObjectVisitor to better fit its function, and added support for releasing
objects as well as compiling them.
2004-07-20 05:37:59 +00:00
Robert Osfield
89a4dcbbd3
Added GL_TEXTURE_DEPTH #define for Win32 build
2004-07-06 06:13:34 +00:00
Robert Osfield
48dad727b1
From Bob Kuehne, added getting of the max number of texture units in
...
the Texture::Extension object
2004-05-07 11:28:55 +00:00
Robert Osfield
715cdcf5e2
From Don Tidrow, changed "setupGLExtenions()" to "setupGLExtensions()" in Texture and
...
Texture.cpp
2004-04-16 22:50:41 +00:00
Robert Osfield
28759baa98
From Marco Jez, added support NVidia extension to imager formats.
2004-03-14 15:08:12 +00:00
Robert Osfield
358743f999
Added support for APPLE_client_storage of textures.
2004-03-08 17:09:58 +00:00
Robert Osfield
475c583975
From Pavel Moloshtan, add support to osg::Texture files for GL_ARB_shadow_ambinet support
2004-01-29 11:16:49 +00:00
Robert Osfield
635f302a2a
Added support for osg::Texture::setBorderWidth().
2004-01-27 21:29:58 +00:00
Robert Osfield
edce2211fa
From Romano Magacho, fixes to handle the subloading from Image when the
...
internal format changes requiring a rebuild of the texture object.
2004-01-23 13:25:45 +00:00
Robert Osfield
7f76c66a00
Added definition of GL_DEPTH_TEXTURE_MODE_ARB
2003-12-18 16:15:58 +00:00
Robert Osfield
8fefec9f47
From Pavel Moloshtan, added GL_ARB_shadow_support to osg::Texture.
2003-12-17 19:26:16 +00:00
Robert Osfield
8f2a688eff
Added TextureObjectManager constructor.
2003-11-04 22:00:16 +00:00
Robert Osfield
8c65920c1f
Fixes for Java build.
2003-08-18 09:24:17 +00:00
Robert Osfield
82008d5ecd
Updates to the flush rendering objects function calls to allow for
...
managment of amount of time available to do gl delete's. This control is
required for constant frame rate applications.
2003-07-15 21:19:03 +00:00
Robert Osfield
1b9d7d458a
Added support for texture object manager, which provides an automatic mechansim
...
for reusing deleted textures.
2003-07-14 14:42:10 +00:00
Robert Osfield
9ab1c960b6
Moved the GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB into its own #ifndef block
...
to help with OSX support.
2003-05-26 09:29:59 +00:00
Robert Osfield
aaa761e333
Added tests for presense of extensions to osgcubemap, osgvertexproram and
...
osgmultitexture examples.
Added osg::VertexProgram::Extensions class to better handle multiple graphics
context vertex program extensions.
2003-04-10 19:32:32 +00:00
Robert Osfield
8b03d59be3
Added support for modifying the osg::Texture*:Extensions stuctures.
...
Added an example modifying osg::Texture::Extensions to osgtext. Optionally
compiled out by default.
2003-04-10 13:41:45 +00:00
Robert Osfield
22546b8085
Added support for multiple graphics context to osg::VertexProgram and osg::Impostor
2003-04-10 12:11:40 +00:00
Robert Osfield
9f0fa75484
Added support for unref image data after apply in the osg::Texture*
...
classes. Only unref's after all graphics context have been applied.
2003-04-07 12:51:00 +00:00
Robert Osfield
7e58786b11
Moved the modified tag's from osg::Texture into the osg::Texture1D,2D,3D and
...
CubeMap classes.
2003-04-07 09:46:06 +00:00
Robert Osfield
e1e22ab430
Added GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB etc to the Texture header to
...
allow compilation across platforms.
2003-04-02 20:43:19 +00:00
Robert Osfield
0f3eaeba46
From Rune Schmidt Jensen - new dds loader.
2003-04-02 18:26:34 +00:00
Robert Osfield
3975fc9b01
Improved handling of subloading.
...
Removed the rescalling of images in osg::Image during texture apply, moving
the rescale so it is locally calculated. This solves an outstanding threading
problem which occured by multiple draw threads all tried to rescale the same
image at one time.
Made osg::Image ptr in osg::Texture2D non mutable as it is no longer modified
during apply.
2003-04-01 11:49:09 +00:00
Robert Osfield
b728b1dd99
Implemented load and subload methods in osg::Texture/Texture2D.
2003-03-31 21:41:17 +00:00
Robert Osfield
bf184ef7a3
From Tree, added SG_EXPORT to the inner classes for Java binding work.
2003-03-18 19:42:34 +00:00
Robert Osfield
55c25a551b
Added support for using the generate mip map extension within osgText.
2003-03-04 15:47:28 +00:00
Robert Osfield
44f88715ae
MOre work on uint -> unsigned int.
2003-02-14 19:47:59 +00:00
Robert Osfield
77fee92d71
Renamed futher uint/ushort instances.
2003-02-14 16:52:47 +00:00
Robert Osfield
8f1ba9d21b
Removed include/osg/Types header defining osg::ubyte, osg::ushort etc. Changed
...
any reference to these in the distribution across to using unsigned char,
unsigned short etc. This has been done to keep the OSG code more opaque
to what types are.
2003-02-12 19:20:47 +00:00
Robert Osfield
48bda9cc79
Added new Copyright/License notice to header and source files.
2003-01-21 16:45:36 +00:00
Robert Osfield
5fca8ea229
Moved Drawable across to using osg::buffered_value.
...
Added new osg::State::setInterleavedArray() method.
Added new osg::Group::setNode(uint,Node*) method.
Cleaned up and fixed the osg::Texture's handling of dirtyTextureParamters().
2002-11-19 10:56:59 +00:00
Robert Osfield
35b9317baf
Fixes to typo of *Dirty()
2002-11-11 16:11:48 +00:00
Robert Osfield
91df37b5c8
Further work on multiple context extensions.
2002-09-16 20:58:05 +00:00
Robert Osfield
bb0022175b
Added new buffered_value template class which encapsulates a std::vector but
...
initializes the array to the number of graphics contexts, and automatically
expands the array when indices outside the current size are required.
Added new osg::Texture::Extensions nested class to handle extensions on a per
context basis.
2002-09-05 11:42:55 +00:00
Robert Osfield
6ff24b338f
Added support for multiple graphics contexts to osg::Texture and its
...
subclasses.
2002-09-04 08:14:04 +00:00
Robert Osfield
12226e4371
Converted the instances of const built in types being returned from methods
...
and passed as paramters into straight forward non const built in types,
i.e. const bool foogbar(const int) becomes bool foobar(int).
2002-09-02 12:31:35 +00:00
Robert Osfield
8353fc0ed6
Removed deprecated code from the distribution.
...
Added .osg support for Texture1D and Texture3D.
2002-08-28 15:28:11 +00:00
Robert Osfield
bff4728eac
Commented out the #define TEXTURE_USE_DEPRECATED_API from includ/osg/Texture
...
which forces the use of a typedef Texture2D Texture; in place of the orignal
texure implementation.
2002-08-27 21:01:22 +00:00
Robert Osfield
8e75f531e3
Converted code dependant on osg::Texture across to its replacement osg::Texture2D.
2002-08-25 15:31:44 +00:00