Robert Osfield
7a0442a388
From Nikolaus Hanekamp, added support for osg::Multisample
2007-06-28 09:51:47 +00:00
Robert Osfield
8a1ac890f3
Introduce C entry point support for plugin setup for better static build support
2007-05-25 15:27:06 +00:00
Robert Osfield
6468905e42
From John Kelso, Added support for new Sequence options.
...
From Robert Osfield, updated the above changes to the .ive loader so that the new addition were tested against the IVE version number
2007-05-15 14:55:02 +00:00
Robert Osfield
4968eb7136
Further work on the new VBO support
2007-04-27 14:52:30 +00:00
Robert Osfield
2e6ee4bb39
Removed old gmake and VisualStudio build files
2007-04-10 13:10:25 +00:00
Robert Osfield
282f4ce0b9
Moved the TARGET_NAME setting into the OsgMacroUtils.cmake.
2007-03-19 17:24:19 +00:00
Robert Osfield
da64127539
Ran dos2unix on CMakeLists.txt files.
2007-03-19 13:26:34 +00:00
Robert Osfield
be3f61c49f
From Luigi Calori, move to using local CMakeLists.txt files and explicit file lists.
...
From Robert Osfield, small ammendments of the above to seperate example and application installs, and fix the osgPlugins install directory.
2007-03-19 12:30:26 +00:00
Robert Osfield
07411f3246
Introduced new osg::Object::DataVariance type of UNSPECIFIED, and changed the deafult
...
values of DataVariance to UNSPECIFIED to all types.
2007-02-14 13:18:58 +00:00
Robert Osfield
e8d6cec990
Fixed warning
2007-02-13 22:22:35 +00:00
Robert Osfield
9c434274be
Added support for ColorMask to .ive plugin
2007-02-13 14:42:00 +00:00
Robert Osfield
b695160483
Added support for osg::Stencil into .ive
2007-02-13 13:47:37 +00:00
Robert Osfield
e4ffa968a2
From Ulrich Hertlein, added support for osg::BlendColor to .ive format.
2007-02-13 12:17:33 +00:00
Robert Osfield
0d48e62811
Cleaned up readString
2007-02-08 15:01:27 +00:00
Robert Osfield
4f1a1c8b16
Fixed return in readString.
2007-02-08 14:59:20 +00:00
Robert Osfield
0f4cd568f6
From Donn Mielcarek, "We generated some bad ive files in our database. In
...
some of the files, the function readInt() would return
a 0 size. While linux will happily continue on,
creating 0 sized arrays, Windows immediately
blows up, with sparks sometimes flying out the
side of the machine!
I added a simple check for zero size in
each of the functions that allocates arrays
based on the size variable, and I thought
I'd pass it along. Now the program will
not die if it encounters an ive file with bad
data."
2007-02-08 10:46:58 +00:00
Robert Osfield
bee545b82d
From Eric Sokolowski, added support for the new Text line spacing parameter to the .osg and .ive formats.
2007-02-02 16:51:59 +00:00
Robert Osfield
7155f7d1b0
Various work on osgViewer library, including warp point and graphics window resize support
2007-01-01 18:20:10 +00:00
Robert Osfield
345810ef22
Added support for float or double osg::Plane, and the default osg::Plane to double.
...
Performance tests on big models did not indicate any performance penalty in using doubles over floats,
so the move to doubles should mainly impact precision improvements for whole earth databases.
Also made improvements to osgUtil::PlaneIntersector and osgSim::ElevationSlice classes
2006-11-28 16:00:52 +00:00
Robert Osfield
68e9672765
Added missing Camera.h and removed redundent CameraNode.h
2006-11-28 09:14:46 +00:00
Robert Osfield
fd2ffeb310
Renamed osg::CameraNode to osg::Camera, cleaned up osg::View.
...
Added beginnings of new osgViewer::Scene,View,Viewer,CompositeViewer and GraphicsWindowProxy files.
2006-11-27 14:52:07 +00:00
Robert Osfield
6b6bc4de10
Added missing PointSprite files
2006-11-17 14:51:48 +00:00
Robert Osfield
052d44a440
From Frashid Lashkari, added support for PointSprites to .ive
2006-11-16 16:42:11 +00:00
Robert Osfield
45dc4572a9
Fixed reading/writing of non C string osg::Text::String's.
2006-09-19 13:54:04 +00:00
Robert Osfield
c1a0df32b6
Made get methods const
2006-09-06 13:53:48 +00:00
Robert Osfield
f0277df858
Added osg::TexMat::s/getScaleByTextureRectangleSize feature that allows
...
one to use the osg::TexMat to automatically scale non dimensional tex coordinats to
the size of the last texture rectangle applied.
2006-09-04 12:46:49 +00:00
Robert Osfield
8aa58c986c
Changed the external file writing to use the DatabasePathList for its path rather
...
than the original files path.
2006-08-31 13:53:38 +00:00
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