Robert Osfield
5fb3469f77
Changed code creating LightPoint on heap to use the stack.
2006-07-19 08:39:44 +00:00
Robert Osfield
dd6a33da49
Removed StateSet::ENCLOSE_RENDERBIN_DETAILS since it is rendendent, and
...
implemented the OVERRIDE_RENDERBIN_DETAILS.
2006-07-11 21:53:57 +00:00
Robert Osfield
1c1fce8266
Fixed scoping for for loop varaible for VS6.0 build.
2006-07-06 15:47:59 +00:00
Robert Osfield
c90e35038a
From Eric Sokolowski, "Added the ability to read and write images directly in the ive plugin,
...
through the osgDB::readImageFile and osgDB::writeImageFile functions.
This is useful for storing compressed textures on disk for rapid playback
for animations."
2006-07-03 09:26:12 +00:00
Robert Osfield
e7d04408d3
From Michael Platings, added support for blend seperates to .ive and .osg
2006-07-03 09:22:11 +00:00
Robert Osfield
e1c77dfe2a
Minor tweaks of ints to unsigned ints
2006-05-16 21:20:36 +00:00
Robert Osfield
90fc234cf1
From Mike Weiblen, support for new Uniform arrays.
...
From Robert Osfield, refactor of above with original code to ensure backwards compatibility.
2006-05-16 21:00:15 +00:00
Robert Osfield
7f101c37ad
From Glenn Waldrom, addition of .ive support for PriorityOffset and PriorityScale.
2006-03-28 14:45:48 +00:00
Robert Osfield
8796f37acb
Added automatic toggling between png and jpeg when compressImageData option is used. Jpeg
...
is used to compress RGB data only, the just of the formats are passed on to the png plugin.
2006-03-02 20:31:40 +00:00
Robert Osfield
74f073c2a8
From Farshid Lashkari, "I've attached another modified version of the IVE loader which
...
supports compressing the image data. The option to compress the data
is "compressImageData". Currently it uses the jpeg plugin to write the
image. Maybe we could add an option that allows the user to specify
which image format to use. The jpeg writer supports specifying the
quality of the jpeg, so you could use the following command line to
convert the skydome.osg model to IVE using 50% jpeg quality:
osgconv -O "compressImageData JPEG_QUALITY 50" skydome.osg skydome.ive"
2006-03-01 10:17:53 +00:00
Robert Osfield
58bdc6f92f
Added TextureRectangle.cpp
2006-02-28 21:18:45 +00:00
Robert Osfield
10d139fc1f
From Farshid Lashkari, "I've made some changes to the IVE loader which will add the capability
...
of saving image files inside the IVE file. Currently, only the raw
image data is saved into the file. If your model uses jpg images as
textures then this will cause your file size to increase.
I've added an option that will embed the original image file into the
IVE file. The IVE file will then attempt to read the image from
memory. Since most image loaders support reading from memory, this
shouldn't be a problem. To use this new feature the user must specify
the option "includeImageFileInIVEFile" when converting to IVE.
I tested this out on the "skydome.osg" model that comes with OSG.
Using the old method, the IVE file size would be 785 KB, with the new
method it is only 42 KB.
Also, I've added the support for TextureRectangle's to the IVE reader/writer."
2006-02-26 17:45:52 +00:00
Robert Osfield
af6af82e56
From Nathan Monteleone, addition of AutoTransform support.
2006-02-20 19:13:11 +00:00
Robert Osfield
9935b0fa27
Added missing swap byte operations to readVec*sArray() methods.
2006-02-20 15:46:29 +00:00
Robert Osfield
4b8fb5e5f9
From Daniel Larimer, fixed error is swap byte code handling vector<short>
2006-02-20 15:32:03 +00:00
Robert Osfield
523f608ba6
From Ali Botorabi, adding of osg::Depth support in .ive format.
2005-12-19 14:48:04 +00:00
Robert Osfield
d3541b96ed
Replaced tabs with spaces.
2005-11-17 15:03:51 +00:00
Robert Osfield
a70768b6e9
Added .ive support for osg::Texture SourceFormat and SourceType
2005-11-08 16:41:34 +00:00
Robert Osfield
6ed9cb40cc
From Colin McDonald, fixed image size calculation in getTotalSizeInBytesIncludingMipmaps(),
...
added checks on success of opening files for writing in the .ive plugin.
2005-11-08 13:51:28 +00:00
Robert Osfield
4915259878
Improved support for texture subload/render to texture in various Texture classes
...
and RenderStage.
2005-11-04 12:08:16 +00:00
Robert Osfield
06e8ee3646
Changed the CameraNode read/write code to use Transform as its parent.
2005-11-03 19:20:04 +00:00
Robert Osfield
fb2d3ae108
Further work on added IO support from CameraNode.
2005-11-03 15:59:17 +00:00
Robert Osfield
9d9d6c5a12
Completed osg::CameraView support in .osg and .ive formats.
2005-11-03 12:25:25 +00:00
Robert Osfield
6562aa4f5f
Added initial CameraNode and CameraView stups for the .ive loader
2005-11-03 10:16:38 +00:00
Robert Osfield
b5085b7799
Warning fixes for Win32 build.
2005-10-24 11:25:20 +00:00
Robert Osfield
34dd065d66
Added into CVS missing PolgonMode files.
2005-10-07 07:46:48 +00:00
Robert Osfield
808511468b
From Brede Johansen, added support for PolygonMode into .ive format.
2005-10-06 15:43:29 +00:00
Robert Osfield
14980872a7
Standardised the Vec* class interfaces, and added num_components enum to aid
...
generic programming.
2005-09-04 11:17:00 +00:00
Robert Osfield
d154c2a4cd
From Eric Sokolowsky, warning fixes for g++ 4.0 under Fedora Core 4.
2005-08-25 17:53:01 +00:00
Robert Osfield
6e167c0db7
From Carlo Camporesi, fixed .ive handling of character height and aspect ratio.
2005-08-22 14:13:28 +00:00
Robert Osfield
47651d3c8d
Added glSissor suppor via new osg::Scissor class.
...
Added .osg support for osg::Scissor.
Added .ive support for osg::Viewport and osg::Scissor.
2005-07-22 09:31:19 +00:00
Robert Osfield
1e9fb4ab03
From Marco Jez (with tweaks by Robert Osfield) : clean up of inheritance from std::vector<> classes
2005-07-20 19:42:59 +00:00
Robert Osfield
d35ea68f3e
Renamed Byte2,3,4 and Short2,3,4 and UByte4 to use the Vec*b, Vec*s and Vec4ub form
2005-07-15 14:41:19 +00:00
Robert Osfield
70647b8801
Fixed bug in ProxyNode write out where non existant children were written out.
2005-07-15 09:56:36 +00:00
Robert Osfield
facb0e2638
From Pavel Moloshtan, Byte2,3,4 and Short2,3,4 classes and their Array counterparts.
...
With a few build tweaks and bug fixes by Robert Osfield.
2005-07-05 15:57:53 +00:00
Robert Osfield
27c4c6a956
Moved the set/getName() support from osg::Node etc into the osg::Obejct
...
base class
2005-06-08 13:16:19 +00:00
Robert Osfield
e0cf176590
From Mike Weiblen, added GLSL datatypes mat2 and mat3 to osg::Uniform, with .osg and .ive support
2005-06-08 10:36:56 +00:00
Robert Osfield
a83f7a245d
From Joakim Simonsson, DOFTransform multiplication order support added to .ive format.
...
With tweak from Robert Osfield to wrap new read and write with a new version number
to allow old files contain DOFTransforms to continue to work.
2005-05-18 19:04:35 +00:00
Robert Osfield
a8550e6536
Fixed pairing of write and read of Matrixd
2005-05-12 20:03:55 +00:00
Robert Osfield
54abc6f471
Added IO support for new intialBound and callbacks to .osg, and initialBound to .ive
2005-05-12 14:48:56 +00:00
Robert Osfield
aa6ea8c047
Completed GLSL support in .ive
2005-05-11 13:37:38 +00:00
Robert Osfield
8d31e75364
Further work on GLSL support in .ive
2005-05-11 11:42:09 +00:00
Robert Osfield
d9c50ee7c4
Put in place the class to implement GLSL support in .ive
2005-05-10 20:20:20 +00:00
Robert Osfield
aa61f87abe
From Farshid Lashkari, bumped IVE version number to 9, and added support in Texture for
...
_borderWidth
_useHardwareMipMapGeneration
_unrefImageDataAfterApply
_clientStorageHint
_resizeNonPowerOfTwoHint
2005-05-10 10:01:13 +00:00
Robert Osfield
03232ec667
Moved osg::Impostor to osgSim::Impostor, as Impostor isn't a core feature.
2005-05-01 19:48:49 +00:00
Robert Osfield
bf317d9cea
Removed ViewPoint.h and .cpp from the ive plugin
2005-04-22 13:47:54 +00:00
Don BURNS
a676f67337
CHanged line 101 in PageLOD.cpp to read
...
if ( in->getVersion() >= VERSION_0006 ) {
setDatabasePath(in->readString());
}
instead of
if ( in->getVersion() > VERSION_0006 ) {
setDatabasePath(in->readString());
}
Seems DatabasePath _is_ present in ive files of version 6.
2005-04-16 04:00:18 +00:00
Robert Osfield
16c55531da
Preparation for moving osgGL2 out of the core OSG into its own seperate distribution.
2005-04-14 11:28:23 +00:00
Robert Osfield
dd3db860a2
From Carlo Camporesi, add support for text into .ive plugin, tweak by
...
Robert Osfield to allow font names to be exported correctly with extension
2005-04-08 13:06:14 +00:00
Robert Osfield
fcab21f9cc
Added osg/io_utils include
2005-04-08 09:13:07 +00:00