4221132626updates for windows build
Robert Osfield
2001-12-24 15:12:59 +00:00
3652bd9015Various clean ups for the release.
Robert Osfield
2001-12-24 14:12:38 +00:00
fb5fee6c5eUpdates to keep things compiling under Windows. Also cleaned up the new stereo.html docs.
Robert Osfield
2001-12-22 22:30:57 +00:00
ead9753501Added beginnings on documentation for stereo support, the stereo.html needs to be re-edited in a html editor before it becomes readable though..
Robert Osfield
2001-12-22 21:35:28 +00:00
a370545c79Updated usage messages to include new stereo and stencil commandline options.
Robert Osfield
2001-12-22 14:55:22 +00:00
19c99dc94cFurther work on improving stereo support in the OSG.
Robert Osfield
2001-12-21 22:48:19 +00:00
734be18471Updates to the support for stereo in osg::Camera, osgUtil::SceneView and the CameraManipulators.
Robert Osfield
2001-12-21 13:07:35 +00:00
9365f0e3b1Added support for glLineWidth via an osg::LineWidth StateAttribute.
Robert Osfield
2001-12-20 20:48:46 +00:00
8aa72d85cfUpdates to the camera code related to stereo, adding fusion distance.
Robert Osfield
2001-12-20 16:35:38 +00:00
1326f4616dAdded check for null models be returned form osgDB::readNodeFiles(..) to prevent execution when no models have been loaded.
Robert Osfield
2001-12-20 16:34:54 +00:00
52cf47bf2eUpdates to flt loading of light points, from Brede Johansen.
Robert Osfield
2001-12-20 12:12:30 +00:00
73e598f3ffUpdates to Stereo code.
Robert Osfield
2001-12-19 15:20:29 +00:00
0721f0a818Updated the demos to support the new commandline handling of stereo and convinience functios for loading libs and files.
Robert Osfield
2001-12-19 10:29:18 +00:00
3c1c0f015eAdded check for GL_ARB_imaging extension to osg;:ColorMatrix
Robert Osfield
2001-12-19 08:49:10 +00:00
261ab77373Compilation fixes under for Windows
Robert Osfield
2001-12-19 01:10:04 +00:00
296865e250Adding support for controlling visual settings via environmental variables and command line paramters. Including support for stereo and stencil buffer.
Robert Osfield
2001-12-19 00:38:23 +00:00
a3fe8ebb18Added range checking to osg::Camera::adjustAspectRatio to catch invalid values being passed to Camera. Invalid values were occuring when iconising the Windows GLUT based OSG demos.
Robert Osfield
2001-12-18 11:28:44 +00:00
13641f1d6cFixed compilation problems in flt plugin under Windows, and removed usage of the default GeoSet::AtttributeDeleteFunctor from the DynGeoSet since it handled the memory deletion iteself via STL containers.
Robert Osfield
2001-12-18 10:46:15 +00:00
a2cf39fd74Changed the default field of Y to 45 degrees, as this is probably a better default than 30 degrees (what it was temproarily) or the 90 degrees that it was originally.
Robert Osfield
2001-12-17 21:13:17 +00:00
0509495340Fixed IRIX compile issues with the flt loader.
Don BURNS
2001-12-17 17:34:17 +00:00
b35b5f3c3cFixed IRIX build. Required some namespace fixes and include and link directives in the Makefiles
Don BURNS
2001-12-17 16:21:33 +00:00
bc49a83c51Updated the Optimzer::FatternStaticTransform visit so by default it ignores all dynamic transforms, previously it flattened dynamic transforms as well.
Robert Osfield
2001-12-17 15:05:06 +00:00
61643f2ae9Added std:: infront of endl to ensure compilation under Windows.
Robert Osfield
2001-12-17 09:29:56 +00:00
f5873a82c5Integrated detailed near clipping plane calculation into osgUtil::CullVisitor, submitted by Sasa Bistroviae.
Robert Osfield
2001-12-16 22:20:26 +00:00
786dfea3c8From John Davis, a little addition to the Windows version of the osg::Timer constructor such that a static variable is used to force the constructor to check the number of clock cycles per second once, this means that multiple timers can now be created with incurring a the 1 second delay used for timming the clock speed every time the constructor is called.
Robert Osfield
2001-12-16 16:30:34 +00:00
3952a3484bUpdated version numbers to 0.8.43 in prep for the impending release.
Robert Osfield
2001-12-15 22:44:32 +00:00
03f2d81f5fAdded comments on how to set up STLport under Windows and IRIX.
Robert Osfield
2001-12-15 22:41:28 +00:00
cb8025d913Renamed osg::Matric::makeIdent() to osg::Matrix::makeIdentity() to make it consistent with the rest of the osg::Matrix naming. Updated OSG distribution to account for new name.
Robert Osfield
2001-12-15 16:56:39 +00:00
def6234d8cupdates for windows build.
Robert Osfield
2001-12-15 10:00:43 +00:00
478274ae7dFixes to Windows build in liu of the move to using just std::streams.
Robert Osfield
2001-12-14 23:18:28 +00:00
b1f478e5d2Updated OSG so that the old OSG_USE_IO_DOT_H has be removed from all headers that used it, all references to the Standard C++ stream classes use the std::ostream etc convention, all references to "using namespace std" and "using namespace std::ostream etc" have been removed.
Robert Osfield
2001-12-14 21:49:04 +00:00
6070a9e1b1Updatedwidley used includes to remove most of the float/double warnings generated when compiling under Windows with STLport.
Robert Osfield
2001-12-14 18:06:34 +00:00
c6ee3ff041Don haved accidentally removed the reference to osg.dsp from the .dsw file, breakin the Windows build.
Robert Osfield
2001-12-14 16:15:44 +00:00
986638b8f4Removed ^M from Makefile
Don BURNS
2001-12-14 15:37:09 +00:00
a42994f876Appeased poor MS VisualStudio by adding the ^M's to all .dsw and .dsp files.
Don BURNS
2001-12-14 15:16:30 +00:00
672d4a0a6bFixed newline/cr problem
Don BURNS
2001-12-14 15:10:42 +00:00
8c3a9c6f65Fixed problem with incorrect combining of some LOD's derived from flt databases. Problem related to the order of the removal of redudent groups and LOD combining, the LOD combining only working properly if done first.
Robert Osfield
2001-12-14 14:25:38 +00:00
84605a5f4eFixes for Win32 build related to changes in using namespace std.
Robert Osfield
2001-12-14 10:47:20 +00:00
a4e4d4fa7cRemoved all references to using namespace std to help solve compilation problems under Windows and IRIX.
Robert Osfield
2001-12-14 10:02:27 +00:00
f848c54ba3Made the following name changes to Matrix and Quat to clean them up and make the functionality clear given the name. This will break user code unfortunately so please be away of the following mapping.
Robert Osfield
2001-12-12 20:29:10 +00:00
79c1fb531dFixed problems with osg::Matrix::makeRot(from,to) and osg::Quat::makeRot(from,to) so that they both use the same implementation (the Quat code now) and the code has been corrected to work from and to vectors which directly opposite to one another.
Robert Osfield
2001-12-12 15:09:11 +00:00
05e4a0b4ceFixed problem with loading interleaved arrays in the .osg loader, and corrected a spelling mistake in osg::GeoSet.
Robert Osfield
2001-12-12 12:55:01 +00:00
363d1d9d70Added translation and scaling to osgconv
Don BURNS
2001-12-12 05:09:33 +00:00
b9f1b7aa6fFixed Matrix::rotate( Vec3 from, Vec3 to); was using to X from to derive axis, which causes a left-handed rotation. Fixed to from X to.
Don BURNS
2001-12-11 17:00:29 +00:00
b3cfed2cb2Fixed compilation problems under Windows due to changes in using std::ostream etc.
Robert Osfield
2001-12-11 16:00:32 +00:00
6c38b61185Removed the 'using namespace std' and replaced with more specific 'using std::ostream' this should help prevent polution of the global namespace with std when including these osg include files.
Robert Osfield
2001-12-11 11:22:44 +00:00
be2beec11dAdded :Referenced() to the osg::Camera(..) copy constructor to prevent a warning under Linux.
Robert Osfield
2001-12-11 11:21:30 +00:00
eabb4d6918*** empty log message ***
Don BURNS
2001-12-09 03:46:50 +00:00
a23627467bAdded support for automatic deletion of osg::GeoSet's attributes, via a default AttributeDeleteFunctor which uses delete []. Users can create their own handlers for the attribute memory to override this default behavior.
Robert Osfield
2001-12-04 22:57:40 +00:00
20e3785bf8Various files which should have been checked in earlier but were missed... VisualStudio files for flt loader, and header files or Image and Texture for new osg::Texture::CLAMP_TO_EDGE and osg::Image::dirty.
Robert Osfield
2001-12-04 20:38:27 +00:00
396b2668c8Updates to the flt loader, from Brede Johansen.
Robert Osfield
2001-12-04 19:41:08 +00:00
d7ded2d90fIntegrated Brede Johansen's updates to flt loader.
Robert Osfield
2001-12-04 16:03:10 +00:00
3e940e0b33Made a output message output as osg::DEBUG only.
Robert Osfield
2001-12-04 15:56:08 +00:00
03589f190fCommented out the code to force sgv to use ANAGLYPHIC_STEREO as this should not be the default, will add options to do this later.
Robert Osfield
2001-12-04 12:34:45 +00:00
c92b730817Improved support for anaglyphic stereo.
Robert Osfield
2001-12-04 12:31:10 +00:00
34a4c18a26Beginings of support for quad bufferd, red/green, and slit screen stereo.
Robert Osfield
2001-12-02 22:20:46 +00:00
bca8b68a18Corrected a small booboo in preprocessor guard for header file in GLU and added Matrix::identity() to Matrix
Don BURNS
2001-12-02 08:59:39 +00:00
30db615333Fixed bug in osg::StateSet::merge(..) where the containers were being iterated from begin() to begin() rather than begin() to end().
Robert Osfield
2001-11-30 20:53:50 +00:00
4ef08067b7Small fix for preprocessor _MP symbol clash with MFC.
Don BURNS
2001-11-21 15:53:29 +00:00
c9535c68b4Made the Warning font file not found message consistent with other file not found messages.
Robert Osfield
2001-11-19 13:14:38 +00:00
bc44b9342bAdded DLL export to the internal classes in osgUtil::Optimize so that the internal classes can be used directly by client applications.
Robert Osfield
2001-11-19 11:52:58 +00:00
82c315daddAdded warning report for when a font file cannot be found.
Robert Osfield
2001-11-19 10:40:42 +00:00
969f757679Added osg::Image::dirtyImage() and setModifiedTag() to allow external updating of the image modified flag to be used in conjunction with texture subloading.
Robert Osfield
2001-11-18 21:31:16 +00:00
3ff4fb6b50Move the call to the manipulators before the scene app traversal to that any changes to the scene graph, such as adding an app callback can be seen by during the same frame.
Robert Osfield
2001-11-15 11:59:52 +00:00
4b3c45acc7Fixes for windows compilation
Robert Osfield
2001-11-14 15:53:36 +00:00
9bd7098969Fixed compilation problem under Wndows
Robert Osfield
2001-11-14 15:52:27 +00:00
2c3b927d6cFixed compilation problem under Wndows
Robert Osfield
2001-11-14 15:32:15 +00:00
6cf543cf8cAdded osgUtil::TransformCallback to help with rigid body animation.
Robert Osfield
2001-11-14 14:10:12 +00:00
a434abafd7Fixes for IRIX build.
Robert Osfield
2001-11-14 14:09:07 +00:00
34555f61d6Added new files to cvs.
Robert Osfield
2001-11-12 10:04:57 +00:00
8f6b7d04a4Added src/osg/NodeCallback.cpp.
Robert Osfield
2001-11-12 10:00:08 +00:00
5ceefdcc12Fixed compilation error in src/osgDB/FileUtils.cpp.
Robert Osfield
2001-11-11 22:32:59 +00:00
879a753ee2Fixed osgUtil::Optimizer::FlatternStaticTransformsVisitor so that the apply(osg::LOD) scaled the ranges in addition to transform the center point and children.
Robert Osfield
2001-11-10 15:46:05 +00:00
d4926589dcFixed bug related to osgUtil::Optimizer::FlatternStaticTransform::Visitor's apply(Billboard& ) method which was apply the accumulated transform to the billbaord geometry when it should have been applying the matrix without the transform component.
Robert Osfield
2001-11-10 13:36:05 +00:00
7290f793f1Added osgText::Paragraph which is a subclass from Geode which composes a list of text drawables as a paragraph block, handles breaking of text into individual lines automatically.
Robert Osfield
2001-11-09 15:06:01 +00:00
e35f5ec286Fixed the findFileFile routine which had been broken by a fix of a dlopen problem - './' was added to all files which which directly found without requiring a search path rather than just locally found files, this broke file loads which had wern't local but had a valid path. I have moved the './' work around to inside fileDSO and made it only apply to Linux as I presume this is all it was needed for. Don?
Robert Osfield
2001-11-09 15:01:42 +00:00
52bc6c2f13Fixed the IntersectVisitor which was broken by a recent patch to catch parallel line and traingle combinations.
Robert Osfield
2001-11-08 13:50:32 +00:00
e725547a8aAdded a dirtyBound() to osgUtil::Optimizer. Corrected mispelling of alignment is osg::Text and the osgtext demo. Added guards for divide bu zero's to osg::IntersectVisitor.
Robert Osfield
2001-11-07 12:42:08 +00:00
b3160c882eFixed inlcude/BoundingBox to compile under Windows.
Robert Osfield
2001-11-06 11:36:11 +00:00
138a5300b0Fixed inlcude/Math to compile under Windows.
Robert Osfield
2001-11-06 11:07:43 +00:00
5e6153b428Added methods to support isNaN,isInfinte and valid to osg::Vec* and osg::Math, and added a guard to IntersectVisitor which uses these new methods to prevent invalid segments being added.
Robert Osfield
2001-11-06 10:34:51 +00:00
b45aa55555Integrated updates to stats sent in my Geoff Michel.
Robert Osfield
2001-11-04 19:29:20 +00:00
c10d22d729Fixed findFileInPath to prepend ./ if file is in local directory. This was needed by dlopen() for dso's in the current directory
Don BURNS
2001-11-02 21:20:32 +00:00
06abf2266bUpdates to Makefiles to include osgText. Also a couple of undefined methods in osgText::Text have been added.
Robert Osfield
2001-11-02 20:11:37 +00:00
42faf78b47Updated index.html with dependacy info about the new osgText library. Modified osg/Drawable::draw(..) so that it uses display list COMPILE rather than COMPILE_AND_EXECUTE to solve performance problems under NVidia drivers. The old behavior is still available by comments out a #define. Fixed the default compilation list src/osgPlugins/Makefile so that it compiles by defalt png and gif.
Robert Osfield
2001-11-02 12:26:33 +00:00
aa725e899aUpdates to the flt loader from Brede Johansen.
Robert Osfield
2001-11-01 16:35:26 +00:00
f7a2567bcaUpdates to osgText to fix a crash on ikart.tff font available under Linux, the bug was related to texel padding of the height not be accounted for in texture size calculation, but was used during populating the image data causing a mismatch.
Robert Osfield
2001-11-01 15:13:31 +00:00
b462845857Added missing config.h file to src/osgPlugins/lib3ds.
Robert Osfield
2001-10-31 22:35:44 +00:00
4d4ff39ff9Added a bool paramter to osg::StateSet::compare(const StateSet& rhs,bool compareAttributeContents=false) const; to allow it to use different comparison schemes, now it can use checking for pointer equality (the default) or attribute contexts. This has been added to assist optimization of databases within the flt loader, but also could be useful for other operations too.
Robert Osfield
2001-10-31 20:04:32 +00:00
78372a5a62Updated the lib3ds plugin with the new 1.1 version of lib3ds.
Robert Osfield
2001-10-31 18:33:27 +00:00
94ce36f9a3Update to osgText to get things compiling under Windows.
Robert Osfield
2001-10-31 12:27:48 +00:00
c45cdd14f9Update osgText.dsp to define FTGL_STATICLIBRARY to prevent it compiling the as a seperate library and producing linkage warnings.
Robert Osfield
2001-10-31 11:41:22 +00:00
254268030dUpdated the FTGL implemention in osgText to FTFL1.1.
Robert Osfield
2001-10-31 10:20:50 +00:00
8f4e62ced0Further updates to the ReaderWriter support in osgDB, and a fix to a small warning in Matrix.cpp.
Robert Osfield
2001-10-30 19:23:24 +00:00
f0372817b5Added support for ReadResult and WriteResult to the osgDB::ReaderWriter to allo plugins to pass back more information about the success or failure of a file load. All plugins have been updated to the new convention.
Robert Osfield
2001-10-30 14:20:37 +00:00
97e4488d80Changed a #define ... (GLenum) 0x84fe to 0x84FE to fix problems under MacOS9 build.
Robert Osfield
2001-10-29 19:29:49 +00:00
7ae83e9168Ran to_unix over src/Demos/osgtext/main.cpp to try and fix some return type problems reported under Windows.
Robert Osfield
2001-10-29 12:22:22 +00:00
915aad95a0Added missing src/osgText/Version.cpp file.
Robert Osfield
2001-10-29 12:19:14 +00:00
51f1c904d5Imposter.cpp added to the project
Bryan THRALL
2001-10-25 01:11:52 +00:00
b0e1b21f5bChanged the int to a GLint because of the differences within mac/win32/linux versions of gl.h.
Bryan THRALL
2001-10-25 00:49:28 +00:00