Commit Graph

2365 Commits

Author SHA1 Message Date
Robert Osfield
9bb18750c7 Removed the ScalarBar:: from the from of the ScalarPrinter::printScalar() calls. 2003-11-21 20:21:41 +00:00
Robert Osfield
e9df154427 From John Tan, support for offset and scale tex coords via TexMat. 2003-11-21 19:33:09 +00:00
Robert Osfield
454b474f37 From Stephan Huber, clean up of QTexture.cpp's scaling code and additions
of handling of different extensions in ReaderWriterQT.cpp
2003-11-21 16:30:59 +00:00
Robert Osfield
709e1de9c8 Removed newline from top of header 2003-11-21 16:19:07 +00:00
Robert Osfield
0283495c11 From Stephan Huber, with mods by Robert to keep old code in place, change to replace
scaling of texture since the OSG does this automatically when required.
2003-11-21 14:30:01 +00:00
Robert Osfield
9d883176f9 Changed the main to create a Group and then add the loaded scene and HUD scene
into this.  This has been done to rework code nearer to what Stephan Huber
used to get round a crash under OSX when a model was passed in.  This crash
suggest a problem in dynamic_cast<> perhaps?
2003-11-21 14:17:26 +00:00
Robert Osfield
f28783e22b From Romano J M Silva, changed osg::Texture2D::copyTexImage2D so that it uses the
_internalFormat for the texture format to read rather than default to GL_RGBA.

From Robert Osfield, changed the osg::Texture2D::copyTexImage2D and copyTexSubImage
code so that it set the _internalFormat to GL_RGBA if is is zero.
2003-11-21 13:45:40 +00:00
Robert Osfield
62c955fa19 Added the missing insertChild(index,child) and insertChild(index,child,value) into
osg::Switch.
2003-11-20 12:03:51 +00:00
Robert Osfield
7136a00b9a Changed the freetype plugin so it keeps its own ref_ptr<Font> to fonts
that it creates, rather than have osgText::Font::readFontFile() use the
osgDB::Registry object cache.

This has been done to prevent problems when users flush the object cache,
which was causing a dangling pointer.
2003-11-20 11:07:19 +00:00
Robert Osfield
84989b06b3 Changed libgdal.lib to gdal.lib 2003-11-19 20:30:24 +00:00
Robert Osfield
91da08b525 From Ruben, added support for nested update and cull callbacks. 2003-11-14 13:39:34 +00:00
Robert Osfield
bddd49c86a Changed the credit from NVidia's NvTriStrip to Tanguy Faure's traingulation code. 2003-11-14 09:25:17 +00:00
Robert Osfield
8af38347d1 From Tom Jolly, Fix to handling of triangle fans. 2003-11-13 15:45:31 +00:00
Robert Osfield
c41221f2ac Added usage of object cache + fixed handling of projection matrix. 2003-11-12 19:05:54 +00:00
Robert Osfield
3f33163c47 Fixed setting of OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO value. 2003-11-12 15:03:05 +00:00
Robert Osfield
5fb06a1d77 Moved the getTime to inside the locked part of the add events. 2003-11-12 10:13:31 +00:00
Robert Osfield
02274f0ea9 From Tom Jolly, fixed incorrect setTexCoordIndices to setColorIndices.
Added support for triangle fan primitives.
2003-11-11 16:30:35 +00:00
Robert Osfield
21881490cd From Dean Iversion, fix to the ReaderWriter::Options management in Pool.cpp 2003-11-11 08:52:41 +00:00
Robert Osfield
8bbbd1fc70 Made getWidth and getHeight const. 2003-11-07 09:00:22 +00:00
Robert Osfield
d3251dc9d8 From Sondra Iverson:
small optimization to ParticleSystem.cpp moving sqrtf out of inner loop.
     fix of copy and past error changing erronous cullTimes to drawTimes.
