Robert Osfield
678b22ce83
Updated Copyright notices to 1998-2005.
2005-04-14 21:41:28 +00:00
Robert Osfield
2ab78cfe38
From Marco Jez, fixed constness of data return type
2005-03-23 21:00:28 +00:00
Robert Osfield
7bf72cd43b
From Marco Jez, improved Texture2D and Image handling of compare().
2005-03-07 14:30:55 +00:00
Robert Osfield
5215d43e14
warning fix
2005-02-10 20:21:01 +00:00
Robert Osfield
ec8624f185
Implemented the osg::Image::isImagTranslucent function.
2005-02-10 15:52:18 +00:00
Robert Osfield
117c791a3b
Added osg::BufferObject and a made a number associated to accomodate this
...
new class. osg::BufferObject wraps up OpenGL pixel and array buffer objects.
Currently implementation is work in progress.
2005-02-09 10:39:45 +00:00
Robert Osfield
9a93d7ae06
Fixes to osg::Image's handling of compressed formats.
2005-01-27 20:18:49 +00:00
Robert Osfield
4c8e48c9e7
From Yuzhong Shen, fix to the image dimensions passed to allocImage in Image::copySubImage
2004-10-18 14:46:57 +00:00
Robert Osfield
d204a087c3
Added proper handling of 3d texture compression
2004-09-30 09:10:29 +00:00
Robert Osfield
e08328a449
Preliminary steps to support for compressed 3D textures.
2004-09-29 10:01:46 +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
cf99c3c9bd
Added support in Image::flipVertical for flipping mipmapped imagery
...
and for flipping compressed imagery.
2004-08-16 20:57:24 +00:00
Robert Osfield
98d30a8ce0
From Pavel Moloshtan, fix to Image copy constructor so that it used the
...
correct size of image including mipmaps.
2004-08-03 18:06:36 +00:00
Robert Osfield
bb5576bef8
Added support s/getImage(uint i) and getNumImages().
2004-07-27 10:11:45 +00:00
Robert Osfield
ba20259794
Removed debugging message
2004-07-06 12:32:09 +00:00
Robert Osfield
518cedf6c7
Added dealloc or previous image data into readImageFromTexture
2004-07-05 21:46:02 +00:00
Robert Osfield
cce00c475b
Added suppor for copying mipmaps of compressed textures
2004-07-05 21:09:30 +00:00
Robert Osfield
4c0aa24526
Added handling of GL_INTENSITY in osg::Image::computeNumComponents()
2004-06-17 15:07:50 +00:00
Robert Osfield
eb3917060f
From George Tarantilis, fixes to DDS size computations.
...
From Robert Osfield, addition of constructors for internal DDS structures.
2004-05-25 16:10:28 +00:00
Robert Osfield
6800b7d29a
Added the setting of the _internalTextureFormat from within osg::Image.
2004-03-17 20:03:56 +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
4aa7afedf3
Removed include <iostream> where possible, replacing with istream or ostream and changing
...
std::cout/cerr to osg::notify().
2004-03-03 13:27:21 +00:00
Robert Osfield
477739f6fc
Fixed typos in error reporting
2003-12-24 00:14:45 +00:00
Robert Osfield
fd016af34b
Added support for 565 textures to osgbluemarble.
...
Added a osg::Image::scaleImage() version which allows the datatype to be varied.
2003-10-29 23:10:11 +00:00
Robert Osfield
c199e74bfc
Added support for generating compressed textures in osgbluemarble.
2003-10-17 15:26:30 +00:00
Robert Osfield
c2b02608d1
Renamed instance of variables called format to pixelFormat to make a
...
clearer distinction between pixelFormat and internalTextureFormat.
2003-09-22 09:13:22 +00:00
Robert Osfield
a36d45e68b
Added check to allocateImage() so that if the pixel size wouldn't be computed
...
unless valid _data already existed on the object.
2003-07-23 08:18:19 +00:00
Robert Osfield
d70ab592ed
Additions since the CVS back up was made.
2003-06-24 21:57:13 +00:00
Don BURNS
15f88f35b2
*** empty log message ***
2003-06-24 15:40:09 +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
0476348a0c
Added support for setting up VisualChoose with destination alpha, stencil and
...
quad buffers attributes from DisplaySettings values.
2003-03-20 14:07:03 +00:00
Robert Osfield
78de76f17f
Bug fixes to osgText to handle the osgUtil::Optimizer being used on a scene
...
graph containing text.
Fixed warning in MD2 plugin.
2003-03-11 13:30:03 +00:00
Robert Osfield
b32c8c65f3
Added osg::Image::AllocationMode enum and associated set/get methods.
...
osg::Image::setImage has also been modified to require the AllocationMode
mode to be passed to it so that it knows how to delete the data once the
image goes out of scope.
Port the image plugins across to specify the new AllocationMode, and converted
them across to using new/delete in place of malloc/free.
2003-02-25 11:56:18 +00:00
Robert Osfield
926394dcb8
Removed debugging messages.
2003-01-21 19:37:45 +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
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
010e56c8cc
Added implementation of isImageTranslucent method.
2002-11-25 16:39:05 +00:00
Robert Osfield
0a5ed26940
Moved the new osg::IndexedGeometry class over the top of the the existing
...
osg::Geometry class, and removed the temporary IndexedGeometry. Port the rest
of the OSG across to account for the change in method calls -
osg::Geometry::addPrimitive(..) becomes osg::addPrimitiveSet(..)
2002-10-02 13:12:16 +00:00
Robert Osfield
55215651d7
Renamed osg::Primitive to osg::PrimitiveSet which better reflect what it
...
encapsulates.
Added new osg::IndexGeometry implemention, *not* complete yet.
Changed the rest of the OSG to handle the renaming og Primitive to PrimitiveSet.
2002-09-20 14:51:59 +00:00
Robert Osfield
91df37b5c8
Further work on multiple context extensions.
2002-09-16 20:58:05 +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
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
Robert Osfield
59a5e800fe
Moved #define's for OpenGL1.2 image formats into the include/osg/Image header
...
to allow compilation of the rgb plugin under Windows with its 1.1 OGL headers.
Added float.h to Math's compile path for VS7 compilation.
2002-08-26 13:04:43 +00:00
Robert Osfield
239068f223
Added new osg::TextureBase, osg::Texture1D, osg::Texture2D, and osg::Texture3D
...
classes, and changed osg::Texture and osg::TextureCubeMap so that they now derive
from osg::TextureBase.
2002-08-24 19:39:39 +00:00
Robert Osfield
7dfefaf67f
Added new osg::Texture::SubloadCallback, and getNumMipmapLevels() to osg::Texture
...
and osg::Image. This additions are design to make texture subloading more
flexible.
2002-08-16 13:33:32 +00:00
Robert Osfield
067dc6cddf
Fixes to the new texture subloading methods.
2002-07-29 00:04:07 +00:00
Robert Osfield
c1fc3dcdb9
Ported all the demos and loaders across to use the new multitexturing API.
2002-07-10 11:22:24 +00:00
Robert Osfield
cbeeeefdab
Added osg::Drawable::PrimitiveFunctor and TriangleFunctor subclass for
...
querrying the primitive data inside Drawables. Moved various support
classes over from being osg::GeoSet based to osg::Geometry based.
2002-06-25 20:27:51 +00:00