Commit Graph

2906 Commits

Author SHA1 Message Date
Robert Osfield
1c2ef7d508 Updates to osgdem. 2003-11-28 14:26:51 +00:00
Robert Osfield
4f71f1becd From Qing Shen, addition of computeIntsect methods which take a
node pointer to intersect with rather than assume the viewer's scene pointer.
2003-11-28 13:41:10 +00:00
Robert Osfield
fd2a735be8 From Rune Schmidt Jensen, support for osgSim::VisibilityGroup in the .ive loader
and support for node masks.
2003-11-27 22:53:40 +00:00
Robert Osfield
f2da687d0f Standardised the tabbing so that 4 spaces are used instead of hardware tabs. 2003-11-27 22:06:11 +00:00
Robert Osfield
2353d55697 From Michael Gronager, osgSim::VisibilityGroup 2003-11-27 16:23:07 +00:00
Robert Osfield
e7f9a51f0f Updates to osgdem + BoundingBox to support graph iterators 2003-11-27 15:13:55 +00:00
Robert Osfield
dd44734635 From Nikolaus Hanekamp, Fixes to lightpoint code 2003-11-27 13:31:16 +00:00
Robert Osfield
d41a3de37c From Trajce Nikolov:
> There are databases that contain both Matrix and GeneralMatrix records as
> ancillary records. If this happens, this fix will only use one matrix to
> create osg::TransformMatrix node.
2003-11-27 13:25:52 +00:00
Robert Osfield
d950ee8410 Addition of light point. 2003-11-26 16:56:32 +00:00
Robert Osfield
091151e4ce Warning fix from Romano 2003-11-26 16:43:28 +00:00
Robert Osfield
a0375f58da Added a f after 2.0 definitions in atan2 to get round stupid MS errors. 2003-11-26 13:21:40 +00:00
Robert Osfield
f0e24bdd5a Removed DOFTransform. 2003-11-26 11:33:30 +00:00
Robert Osfield
148c24d69c Changed SG_EXPORT to OSGSIM_EXPORT. 2003-11-26 11:01:12 +00:00
Robert Osfield
83320374ab Added missing DOFTransform and MultiSwitch implementations 2003-11-26 08:37:03 +00:00
Robert Osfield
b4776cd947 Checked in support for osgTerrain in Make/makedirdefs 2003-11-25 19:43:19 +00:00
Robert Osfield
023d2254ab Early development work on osgTerrain. 2003-11-25 19:42:35 +00:00
Robert Osfield
a4b399c002 Disabled the build of osgTerrain, until its checked in. 2003-11-25 19:25:59 +00:00
Robert Osfield
7bebda5e4d Added OSGSIM_EXPORT to scalarbar::printer 2003-11-25 19:25:42 +00:00
Robert Osfield
fea4688589 Added missing DOFTransform.cpp 2003-11-25 19:06:31 +00:00
Robert Osfield
d20f93d78a Added suport for osgSim::MultiSwitch to .ive plugin 2003-11-25 16:28:32 +00:00
Robert Osfield
953bbd85e8 Tweaked MultiSwitch IO 2003-11-25 16:07:32 +00:00
Robert Osfield
72ba462251 Added osgSim::MultiSwitch and support for it in the OpenFlight and
.osg plugins
2003-11-25 15:58:57 +00:00
Robert Osfield
280eaf56fd Added support for TexMat to .ive plugin 2003-11-25 14:38:16 +00:00
Robert Osfield
31c5528ffb Moved osg::DOFTransform to osgSim::DOFTransform.
Fixed crash associated with .osg files which contain empty description fields.

From Sondra Inverson, added support to .ive plugin for osgSim::DOFTransform.
2003-11-25 14:11:05 +00:00
Robert Osfield
032909f8c7 Work in progress on osgdem example and osgTerrain::DataSet class 2003-11-25 11:40:10 +00:00
Robert Osfield
92fc29a22c Fixed type of unrecognized 2003-11-25 11:06:39 +00:00
Robert Osfield
871d9c9237 Moved the unrecognized options check to after loaded 2003-11-25 11:05:22 +00:00
Robert Osfield
91ccb013a4 Tweaks for debugging output 2003-11-25 10:57:50 +00:00
Robert Osfield
9c311b4077 Added intersect method. 2003-11-25 10:56:42 +00:00
Robert Osfield
d82b3d0105 Added read(string,float,float,float,float) method 2003-11-25 10:56:12 +00:00
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