Commit Graph

3337 Commits

Author SHA1 Message Date
Robert Osfield
8a44435e4d Made the local storage of a StateAttribute* be a ref_ptr<> 2004-07-08 22:11:42 +00:00
Robert Osfield
e81d3ea000 Made the constructor's default value for _lightingMode be NO_SCENEVIEW_LIGHT 2004-07-08 22:10:44 +00:00
Robert Osfield
ef93f96328 Added lighting and materials to volume subgraph 2004-07-07 15:05:00 +00:00
Robert Osfield
787792077c From Vasily Radostev, fixed Billboard compute near/far bug due to typo of bbCornerFar. 2004-07-07 13:19:07 +00:00
Robert Osfield
c6ca80f2c5 Added automatic scaling of the minimum distance to cope with models of
small dimensions.
2004-07-07 11:29:58 +00:00
Robert Osfield
1634cc47c6 Added automatic setting of the verical scale when the destination coordinate
system is geographic (i.e. lats and longs.).
2004-07-07 11:28:21 +00:00
Robert Osfield
a3f7547cf7 Added support for automatically computing the local skirt orientation 2004-07-07 09:04:21 +00:00
Robert Osfield
3c7dfa389d Added mutex to image stream thread to serialize calls to Quicktime. 2004-07-06 15:10:33 +00:00
Robert Osfield
105c3568f8 From Geoff Michel, replaced used C style FILE with iostream. 2004-07-06 13:00:14 +00:00
Robert Osfield
ba20259794 Removed debugging message 2004-07-06 12:32:09 +00:00
Robert Osfield
b8aa8bfc40 Fixed warning. 2004-07-06 12:15:03 +00:00
Robert Osfield
d0aa593292 Changed the default mipmapping mode to record the mipmaps in the
images in the generated databases.
2004-07-06 12:14:52 +00:00
Robert Osfield
89a4dcbbd3 Added GL_TEXTURE_DEPTH #define for Win32 build 2004-07-06 06:13:34 +00:00
Robert Osfield
b6b29e2151 Fixed build after Image change 2004-07-06 06:05:32 +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
Don BURNS
4c5f33d397 Changed internal formatt on jpeg loader to be GL_RGB, GL_RGBA, etc. rather
than numComponents.
2004-07-05 16:21:43 +00:00
Robert Osfield
1c2c5c4f43 From Ulrich Hertlein, added check for detailRatio<=0.0 2004-07-05 09:04:53 +00:00
Robert Osfield
c58891d168 Fixed missing member variable initialized varaibles 2004-07-05 07:42:46 +00:00
Robert Osfield
2ce192f0ae Change the light in LightSource from a generic osg::StateAttribute to
a osg::Light.
2004-07-02 14:46:24 +00:00
Robert Osfield
4ba3f7cad3 Added setFunction and setReferenceValue method 2004-07-02 14:45:36 +00:00
Robert Osfield
fc3f40c8f4 Added normal setting to slice planes 2004-07-02 14:43:27 +00:00
Robert Osfield
5fb7eab911 Clean up of osgvolume 2004-07-01 14:30:18 +00:00
Robert Osfield
fc20015110 Added osgvolume 2004-07-01 14:29:29 +00:00
Robert Osfield
2598b02243 Changed the generation of primtive set to use DrawElementsUShort for even
index sets that can be represented by UBytes, thisis to try to keep to
fast paths more likely to be supported by graphics drivers.
2004-07-01 14:27:22 +00:00
Robert Osfield
a0eead991f Fixed indenting 2004-07-01 14:22:11 +00:00
Robert Osfield
0c38189018 Moved the radius parameter from PageLOD into LOD. 2004-07-01 13:53:30 +00:00
Robert Osfield
a8ee967f14 Added support for using pixel size control of LOD levels. 2004-06-30 19:07:05 +00:00
Robert Osfield
b22de2eba0 Maded the image filename handling more consistent. 2004-06-30 14:43:40 +00:00
Robert Osfield
ae3b1454e8 Completed support for "--levels min max" option where the levels that a
source imager or DEM contributes to.
2004-06-30 14:37:06 +00:00
Robert Osfield
c45138f977 Fixed handling of PROCTED/OVERRIDE 2004-06-30 09:02:41 +00:00
Robert Osfield
656762edbb Changed const int to #define for VS6.0 build 2004-06-30 07:26:02 +00:00
Robert Osfield
888d9e2a25 From Pavel Moloshtan, added support for storing primitive sets in VBO's 2004-06-29 15:04:38 +00:00
Robert Osfield
342444d5bb Improved the handling of normal lighting 2004-06-29 14:58:24 +00:00
Robert Osfield
16c5b80c61 Added osgvolume example 2004-06-29 13:59:07 +00:00
Robert Osfield
d4c46df7ce Fixed parsing of internalTextureFormat. 2004-06-29 08:03:28 +00:00
Robert Osfield
fdbb1fe021 Re-organised Texture::computeInternalFormatWithImage() to avoid testing
for extensions when not required.
2004-06-28 22:09:52 +00:00
Robert Osfield
9b03d8c67e Fixed warnings. 2004-06-28 21:39:31 +00:00
Robert Osfield
f96622ebf9 From Matt Burke, typo fix on getMinimumDistance(). 2004-06-28 20:47:39 +00:00
Robert Osfield
0887e22c3f Added .osg support for new TexGenNode 2004-06-28 15:09:49 +00:00
Robert Osfield
124f64c55f Fixed warning 2004-06-28 14:18:48 +00:00
Robert Osfield
ca96c9e731 From Michael Logan, build fix for Performer plugin 2004-06-28 13:18:31 +00:00
Robert Osfield
db43e34bce From Michael Gronager, added support for alpha channel in writing of BMP images 2004-06-28 13:18:10 +00:00
Robert Osfield
6de63f097b From Eric Sokolowsky. Added missing blend modes into .osg reading and writing
and fixed typo.
2004-06-28 12:52:13 +00:00
Robert Osfield
20de9666dd From Terry Welsh, added support for reading and writing osg::FragmentProgram
local parameters.
2004-06-28 10:00:21 +00:00
Robert Osfield
9de43e833f From Bob Kuehne, add additional check in osgconv to handles modules that don't load gracefully. 2004-06-28 09:05:33 +00:00
Robert Osfield
4c0aa24526 Added handling of GL_INTENSITY in osg::Image::computeNumComponents() 2004-06-17 15:07:50 +00:00
Robert Osfield
63aa9b857d Added first stage of support for "--levels min max" in osgdem/osgTerrain where
this option controls which levels that an associated imager or DEM contributes
to the final model.
2004-06-17 14:39:16 +00:00
Robert Osfield
06aa06d686 Added support for setting texture units in the new TexGenNode. 2004-06-17 14:02:15 +00:00
Robert Osfield
840d5d4930 From Loic Dachary, added missing copy contructor operations. 2004-06-16 15:05:01 +00:00