Commit Graph

135 Commits

Author SHA1 Message Date
Robert Osfield
e26ef983c4 Fixed warnings. 2003-07-24 06:13:24 +00:00
Robert Osfield
3ad92eec04 Fixed warning. 2003-07-24 06:09:28 +00:00
Robert Osfield
c55d8c7a5a From Gideon, update to the PolygonOffset for the background quad. 2003-07-23 21:03:35 +00:00
Robert Osfield
46680be5eb Added control of auto option into slideshow3D 2003-07-23 15:12:52 +00:00
Robert Osfield
b925dcabaa Fixed typo's slideshow3D 2003-07-23 15:00:07 +00:00
Robert Osfield
871da625ba Made the keyboard mouse callback a ref_ptr<> managed object to fix ref count problem. 2003-07-23 08:48:23 +00:00
Robert Osfield
00e7e10a26 Updates to the slideshow3D app. 2003-07-22 15:35:51 +00:00
Robert Osfield
f7ad937020 Added XML support and slideshow constructor to slideshow3D example, now
renamed from the previous osgslideshow.
2003-07-22 12:39:40 +00:00
Robert Osfield
eed6ab7d85 Added Images/ infront of lz.rgb path. 2003-07-22 08:42:14 +00:00
Robert Osfield
a4b29996fd Added osg::Matrix::getOtho,getFrustum and getLookAt() methods.
Added test for new matrix methods into unit tests example, but these really
should go in their own lib...
2003-07-16 20:14:48 +00:00
Robert Osfield
77c0366cb2 From Mike Weiblen's osgGL2 node kit which support the latest OpenGL 2.0 extensions. 2003-07-15 10:45:46 +00:00
Robert Osfield
fc4b990a7a Compile fixes. 2003-07-15 07:53:25 +00:00
Robert Osfield
ae2712c84b Attempt to fix compile error caused by recent change in osg::Texture. 2003-07-14 19:12:22 +00:00
Robert Osfield
1b9d7d458a Added support for texture object manager, which provides an automatic mechansim
for reusing deleted textures.
2003-07-14 14:42:10 +00:00
Robert Osfield
7432eee381 Fix to accomodate function name change in osgDB::Registry. 2003-07-10 13:48:56 +00:00
Robert Osfield
c2eabe1d4b Added osg::PagedLOD and osgProducer::DatabasePager class, and linked up osgProducer::Viewer
to manage the pager.
2003-07-08 14:44:00 +00:00
Robert Osfield
5bf9be4473 Addition of text to default presentation. 2003-06-25 22:11:12 +00:00
Robert Osfield
d70ab592ed Additions since the CVS back up was made. 2003-06-24 21:57:13 +00:00
Don BURNS
15f88f35b2 *** empty log message *** 2003-06-24 15:40:09 +00:00
Don BURNS
5a939f5420 Updating 5/27/03 backup with 6/20/03 tarball 2003-06-24 15:39:59 +00:00
Robert Osfield
5bfaf54292 Added missing std:: 2003-05-24 14:26:20 +00:00
Robert Osfield
5408077c3b Added ive reader/writer - from Rune Schmidt Jensen/Michael Gronager 2003-05-23 19:51:12 +00:00
Robert Osfield
23569ac5db Removed occurances of SG_EXPORT. 2003-05-22 14:02:10 +00:00
Robert Osfield
80baa19ff3 Added GeoSet to osgconv. 2003-05-21 14:34:12 +00:00
Robert Osfield
4a6bdad3e1 Removed osg::GeoSet for core osg lib and osgPlugin.
Commented out OpenDX plugin as its still based on GeoSet.

Added support for loading and converting GeoSet into the osgconv example.
2003-05-21 12:15:45 +00:00
Robert Osfield
709dafe15b Added osgtexturerectangle example from Ulrich Hertlein. 2003-05-20 14:05:19 +00:00
Robert Osfield
601c8d72f2 Removed redundent write_usage function. 2003-05-20 08:57:02 +00:00
Robert Osfield
d156e259ef Fixed manipulator. 2003-05-20 08:43:09 +00:00
Robert Osfield
940ce67133 Removed remaining dependancies on osg::Camera. 2003-05-19 15:15:17 +00:00
Robert Osfield
57af40ee95 Updates to the handling of vertex attributes. 2003-05-09 13:07:06 +00:00
Robert Osfield
aa0d5fc52e Changed the CullVisitor::popProjection() so that it doesn't adjust orthorgraphic
projection matrices.
2003-05-07 09:35:43 +00:00
Robert Osfield
fa0333b6fe Aded extra constructors to BlendFunc and Depth to help set them up convieniently.
Added a background quad to osghud.
2003-05-06 18:04:27 +00:00
Robert Osfield
06054d9520 Added support for multibuffering of tex coordinates. 2003-05-06 13:13:31 +00:00
Robert Osfield
895a722842 Addd support for maximum screen text size into osgText when auto scale to
screen is active.

