Commit Graph

2376 Commits

Author SHA1 Message Date
Robert Osfield
845adb8745 Reorganised posstion of getViewMatrix*() methods. 2003-11-25 10:55:37 +00:00
Robert Osfield
787b64999c From Eric Hammil, support for compute the dimensions when the file specified
size is zero.
2003-11-25 10:53:57 +00:00
Robert Osfield
33fabed8c8 Changed error message to something more meaningful 2003-11-25 10:52:13 +00:00
Robert Osfield
7147f52f6d Increased the prevision of outputing the height field parameters 2003-11-25 10:50:57 +00:00
Robert Osfield
781aa4fe45 Added support for case insenstive file searches. 2003-11-25 10:49:38 +00:00
Robert Osfield
357078f207 From Trajce Nicklov, support for GeneralMatrix record 2003-11-25 10:47:13 +00:00
Robert Osfield
689e11693a From Alberto Farre, added support for nesting of files. 2003-11-25 10:32:23 +00:00
Robert Osfield
bd686c4598 From Michael Morrison, added support for the OpenFlight BSPRecord, simply
mapping it to a Group.
2003-11-25 10:20:21 +00:00
Robert Osfield
c7b96d18b7 Updated links to mailing list 2003-11-25 09:23:04 +00:00
Robert Osfield
78a0fd5a16 Added support for case insenstive searches of the filepaths. 2003-11-25 09:04:41 +00:00
Robert Osfield
8fd4bbe510 Changed the shadow colour so that it is now controlled via the emissive
light material rather than ambient, this allows it to bypass any of the
osg::Light values and control the resulting shadow colour more directly.
2003-11-24 10:01:02 +00:00
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