5b978813c3Fixed clone(CopyOp&) and cloneType() methods which were out of sync with the new style clone operations.
Robert Osfield
2002-01-30 19:59:36 +00:00
08194e04d6Fixes for Windows build
Robert Osfield
2002-01-30 18:59:36 +00:00
1aaa46dbe7Fixes for Windows build.
Robert Osfield
2002-01-30 16:24:24 +00:00
4d43f83295Removed the M_PI defines from include/osg/Math and have use a const double osg::PI etc in its place.
Robert Osfield
2002-01-30 15:27:45 +00:00
9471714ba4Changes for Borland C++ compiler changes.
Robert Osfield
2002-01-30 15:02:56 +00:00
9489da427dAdded osgbillboard project files to the VisualStudio workspace.
Robert Osfield
2002-01-30 15:02:07 +00:00
2695342858Added osgbillboard demo. The code is main a copy of osgtexture right now, my plan to do change it to make it a better demo of the different types of billboard that one can do.
Robert Osfield
2002-01-30 15:01:02 +00:00
34b93a9f9dRemoved a Makedepend that didn't belong!
Robert Osfield
2002-01-30 14:37:47 +00:00
c2ac55a44bFixed the rotation direction of the POINT_ROT_* modes, this was broken by earlier fixes to the osg::Matrix.
Robert Osfield
2002-01-30 13:15:59 +00:00
7b370fcb57Made the LineSegment destructor protected to force users to create segments on the stack thus ensure that they arn't created locally and have their memory deleted incorrectly.
Robert Osfield
2002-01-30 12:09:18 +00:00
c72efc1059Fixes for windows build.
Robert Osfield
2002-01-29 20:25:45 +00:00
f061999b22Removed the now rendundent DeepCopy and ShallowCopy files.
Robert Osfield
2002-01-29 14:20:29 +00:00
02ef10fcfaMoved all references to osg::Cloner to osg::CopyOp.
Robert Osfield
2002-01-29 14:04:06 +00:00
9a6a96a7e7Fixed the header guard, which was using the name define as FileUtils. Problem spotted by Terry Welsh.
Robert Osfield
2002-01-29 12:55:23 +00:00
2487861fbcHave add new osg::CopyOp which replaces last nights osg::Cloner, the new class now combines Cloner and DeepCopy into one class. Cloner and DeepCopy will be removed in next commit.
Robert Osfield
2002-01-29 12:52:04 +00:00
f0174e34a3A couple of fixes to DeepCopy Cloner.
Robert Osfield
2002-01-28 21:49:31 +00:00
f612924a45Added support for shallow and deep copy of nodes, drawables and state, via a copy constructor which takes an optional Cloner object, and the old osg::Object::clone() has changed so that it now requires a Cloner as paramter. This is passed on to the copy constructor to help control the shallow vs deep copying. The old functionality of clone() which was clone of type has been renamed to cloneType().
Robert Osfield
2002-01-28 21:17:01 +00:00
7f65110322Added stateset->setMode(GL_LIGHTING,osg::StateAttribute::OVERRIDE_ON); to scribbed subgraph so that lighting is always on, this is needed since glMaterial is only active when lighting is enabled.
Robert Osfield
2002-01-27 20:28:43 +00:00
9f34ae338cAdded VisualStudio workspace files for new osgscribe demo.
Robert Osfield
2002-01-26 20:03:07 +00:00
f9f9c577a8Added new osgscribe demo which demostrates how to create a wireframe overlay of a model.
Robert Osfield
2002-01-26 19:48:37 +00:00
78fc28be7cFixed the LOD center and range code that so that the values are now multiple by the _unitScale to compenstate for different scales in the flt model. This _unitScale had already been applied to the geometry data.
Robert Osfield
2002-01-26 14:13:27 +00:00
06bd9fda5bHave made osg::Transform more extensible via additions of new getLocalToWorldMatrix() and getWorldToLocalMatrix(), computeLocalToWorld() and computeWorldToLocal() methods.
Robert Osfield
2002-01-23 22:15:39 +00:00
9c8c73c77fUpdates to osg::Transform to allow it subclassed more easily.
Robert Osfield
2002-01-23 15:42:36 +00:00
55e0a21dadFixed problem with Optimzer::removeRedundentNodesVisitor which was removing the correct redundent groups but for groups which had a single child it was was not using replaceChild to rettach the child to its parents. It was using parent->removeChild(group)...parent->addChild(child); which was allow the child to be attached in a different place than the original group, this broke LOD code. Have used removeChild instead which solves the LOD problem.
Robert Osfield
2002-01-23 15:28:31 +00:00
9a59cf0fe2Changed the ordering of applying OpenGL modes and attributes back to the original modes first then attributes since the it was cause a display bug on some datesets. It seems that the modes needs enabling before glMaterial's take affect, at least on the NVidia drivers under Windows and Linux. The OpenGL reference guide doesn't mention any dependancy so I'm not sure what the official line is. Some other OpenGl attribute and modes need to be applied in that order according to the blue book, however, drivers, at least the NVidia drivers seem require the opposite. This may raise the spectra of before and after mode applies, but this will require extra support in osg::State and osg::StateAttribute, and would have to be handled on a per attribute basis, and possibly different of each platform. Yuck.
Robert Osfield
2002-01-23 12:04:53 +00:00
f16776da22Fixed FlattenStaticTransformVisitor bug which related to incorrect handling of objects which were transformed by multiple matrices at one time - this cannot be handled in the flattening process (since we only have one piece of geometry to transform). This visitor now handles this case by disabling flattening of any objects and transforms associated in this way.
Robert Osfield
2002-01-22 19:30:51 +00:00
d115e143b5Temporily commented out the call to the FlatternStaticTransformVisitor to prevent a bug in handling instance nodes. Will be commented back in once the bug has been solved.
Robert Osfield
2002-01-22 12:03:47 +00:00
bebcba5151Updated AUTHORS file to reflect recent submission.
Robert Osfield
2002-01-22 11:03:46 +00:00
9d3a81b715Added support for node instances to Open Flight loader. Submitted by Yefei He.
Robert Osfield
2002-01-22 11:03:26 +00:00
38b7380294Fixes to Windows compile.
Robert Osfield
2002-01-20 19:30:16 +00:00
604110b245Updates to help compilation under gcc 3.03.
Robert Osfield
2002-01-20 16:24:54 +00:00
cf66502fe5Converted osgUtil::GUIEventAdapter::MouseButtonMask from LEFT_BUTTON etc to LEFT_MOUSE_BUTTON etc, to prevent classes with #define of LEFT_BUTTON.. when including certain MS Windows headers. Arhsh Snarfff..
Robert Osfield
2002-01-19 22:11:05 +00:00
974b099135Fixed the handling of non transparent billboards, since it was not taking into account any accumulated transforms inherited from above.
Robert Osfield
2002-01-19 20:34:07 +00:00
acf256c466UPdates to CullVisitor so that it keeps in sync with the new method paramter change in osg::Billboard.
Robert Osfield
2002-01-18 22:36:56 +00:00
58f72ee2d7Changes to fix compilation problems on the Sparc.
Robert Osfield
2002-01-18 22:34:07 +00:00
4fbf4db42eAdded support for multiple graphics contexts, submission from Max Rhiener.
Robert Osfield
2002-01-18 22:25:51 +00:00
58ead9aeadFirst steps to updating the calcTransform function in Billboard to fix z axis contraint on rotation axis.
Robert Osfield
2002-01-18 22:15:59 +00:00
baeb396adeFixed copy constructor which was copying a matrix to unitialized memory.
Robert Osfield
2002-01-18 19:00:55 +00:00
d20c2795d1Removed the global scope operators for the isnan(..) etc calls to fix compilation under some compiler combinations.
Robert Osfield
2002-01-18 14:12:36 +00:00
25bb70a86bMade the osg::Timer::tick() method a const method.
Robert Osfield
2002-01-18 14:11:46 +00:00
5cff1c7a6fFixed typo in comment, reference to BoundingSphere has been changed to BoundingBox. Typo spotted by Gial Paolo Lorenzetto.
Robert Osfield
2002-01-18 10:26:06 +00:00
d1b2fcd0dfFixed ENALBE_ALL_CULLING spelling mistake, have changed it to ENABLE_ALL_CULLING.
Robert Osfield
2002-01-17 22:41:34 +00:00
06e0310314Added support for glutSpecialFunc, glutSpaceballMotion, glutSpaceballRotate and glutSpaceballRotate into osgGLUT::Window base class.
Robert Osfield
2002-01-17 22:40:16 +00:00
13f06f4f93Reversed the ordering of setting of OpenGL modes and attributes, so that attributes are now set first, then modes. This is keep consistent with the setting of glColorMaterial and glEnable(GL_COLOR_MATERIAL) as specfied in OpenGL documentation.
Robert Osfield
2002-01-16 21:23:29 +00:00
7c29110e40Changed the enum Types { ... } so that in no longer explicitly sets the values, leaving C++ to ensire that values are unque and insequence.
Robert Osfield
2002-01-16 21:22:06 +00:00
1594b762b4Fixes to makefiles which have become a bit unhinged after MacOS X integration.
Robert Osfield
2002-01-16 21:20:22 +00:00
13ed25221aAdded support for billboard in OpenFlight loader. Submission from Nikolaus Hanekamp.
Robert Osfield
2002-01-16 21:12:02 +00:00
231b2de41eSubmission from Sean Spicer which adds Make/makedefs.irix.std.64 which compiles the OSG as 64bit. Small changes by Robert to accomodate recent MacOSX makefile changes.
Robert Osfield
2002-01-16 12:29:43 +00:00
76c4729328Changes to Make/makerules.* and Make/makedefs.* to accomodate MacOSX's need to treat plugins and shared libraries seperately.
Robert Osfield
2002-01-16 12:08:29 +00:00
92785c864eIntegrated the changes to osgPlugin/Makefile's for MacOSX port.
Robert Osfield
2002-01-16 12:05:22 +00:00
d69c38f0edChanged hardwired char[1024] arrays to char[FILEUTILS_MAX_PATH_LENGTH] and defined the value to be 2048, this should avoid problems with path lengths which have been overflowing the 1024 limit (Sasa report this bug). The real solution is to use std::string throught FileUtils, but this will have to wait for another day.
Robert Osfield
2002-01-16 12:03:29 +00:00
ad6a1665ccAdded quicktime plugin (for Mac's only), submitted by Phil Atkin.
Robert Osfield
2002-01-16 10:41:55 +00:00
1fb8f9cb86First batch of changes required for MacOS X build. Orignal submission from Phil Atkin, merged by Robert Osfield.
Robert Osfield
2002-01-16 10:36:20 +00:00
f7e944c47fChanged the use of std::vector<..>.begin() to &vector<..>.front() in code from passing the vector contents to the GeoSet::setPrimLengths(..) etc. methods. This has been done to fix the compile under the MS .NET compiler which has changed the definiation of the std::vector<..>::iterator to a class rather than a pointer.
Robert Osfield
2002-01-15 23:21:31 +00:00
5ed8d680c0Fix to osgDB::getStrippedName(..) so that handles the case of file without an extension.
Robert Osfield
2002-01-15 19:54:55 +00:00
ff61505789Added '# LIBS += -limage' and explanation in comments to pfb Makefile, submitted by Randall Hooper.
Robert Osfield
2002-01-15 15:49:02 +00:00
3671e77168Added the set of GL_TEXTURE_GEN_S and _T to code converting pfTexGen to osg::TexGen. This is try and fix a bug in handling tex gen datasets such as sj_texgen.pfb.
Robert Osfield
2002-01-15 12:13:29 +00:00
87763acc03New ajustAspectRatio (ADJUST_NODE) mode added to osg::Camera to fix issue with integration with vrjuggler, submitted by Allen Bierbaum.
Robert Osfield
2002-01-15 11:05:00 +00:00
686b1abc83Missing _attachedTransformMode in osg::Camera constructor, fix submitted by Ben Discoe.
Robert Osfield
2002-01-12 21:49:07 +00:00
9cfef010e0Change TOP to OSGHOME in makefiles.
Robert Osfield
2002-01-05 16:19:18 +00:00
6da953e31dMoved the setting of camera fusion distance mode into the handle method so that it is updated on everyframe to ensure that switching between Drive/Flight and Trackball happens seemlessly.
Robert Osfield
2002-01-05 16:18:46 +00:00
42fd25c613Renamed the TOP variable in the Makefiles to OSGHOME.
Robert Osfield
2002-01-04 20:44:41 +00:00
32c79ca554Added a guard to osg::LOD::evaluate so that it returns -1 if the range matched does not have a corresponding child to relate to. This can happen if a user creates more than n+1 ranges, where n is the number of LOD children.
Robert Osfield
2002-01-04 20:43:20 +00:00
4ea7de39c6Added osg::ShadeModel state attribute which encapsulates glShadeModel.
Robert Osfield
2002-01-04 17:35:54 +00:00
7a7322f7b0Fixed a bug in writing of line strips and line loops to the .osg file.
Robert Osfield
2002-01-04 17:34:01 +00:00
5be155cc4eFixed multiple deletion of shared indecies in GeoSet destructor.
Robert Osfield
2002-01-04 13:14:06 +00:00
9b4028e7ebFuther Makefile updates for Cygwin support - from Norman Vine.
Robert Osfield
2002-01-03 23:28:54 +00:00
75fe0a6a7fMakefile changes to support Cywin port - submission from Norman Vine, updates to fix case problems under unix by Robert.
Robert Osfield
2002-01-03 23:19:18 +00:00
e3ad8a87eeUpdates for Cygwin port, from Norman Vine.
Robert Osfield
2002-01-03 21:34:57 +00:00
ba8c009219Small source code changes for Cygwin port of OSG.
Robert Osfield
2002-01-03 19:28:13 +00:00
eb181ac84eUpdates in preperation for the third attempt at the 0.8.43 release.
Robert Osfield
2002-01-02 17:01:35 +00:00
19bf04c205Updates from Randall Hopper to fix build under IRIX.
Robert Osfield
2002-01-02 15:42:42 +00:00
f9ee0fe44aA small bug fix to the matrix dump function (it was primtiing out 5 columns instead of four).
Robert Osfield
2002-01-02 11:03:26 +00:00
0d4448787bCommented out the smoothing of FLAT_TRIANGLE_STRIP and FLAT_TRIANGLE_FAN since it was causes problems with any color list which were attached.
Robert Osfield
2002-01-02 10:59:59 +00:00
e767db9182Moved the glShadeModel(FLAT/SMOOTH) outside of the primtitive inner loop to reduce the amount state changes incurred when using FLAT_ primtives.
Robert Osfield
2002-01-02 10:53:20 +00:00
03b161942bFixed the orientation of for_each_triangle cases for QUAD and QUAD_STRIP.
Robert Osfield
2002-01-02 10:49:26 +00:00
c518d69013Removed the variables which were duplicated in osgGLUT::Viewer and osgGLUT::Window, standardising on the Window ones, and therefore removing an unitialized variable that had been introduced. This caused a crash under WindowsXP due to send invalid values to glutReshapeWindow.
Robert Osfield
2001-12-31 23:21:16 +00:00
bd0f334329Added a more detailed explanation of how LOD's work.
Robert Osfield
2001-12-31 23:16:20 +00:00
0d0405cc0bUpdates to NEWS for date of release, and added include/osg/DisplaySettings and include/osg/LineWidth to the src/osg/Makefile.
Robert Osfield
2001-12-31 00:04:38 +00:00
16ee9667bdFinal update of ChangeLog for the 0.8.43 release.
Robert Osfield
2001-12-30 20:48:05 +00:00
97e7f5b829Added osg::GeoSet::FLAT_TRIANGLE_FAN to the list if primitive handled by the for_each_triangle template function.
Robert Osfield
2001-12-30 20:03:42 +00:00
7b7319f998Added /usr/local/lib to the s_default_dso_path search path for plugins.
Robert Osfield
2001-12-30 19:04:46 +00:00
e65e389989Made the output message related to not registering a camera manipulator with the GLUT Viewer output as INFO rather than as a NOTICE. This suppress this message which was appearing on some of the demos all the time, even though are quite reasonable default behaviour is used.
Robert Osfield
2001-12-30 17:13:40 +00:00
5293f8caf8Added references to sgv -stereo and sgv -stencil to the notes of running the demos.
Robert Osfield
2001-12-30 16:59:22 +00:00
c426c4fda9Updated the default home position of so that a better view of the scene is seen.
Robert Osfield
2001-12-30 16:58:33 +00:00
d4fa8bc5e6Moved the old by hand ChangeLog to ChangeLog.preCVS and then ran cvs2cl.pl to automatically generate the new ChangeLog.
Robert Osfield
2001-12-30 15:24:10 +00:00
bcc0c8a639Did a make docs, in preperation for 0.8.43 release.
Robert Osfield
2001-12-30 15:12:29 +00:00
930db1112bCompilation fix to pfb plugin, sent in by Ulrich Hertlein.
Robert Osfield
2001-12-30 15:01:30 +00:00
0d2599b402Added a comment in Windows section on INSTALL notes such that it now recommends that you build all the libs.
Robert Osfield
2001-12-30 15:00:26 +00:00
2bba403dc1Added .README to prevent CVS from deleting the empty bin directory when checking out copies. This was a problem with the nightly tarballs.
Robert Osfield
2001-12-29 20:53:08 +00:00
625e8e730aAdded comment to osg::Transform w.r.t use of GL_NORMALIZE when using scaling Transforms.
Robert Osfield
2001-12-29 14:27:46 +00:00
460a78b454Updates form Randall Hopper for the FreeBSD build
Robert Osfield
2001-12-29 12:28:24 +00:00
c236e38b90Made inline documentation on the Values enum clearer w.r.t the function of OVERRIDE_ON and OVERRIDE_OFF.
Robert Osfield
2001-12-27 20:06:07 +00:00
0d7f928823Added more details about using stereo with the OSG, in particular the role of the camera manipulators and the fusion distance.
Robert Osfield
2001-12-26 20:55:15 +00:00
73e7408bc2Updated doc++ references so that CVS knows about all the newly generated files.
Robert Osfield
2001-12-24 23:34:25 +00:00
da18020e79Updated the index.html to include references to the new osgText library and demo app.
Robert Osfield
2001-12-24 23:28:15 +00:00
5d5e4971e0Removed references to redundent environmental variables.
Robert Osfield
2001-12-24 23:14:53 +00:00
217621401eDid a make docs.
Robert Osfield
2001-12-24 21:56:22 +00:00
98c8447ae9Fixed the osg::Light so that it requires the user to explicitly define which OpenGL light is being operated on, and also now relies upong the standard osg::State handling of OpenGL modes to switch on the appropriate lights.
Robert Osfield
2001-12-24 21:34:40 +00:00
a6d329b812Updated the osgGLUT::Viewer to subclass from osgGLUT::Window as has been intended since the development of osgGLUT::Window.
Robert Osfield
2001-12-24 19:06:49 +00:00