Commit Graph

28 Commits

Author SHA1 Message Date
Robert Osfield
f9b9efec16 From Vladimir Shabanov, "The DDS plugin didn't correctly read mipmapped A8L8 textures.
I've attached a small fix for this.

Cause: uncompressed mipmap handling was done only for RGB pixel format.

Fix: added condition for handling alpha and luminance formats too."
2006-10-30 12:23:37 +00:00
Robert Osfield
118161416f From Sebastien Grignard, fix to writing of dds files, write the source data
directly rather using a series of memcpy.
2006-08-23 15:25:43 +00:00
Robert Osfield
d3541b96ed Replaced tabs with spaces. 2005-11-17 15:03:51 +00:00
Robert Osfield
0420222ce5 From Sebastien Grignard, fixed memory leak where header and databuffers
wern't deleted.
2005-02-11 10:09:06 +00:00
Robert Osfield
e41f24ff80 From Fredrick Mammond, fix to 64 bit build. 2005-01-12 10:32:36 +00:00
Robert Osfield
a0ba625cb0 Property API clean to smooth the task of generating wrappers. 2004-12-17 01:06:33 +00:00
Robert Osfield
d9b9a6f1f8 Made read/write methods in ReaderWriter all const to facilate multi-threading 2004-11-23 15:29:52 +00:00
Robert Osfield
ce07879e2e Moved plugins across to using ReaderWriter::Options* for search paths in addition
to standard osgDB::DataFilePaths
2004-11-22 23:54:45 +00:00
Robert Osfield
a0eb4c72a1 Added write to ostream to ReaderWriterDDS 2004-11-11 16:05:55 +00:00
Robert Osfield
1f5b044c71 Made ReaderWriter::className const 2004-10-26 10:26:43 +00:00
Robert Osfield
ffc5dfb83b Changed the "flip" keyword to "dds_flip" 2004-08-17 07:44:31 +00:00
Robert Osfield
4f376529b7 Added support for "flip" option string, which if present flips incoming
images about the vertical axis.  Accessed via -O flip on the commandline.
2004-08-16 21:14:19 +00:00
Robert Osfield
9b03d8c67e Fixed warnings. 2004-06-28 21:39:31 +00:00
Robert Osfield
9236f6daa8 From George Tarantilils, add missing handling of alpha channel. 2004-05-25 20:40:26 +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
eac7fdff76 From Alberto Farre, fixes to the computation of sizes 2004-05-24 19:50:13 +00:00
Robert Osfield
ae5aefac0e Added the beginings of new osgParticle Explosion, Fire and SmokeEffects.
Added support for generation explosion, fire and smoke effects in osgsimulation
2004-05-13 22:09:23 +00:00
Robert Osfield
74ef590992 Fixed handling of FOURCC_DXT1 pixel format. 2004-03-29 09:32:35 +00:00
Robert Osfield
9f81630453 Fixed GL_COMPRESSED_RGB_S3TC_DXT1_EXT pathway so both pixel and internal
formats are the same.
2004-02-01 15:40:33 +00:00
Robert Osfield
83bf813e58 Moved the responsibility for finding file to load on to the ReaderWriter plugins,
instead of osgDB::Registry where it original lay.  This has been done to allow
fileName strings to be encode data rather than just file names, such as one
requires when using PagedLOD along with plugins for doing dynamic tesselation.
2003-12-08 11:24:43 +00:00
Robert Osfield
a66d6becfa From Rune, Added catch for erroneous size specification in .dds file. 2003-12-02 21:38:01 +00:00
Don BURNS
15f88f35b2 *** empty log message *** 2003-06-24 15:40:09 +00:00
Robert Osfield
a79fada938 Mannually computes the mipmap levels to ensure correct loading of dds
images which arn't square.
2003-04-19 06:57:07 +00:00
Robert Osfield
1cf0be9963 Fixes to BlendFunc - adding missing ZERO handling.
Improved handling of alpha values in DXT1 compression.
2003-04-18 19:46:46 +00:00
Robert Osfield
e04b36b467 Fixes to dds plugin from Rune. 2003-04-07 15:11:29 +00:00
Robert Osfield
7473bf573d Suported for mip mapping added by Rune. 2003-04-03 21:00:12 +00:00
Robert Osfield
12e2e1968a Fixes to the dds plugin. 2003-04-02 19:41:18 +00:00
Robert Osfield
0f3eaeba46 From Rune Schmidt Jensen - new dds loader. 2003-04-02 18:26:34 +00:00