Commit Graph

15785 Commits

Author SHA1 Message Date
Robert Osfield
8b1e9345df Updates to osg::Drawable::AppCallback and osgprerender demo. 2002-07-10 20:30:57 +00:00
Robert Osfield
27338f57b1 Added app callback to Drawable. 2002-07-10 15:35:47 +00:00
Robert Osfield
b3ac26f3dc Updates to osgprerender to support use of rendering to an image, rather then
just a texture.
2002-07-10 13:33:25 +00:00
Robert Osfield
7f56ceaea1 Rejigged the line endings. 2002-07-10 11:26:48 +00:00
Robert Osfield
c1fc3dcdb9 Ported all the demos and loaders across to use the new multitexturing API. 2002-07-10 11:22:24 +00:00
Robert Osfield
46af97727a Added Yefei He's RoadRecords to the flt loader, these records will be
ignored by the loader, but will allow the loader to skip over them and
continue reading the rest of the file correctly.
2002-07-10 09:32:44 +00:00
Robert Osfield
44d0bb05e7 Updates from Macro to support the new multitexture API, and improve
bounding box computation.
2002-07-10 09:14:46 +00:00
Robert Osfield
f4a167c64c Added setCurrentRenderBin() method. 2002-07-10 09:04:28 +00:00
Robert Osfield
842eb59e1f Implemented more code for the new osgprerender demo. 2002-07-09 19:23:53 +00:00
Robert Osfield
68540f5fb1 Updates to the osgprerender code. Still doesn't do anything interesting yet.. 2002-07-09 13:31:50 +00:00
Robert Osfield
3ab727713d Added new demo osgprerender to demonstrate how to prerender a scene and use
the result in the main rendering for special effects.
2002-07-09 13:17:42 +00:00
Robert Osfield
b3904ef729 Warnings fixes for IRIX - there was a missing "const" in the sameKindAs(.) method. 2002-07-09 10:33:15 +00:00
Robert Osfield
aca7f7b216 Fixes for IRIX build. 2002-07-09 10:23:48 +00:00
Robert Osfield
0c943945f7 Implemented most of the changes required for supporting multitexturing in
the osg::State/osg::StateSet/osg::StateAttribute and related classes.
2002-07-09 09:35:42 +00:00
Robert Osfield
419e1360d5 Added Mike Connell to authors list. 2002-07-08 09:42:51 +00:00
Robert Osfield
211a823642 Added comment to reflect Clay Fowlers findings on getting VS to compile
without the Vector wrapper classes.
2002-07-07 22:12:51 +00:00
Robert Osfield
2baeea6cae Added winsock32 libs to osgcluster demo. 2002-07-07 22:08:27 +00:00
Robert Osfield
eb361bc047 Rehashed the osgcluster project file to see if it solves the failure under
windows.
2002-07-07 20:16:30 +00:00
Robert Osfield
8f4a77ce4c Fixes for Windows build. 2002-07-07 17:42:34 +00:00
Robert Osfield
e23b40e316 Added include<unistd.h> to __DARWIN_OSX__ build. 2002-07-07 17:40:34 +00:00
Robert Osfield
4696d319e5 Did a to_dos on osgcluster.dsp since it was original saved with unix file endings. 2002-07-07 17:30:48 +00:00
Robert Osfield
0801b363f5 Work on supporting multitexturing in State/StateSet/StateAttribute/Geoemtry. 2002-07-07 14:40:41 +00:00
Robert Osfield
9787641512 Added VisualStudio files for Win32 port of osgcluster demo. 2002-07-04 18:47:33 +00:00
Robert Osfield
0dcd5cb017 Added support for Win32 broadcast and recience over lan. Changes sent in
by Michael Gronager.
2002-07-04 18:41:13 +00:00
Robert Osfield
5014a4f809 Used typedef's for std::vector<>'s used inside DrawElements implementations.
Added deperecated comment to osg::GeoSet header.
2002-07-04 14:49:37 +00:00
Robert Osfield
f80a7e05b1 Added osgGA to the MIGNW makedefs. 2002-07-04 14:23:58 +00:00
Robert Osfield
5957c21082 Fixed the TriangleFunctor QUAD_STRIP code so that it produces consistent
results.
2002-07-04 09:49:12 +00:00
Robert Osfield
04a841bf93 Spotted by Neil Salter - missing transform. in the Transform copy operator. 2002-07-03 20:33:21 +00:00
Robert Osfield
fa8fbc225d Added osgUtil dependency to the flt project. 2002-07-03 11:16:43 +00:00
Robert Osfield
3700e7e2cd Reimplemted the osgUtil::SceneView::setCalcNearFar() functionality to bring
it inline with the CullStack/CullVisitor implementation.  Also added the
setSmallFeatureCullingPixelSize() method and wired them up inside
SceneView.cpp so they set the corresponding CullVisitor paramters.

