Robert Osfield
460ea4586e
Added *,/,+ and - keyboard controls for toggling PolygonOffset factor and units
2006-07-17 11:37:51 +00:00
Robert Osfield
947904ee85
Improved stats sizing in presense of wide screens.
2006-06-05 16:06:29 +00:00
Robert Osfield
a18e697a47
Compile fixes for OSX
2006-05-16 10:21:59 +00:00
Robert Osfield
bf065ed3a4
From Mike Weiblen, support GLSL uniform arrays. A couple of tweaks and fixes from Robert Osfield.
2006-05-15 15:46:08 +00:00
Robert Osfield
02837366df
#if'd out use of barrier for stats collection.
2006-04-03 19:14:58 +00:00
Don BURNS
a5d12c598a
Updates to osgProducer to bring it up to speed with changes in Producer
2006-03-29 23:32:51 +00:00
Robert Osfield
2815622c35
Improved stats handling, and fixed a couple of stats bugs.
2005-12-15 17:14:40 +00:00
Robert Osfield
0347895c96
Fixed typo in comments and onscreen help.
2005-12-09 20:03:04 +00:00
Robert Osfield
eb51a53919
Added CameraBarrierCallback so that multi-thread multi-cameras are synconized
...
correctly when do stats collection.
2005-11-29 12:09:45 +00:00
Robert Osfield
9d8fd69fa9
Change the KeySwitchMatrixManipulator so that it two sets of getMatrixManipulator
...
methods, two that takes an index,two that takes a key value. Updated the ViewEventHandler
so the it now uses the getMatrixManipulatorWithIndex() method to avoid previous ambiguity.
2005-11-14 11:00:36 +00:00
Robert Osfield
0ec0327b96
Added scene stats support to osgProducer::ViewerEventHandler.
2005-11-11 17:00:36 +00:00
Don BURNS
702944b67a
Fixed fullscreen toggle in ViewerEventHandler that assumed the first
...
RenderSurface was a window (not a pbuffer).
2005-05-18 21:45:30 +00:00
Robert Osfield
850efd10f1
From Paul Melis, fixed the setFrameStatsMode() method
2005-02-07 20:44:18 +00:00
Robert Osfield
ddb0d6bd4f
Added prelimarny support for reading archives via the .net plugin
2004-11-13 16:21:48 +00:00
Robert Osfield
9a393bfd5d
From David Spilling, with small format and variable rename by Robert Osfield.
2004-10-13 19:10:29 +00:00
Robert Osfield
68c7a47388
Added support to osgProducer::Viewer for forcing an early exit form applications
...
and recording an image on exit.
2004-10-05 09:53:36 +00:00
Don BURNS
3326454650
Fixed error for when screen width * 0.75 is greater than screen height
...
for compute of window size when coming from fullscreen when 'f' key is pushed.
2004-08-23 20:29:42 +00:00
Don BURNS
360de7f15b
Fixed assumption that the users's screen is 1280x1024 when toggling
...
full screen with the 'f' key.
2004-08-23 17:17:46 +00:00
Robert Osfield
f6274d0f20
Added setting of block_on_vsync of both CameraGroup and all the Camera's that it contains.
2004-07-26 14:25:41 +00:00
Robert Osfield
b22de2eba0
Maded the image filename handling more consistent.
2004-06-30 14:43:40 +00:00
Robert Osfield
6de63f097b
From Eric Sokolowsky. Added missing blend modes into .osg reading and writing
...
and fixed typo.
2004-06-28 12:52:13 +00:00
Robert Osfield
9990650cc9
Changed screen grab filename back to a saved_image.jpg
2004-05-25 20:39:49 +00:00
Robert Osfield
f02c75f5ea
Added Vec2d, Vec3d and Vec4d classes, and remapped Vec2, Vec3 and Vec4 to
...
Vec2f, Vec3f an Vec4f respectively, with typedef's to the from Vec* to Vec*f.
2004-05-20 10:15:48 +00:00
Robert Osfield
ccefa05523
Clean up of headers.
2004-03-07 14:21:11 +00:00
Robert Osfield
a8b772c09a
Changed the snap image filename to save_image.jpg taking advantage of the
...
new JPEG writing support.
2004-01-30 13:53:15 +00:00
Robert Osfield
ea77b1b031
Added report of LOD scale
2004-01-22 12:28:55 +00:00
Robert Osfield
d072e1087c
Added support for controlling the LODScale via '*' and '+' keys in
...
osgProducer::Viewer.
2004-01-10 21:29:15 +00:00
Robert Osfield
aac16a17e7
Fixed typo in comments.
2003-12-18 09:56:48 +00:00
Robert Osfield
d3251dc9d8
From Sondra Iverson:
...
small optimization to ParticleSystem.cpp moving sqrtf out of inner loop.
fix of copy and past error changing erronous cullTimes to drawTimes.
2003-11-06 22:06:44 +00:00
Robert Osfield
54a8ea33ce
Added support to slideshow3D for -s commandline option allow the size of
...
the display to be specified.
Also implementaited some code for display position and speed info in
osgProducer::Viewer, not fully implemented yet.
2003-11-04 16:38:10 +00:00
Robert Osfield
bc7622149d
Updated to slideshow3D to support animation + pausing of animation.
...
Updated associated osg/osgUtil classes that provide animation pausing.
2003-11-03 23:13:31 +00:00
Robert Osfield
69c4e87bb7
Added osg::State::popAllStateSets() method to pop all remain StateSet's off
...
the state stack, thus readying the state object to recieve a new frame.
Removed the state.reset() call in osgUtil::SceneView::cull() as this was
causing problems with stats producing inheritance of state when toggling
stats on.
2003-09-10 21:22:47 +00:00
Robert Osfield
1707276707
Fixed state inheritance from the stats overlay onto the rest of the scene.
2003-09-10 20:43:27 +00:00
Robert Osfield
e2a72f7e72
Fixed typo of getNumMatrixManipulators().
2003-08-19 14:05:53 +00:00
Robert Osfield
ace3684d6a
Fixed blending mode on stats output.
2003-07-23 14:59:27 +00:00
Robert Osfield
8e0e9d35d8
Rejigged the management of state in the stats and help drawing so that it used
...
StateSet's rather than straight OpenGL calls.
2003-07-16 13:17:11 +00:00
Robert Osfield
606daca904
Added default constructor implemention to LOD and PagedLOD.
...
Added verbose messages to DatabasePager.
2003-07-10 14:53:07 +00:00
Don BURNS
15f88f35b2
*** empty log message ***
2003-06-24 15:40:09 +00:00
Robert Osfield
940ce67133
Removed remaining dependancies on osg::Camera.
2003-05-19 15:15:17 +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
bc8bd29646
Updated NEWS for the release.
...
Fixed warnings.
2003-04-18 15:59:34 +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
Don BURNS
6fc19084ac
Changed Rect('s to Rectangle('s
2003-04-16 21:16:23 +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
5f8411ac5c
Changed the KeySwichCameraManipulator::setNode() so it set all camera's
...
attached to it.
2003-04-08 13:10:47 +00:00
Robert Osfield
18ab95a294
Added support for snaping screen images from osgProducer::Viewer apps.
2003-04-07 19:19:01 +00:00
Robert Osfield
c7a7bd03cb
Added support for recording animation paths in the osgProducer::Viewer.
2003-04-05 22:24:48 +00:00
Robert Osfield
e9e0b4304d
Improved support for toggle between full screen and non fullscreen in
...
the osgProducer::Viewer.
2003-04-04 11:06:09 +00:00
Robert Osfield
5a974ab091
Fixes to osg::Texture's handling of anisotropy updating and
...
hardware generate mip mapping.
Added switching off generate mip map from osgText::Font.cpp.
Changed savedmodel.osg to saved_model.osg in ViewerEventHandler.
2003-04-01 20:32:57 +00:00
Robert Osfield
fee0debfde
Added timer code to the init in OsgCameraGroup.
...
Made the stats view 20 frames rather than 6.
2003-04-01 11:55:29 +00:00