Added osgautotransform demo.
2003-05-01 21:06:18 +00:00
Robert Osfield
d29c57a2ba Reverted the test of setAutoScaleToScreen. 2003-04-30 11:41:24 +00:00
Robert Osfield
0ab467483f Added support for automatic scaling of text to screen coords. Optimized
the text implementation to provide better speed, especially by using the
alignement to screen option.

Deprecated the Text::setFontSize(,) method, which is now being replaced
by setFontResolution(,)

Fixed typos in Texture*.cpp.

Removed old deprecated methods from osg headers.
2003-04-30 11:40:17 +00:00
Robert Osfield
490647f5f4 Updates to the introduction.html.
Added support for new alignment modes in osgtext.
2003-04-28 11:37:53 +00:00
Robert Osfield
89b1365b2b Added support for gather information on which vertices have been intersected with. 2003-04-25 13:47:33 +00:00
Robert Osfield
4f92ba3245 Updated NEWS for the release date.
Tweaked the text sizes in osglogo.
2003-04-19 09:09:46 +00:00
Robert Osfield
b6ee5445b7 Changed the ordering of the picking intersections. 2003-04-18 21:44:48 +00:00
Robert Osfield
bc8bd29646 Updated NEWS for the release.
Fixed warnings.
2003-04-18 15:59:34 +00:00
Robert Osfield
dac86dabb5 Added a realize callback for setting up the pbuffer so that it definately
has a valid graphics context.
2003-04-18 08:17:18 +00:00
Robert Osfield
ba575396a4 Added setting of the RenderSurface name to the application name. 2003-04-17 15:57:05 +00:00
Robert Osfield
fd262554ac Moved the managing of frame stamp from osgProducer::Viewer into
osgProducer::OsgCamaraGroup.

Added setting of trackball in osgcameragroup so its starts in the
correct place for different models.
2003-04-17 11:14:25 +00:00
Don BURNS
55cd95f542 InputRectangle converted to RenderSurface->get()... 2003-04-16 23:09:31 +00:00
Robert Osfield
904aceec22 Added convinence methods to osgProducer::Viewer:
/** compute, from normalized mouse coords, for sepecified Camera, the pixel coords relative to that Camera's RenderSurface.*/
        bool computePixelCoords(float x,float y,unsigned int cameraNum,float& pixel_x,float& pixel_y);

        /** compute, from normalized mouse coords, for sepecified Camera, the near and far points in worlds coords.*/
        bool computeNearFar(float x,float y,unsigned int cameraNum,osg::Vec3& near, osg::Vec3& far);

        /** compute, from normalized mouse coords, for sepecified Camera, intersections with the scene.*/
        bool computeIntersections(float x,float y,unsigned int cameraNum,osgUtil::IntersectVisitor::HitList& hits);

        /** compute, from normalized mouse coords, for all Cameras, intersections with the scene.*/
        bool computeIntersections(float x,float y,osgUtil::IntersectVisitor::HitList& hits);
2003-04-16 14:17:49 +00:00
Robert Osfield
48cb15015f Add a check for the result to writeNodeFile(). 2003-04-16 12:46:06 +00:00
Robert Osfield
f9eb43083a Changed OsgSceneHandler so it re-uses osgUtil::SceneView project and modelview
matrices.

Changed the osgpick demo so that it uses the OsgSceneHandler's projection and
modelview matrices where possible.
2003-04-16 09:22:33 +00:00
Robert Osfield
fc4a2ab191 Added support for multiple cameras into osgpick. 2003-04-15 20:54:10 +00:00
Robert Osfield
6998229639 From Brede, Fixed the ordering of the znear and zfar. 2003-04-15 09:33:56 +00:00