2003-11-06 22:06:44 +00:00
Robert Osfield
71cae09943 Added Producer.lib into the dependancy list. 2003-11-06 21:58:41 +00:00
Robert Osfield
9184e9190e From David Ergo, patch for setting the shininess strength of the specular material, 2003-11-06 13:44:59 +00:00
Don BURNS
b7eeeea8d1 Fixed loading of dynamic libraries with dlopen if the library is
in the current directory
2003-11-06 04:08:53 +00:00
Robert Osfield
e043f6c89d Added code to load the bluemarble.ive database instead of the texture mapped
sphere for the earth model in the logo.
2003-11-05 10:24:51 +00:00
Don BURNS
4e8992d8c1 MIssing check for ptr == NULL at line 227 in Registry.cpp 2003-11-05 04:58:18 +00:00
Don BURNS
d56ef40d7d Small bug in DynamicLibrary.cpp ptr was not being checked for NULL 2003-11-05 04:56:08 +00:00
Don BURNS
d493309b69 Changed versioning for make rpms 2003-11-05 04:51:10 +00:00
Robert Osfield
8f2a688eff Added TextureObjectManager constructor. 2003-11-04 22:00:16 +00:00
Robert Osfield
5f5677dcee Made all positioning transform DYNAMIC to avoid the osgUtil::Optimizer flattening
them.  Flattening of static transforms was affecting the PagedLOD nodes.
2003-11-04 19:26:16 +00:00
Robert Osfield
54a8ea33ce Added support to slideshow3D for -s commandline option allow the size of
the display to be specified.

Also implementaited some code for display position and speed info in
osgProducer::Viewer, not fully implemented yet.
2003-11-04 16:38:10 +00:00
Robert Osfield
8ed0f3ea95 Changed the slide coordinates system so that the bottom left hand corner of the
slide is 0,0,0 and the top right is 1,1,0, and the eye point is at the
appex of a frustum at x,y,1.
2003-11-04 15:07:42 +00:00
Robert Osfield
bbc55c14fd Added osgText::Text::getTextureGlyphQuadMap(). 2003-11-04 13:40:24 +00:00
Robert Osfield
7f7a51b1ca Fixed positioning of images. 2003-11-03 23:26:17 +00:00
Robert Osfield
2e59f65fc9 Fixed positioing of text. 2003-11-03 23:22:58 +00:00
Robert Osfield
bc7622149d Updated to slideshow3D to support animation + pausing of animation.
Updated associated osg/osgUtil classes that provide animation pausing.
2003-11-03 23:13:31 +00:00
Robert Osfield
de77cede2b Merged fixes from Geof Michel. 2003-11-02 20:10:04 +00:00
Robert Osfield
980cfc78f9 Renamed _mips to _mipMapKernel 2003-10-31 10:11:38 +00:00
Robert Osfield
1991aa597c Added support for <duration>float</duration> to the slideshow3D .xml format
to allow the time for autostepping between layers/slides.

Moved the tiles accross to the left hands side by default.
2003-10-30 16:22:21 +00:00
Robert Osfield
bb97900fe1 Changed the wrap mode from CLAMP to CLAMP_TO_EDGE to avoid artifacts under
OSX.
2003-10-30 00:10:54 +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
1d81edeaab Added option for 565 16bit textures. 2003-10-29 22:47:21 +00:00
Robert Osfield
27dbfa9810 Added copying of reference to the main CullVisitor's DatabaseRequestHandler over
to the left/right eye CullVisitor to ensure that the database works in stereo.
2003-10-29 19:22:19 +00:00
Robert Osfield
47ec8be272 Commented out verbose debugging messages. 2003-10-29 16:45:17 +00:00
Robert Osfield
f1caec8d6e Added -e -w -o and -l options to the osgbluemarble example. 2003-10-29 14:59:22 +00:00
Robert Osfield
f1c4dc3b0d Updates for osgdem. Including new read/writeHeightField() methods. 2003-10-29 11:11:17 +00:00
Robert Osfield
b9775a1a3e Fixed PNG plugin so it handles endianess correctly, and alpha/grey scale textures. 2003-10-29 10:41:36 +00:00
Robert Osfield
eb4ee3afad *** empty log message *** 2003-10-27 16:07:21 +00:00
Robert Osfield
bce184e87c Added a check into osg::Sequence::traverse() against an empty sequence, so
that a non existant child is not traversed.
2003-10-27 10:29:52 +00:00
Robert Osfield
d55d8f941d Fixed error when handling mulltiple non per vertex vertex attributes during
rendering.
2003-10-22 13:39:16 +00:00
Robert Osfield
e3713ff106 Added ImageOptions to osgDB. 2003-10-20 21:31:15 +00:00