Commit Graph

1962 Commits

Author SHA1 Message Date
Robert Osfield
d2d9b97953 Added set/getNearFarRatio() to CullVisitor. 2003-05-01 19:56:02 +00:00
Robert Osfield
2d360c344c Remved exit(). 2003-05-01 08:51:03 +00:00
Robert Osfield
86254927b9 From Eric Sokolowsky - pnm (ppm, pgm, pbm) plugin 2003-04-30 15:40:57 +00:00
Robert Osfield
9468ab4979 Cleanup of the API. 2003-04-30 15:38:11 +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
821313d102 From Ben, promoted floats to doubles to produce better stability in the
invert method.
2003-04-29 14:24:11 +00:00
Don BURNS
e1468428e3 set glDrawBuffer( GL_BACK ) in SceneView::draw() when not drawing in
stereo mode.  Without this, we end up drawing to the wrong buffer when
toggling stereo off.
2003-04-29 00:55:12 +00:00
Robert Osfield
2ee54ecb1e Updated NEWS. 2003-04-28 12:57:58 +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
dc4d592a8c Fixed typo of Fturue! 2003-04-27 19:23:00 +00:00
Robert Osfield
c1b1a091fa From Tree, addition of ; after MACRO_'s to help with Java port.
From Tree + Robert, Addition of LEFT_BASE_LINE,RIGHT_BASE_LINE,CENTER_BASE_LINE
Alignment options in Text.
2003-04-27 10:58:39 +00:00
Robert Osfield
9fb98c0107 Updates to introducution. 2003-04-25 19:53:22 +00:00
Robert Osfield
30d50894a3 Updated index.html 2003-04-25 13:52:08 +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
Don BURNS
84fb15717d A few minor mods to introduction.html 2003-04-24 20:41:18 +00:00
Robert Osfield
eff6db2712 Updates to the introduction.html documentaition. 2003-04-24 19:54:03 +00:00
Robert Osfield
95058aba7d Typo fix. 2003-04-24 13:45:35 +00:00
Robert Osfield
af1eae0418 cout -> notify. 2003-04-24 13:45:10 +00:00
Robert Osfield
6721782cac Updates to docs. 2003-04-24 13:44:30 +00:00
Robert Osfield
897afa0e27 From Romano, updated LANDEXT.DAT and new highlight.reg file for syntax
highlighting under Windows.
2003-04-23 10:12:40 +00:00
Robert Osfield
341fa340ce Added check for camera's sharing the same RenderSurface, if so switches off
multi-threading of cull and draw.
2003-04-23 09:59:08 +00:00
Robert Osfield
b6327e777c Changed the data link to OpenSceneGraph-Data-0.9.3.tar.gz since we won't
be updating it for the release.
2003-04-19 09:53:39 +00:00
Robert Osfield
ef482f11a2 Updated ChangeLog for the release. 2003-04-19 09:35:10 +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
a79fada938 Mannually computes the mipmap levels to ensure correct loading of dds
images which arn't square.
2003-04-19 06:57:07 +00:00
Robert Osfield
b6ee5445b7 Changed the ordering of the picking intersections. 2003-04-18 21:44:48 +00:00
Robert Osfield
1cf0be9963 Fixes to BlendFunc - adding missing ZERO handling.
Improved handling of alpha values in DXT1 compression.
2003-04-18 19:46:46 +00:00
Robert Osfield
bc8bd29646 Updated NEWS for the release.
Fixed warnings.
2003-04-18 15:59:34 +00:00
Robert Osfield
1c8db044f1 Removed various assert() instances since these were causing crashes.
From Alberto, changed the use of the DynGeoSet to it was querried on demand
rather than used as a pointer which was originally being invalidate before
use.
2003-04-18 10:10:14 +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
c269cc88b2 Added doc++ documentation. 2003-04-17 16:22:51 +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
9329717aa0 Moved #include <osg/Timer> from Viewer to OsgCameraGroup. 2003-04-17 15:27:17 +00:00
Robert Osfield
d0aac6e6f0 Added an alternate compile path for Windows in the toggle of fullscreen
for the first time.
2003-04-17 13:57:15 +00:00
Robert Osfield
67f5cc46c1 Changed the maxx initializiation to use (*points)[last_valid_index].x(); 2003-04-17 13:36:41 +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
Robert Osfield
f759f7e69e Added OSGUTIL_EXPORT to front of DelaunayTriangulator class. 2003-04-17 06:52:56 +00:00
Don BURNS
55cd95f542 InputRectangle converted to RenderSurface->get()... 2003-04-16 23:09:31 +00:00
Don BURNS
6fc19084ac Changed Rect('s to Rectangle('s 2003-04-16 21:16:23 +00:00
Robert Osfield
0b0c6c4e60 Added support for set/getColor to ShapeDrawable. 2003-04-16 20:02:15 +00:00
Robert Osfield
cad160fbe6 From Marco Jez, added DelaunayTriangulator class. 2003-04-16 19:21:27 +00:00
Robert Osfield
d9ddd0bb06 Changed near and far instances into near_point, far_point to avoid
problems with Win32 build.
2003-04-16 19:20:15 +00:00
Robert Osfield
3bd03476f4 Moved the PickVisitor from osgUtil into the implementation of
osgProducer::Viewer.  Removed methods in PickVisitor which wern't being
used by osgProducer::Viewer.  This has been done because the PickVisitor
interface and implementation weren't ready for general usage.
2003-04-16 15:14:25 +00:00
Robert Osfield
2e659c9ebf Renamed computeNearFar to computeNearFarPoints. 2003-04-16 14:22:36 +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
4c6686eaee Changed the linking to Producer for debug builds so that producerd.lib is linked
against.
2003-04-15 14:29:36 +00:00