Intergrated pfImage copying change in the Performer plugin, submission sent in by Ulrich Hertlein
2002-07-02 19:53:18 +00:00
Don BURNS
88a62173d2 -n32 and -64 entries were reversed in makedefs 2002-07-02 15:01:46 +00:00
Don BURNS
304e56db51 osgcallback required fixes for new osg::Drawable::CullCallback 2002-07-02 06:28:41 +00:00
Don BURNS
d2aa4270ce Added support for CullVisitor to contain a osg::State. This used when
cull Callbacks require the contextID for  doing operations on texture
objects, for example.  Modified CullVisitor SceneView and Drawable
2002-07-02 06:22:28 +00:00
Don BURNS
0443d4cffa More 64 bit build specifics in IRIX makedefs file 2002-07-01 14:40:09 +00:00
Don BURNS
edb702b8df Removed -ldl from makedefs for IRIX 2002-07-01 14:20:37 +00:00
Robert Osfield
48e7679e78 Rewrote the osgUtil::Tesselator so that it is easier to use, and can also
easily retesselate osg::Primitive::POLYGONS found in Geometry objects.
Added calls to the tesselate to the lwo and flt loaders.
2002-06-28 22:42:02 +00:00
Robert Osfield
4e81711ef7 A couple fixes to remove Performer runtime warnings. 2002-06-28 20:54:09 +00:00
Robert Osfield
ebbd72556e Fixes from Ulrich Hertlein to build of pfb plugin. Small mods to these
by Robert.
2002-06-28 16:25:46 +00:00
Robert Osfield
ee6444c643 Added to the osggeometry demo. 2002-06-28 14:42:34 +00:00
Robert Osfield
f809ef8a7b Rewriting the osggeomtry demo to illustrate more primitive types. 2002-06-28 11:11:20 +00:00
Robert Osfield
975e2fe709 Removed commas from the end of enum lists. 2002-06-28 08:47:23 +00:00
Robert Osfield
26497c7581 Change =0 to osg::Vec2Array::iterator() in .obj loader to get round warnings
under gcc3.0.x
2002-06-28 08:36:02 +00:00
Robert Osfield
01992a7790 Ported the flt plugin across to use osg::Geometry, it still uses a GeoSet
internally, and I will remove this after some futher work.
2002-06-27 20:29:32 +00:00
Robert Osfield
7eaba69bb6 Added SG_EXPORT which was missing. 2002-06-27 15:18:10 +00:00
Robert Osfield
fb3e705709 Converted the template DrawElements primitive class into three seperate
non templated classes - UByteDrawElements, UShortDrawElements, UIntDrawElements.
2002-06-27 13:15:34 +00:00
Robert Osfield
532a32416f Moved the AttributeArray and Primitive classes into their own header and
source files.
2002-06-27 10:50:19 +00:00
Robert Osfield
726d680184 Removed the test aginst a iterator as a bool. 2002-06-27 09:56:30 +00:00
Robert Osfield
90f4aa0515 Added comment to explain #ifdefs for member templates. 2002-06-26 21:11:59 +00:00
Robert Osfield
7bc2a513e7 Added #idef to Export to add check for support for member templates. 2002-06-26 21:10:45 +00:00
Robert Osfield
7c95922300 Ported LWO loader across to use osg::Geometry. Work not quite complete,
as we need to retesselate any concave polygons that can exists in these
datasets.
2002-06-26 21:08:17 +00:00