Robert Osfield
f7e6f0092c
From Kristofer Tingdahl, "the vertical bar is upside down, and hence not as the documentation says it should be. This is corrected with this patch"
...
From Robert Osfield, changed the example so that the vertical and horizon scalar bars are rotated to the XZ plane so you can see them with the default viewer's camera orientation.
Tweaked the positioning of title text of vertic scalar bar to avoid overlap of text.
2014-01-28 11:01:28 +00:00
Robert Osfield
8a334e724b
From Kristofer, "The osgSim::ScalarBar has a problem in that if the scalarbar has a color in one end that co-incides with the background color, one cannot see where the scalarbar ends. With this patch, we add a line around the perimiter of the bar to mark it.
...
Secondly, we thought the text-annotation missed ticks that mark out precisely where on the bar the texts relate to, so we added that as well."
2014-01-24 16:19:38 +00:00
Robert Osfield
cc0f1cb0fe
From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License
2007-06-12 14:20:16 +00:00
Robert Osfield
c4279bd5f1
Ported following examples to osgViewer:
...
osgparticleeffects
osgphotoalbum
osgpick
osgpoints
osgpointsprite
osgprecipitation
osgprerender
osgprerendercubemap
osgreflect
osgscalarbar
osgscribe
osgsequence
osgplanets
2007-01-10 13:52:22 +00:00
Robert Osfield
02bda82b55
From Paul Martz and Robert Osfield, renamed include/osgUtil/Tesselator and associated classes/references to Tessellator etc.
2007-01-08 11:23:52 +00:00
Robert Osfield
41a4aa1548
Added viewer.cleanup_frame() to all examples.
2006-08-02 19:55:03 +00:00
Robert Osfield
83d492162e
Added the support in AnimationPathCallback for taking a pivot, axis and rotation rate
...
paramters in its constructor to allow it to be used to create rotations around a point.
This provides the same interface and functionality as osgUtil::TransformCallback but
has the advantage and AnimationPathCallback is fully supported by the .osg and .ive file formats.
2005-11-09 15:11:22 +00:00
Robert Osfield
1594bbe1d9
Attempted fix for VS6.0 compile problems
2004-11-16 14:35:29 +00:00
Robert Osfield
1e0af60669
Removed un-needed setCullActive(false)
2004-11-06 21:21:29 +00:00
Robert Osfield
2d4f7d7be0
Added setCullingActive false to the absolute transform.
2004-10-27 08:39:18 +00:00
Robert Osfield
b70ff91eaf
Changed ABSOLUTE and RELATIVE to ABSOLUTE_RF and RELATIVE_RF to avoid stooppid Win32 #define
2004-10-24 20:04:00 +00:00
Robert Osfield
6821a80e14
Changed the ReferenceFrame enums to be RELEATIVE and ABSOLUTE, and
...
deprecated the RELATIVE_TO_ABSOLUTE and RELATIVE_TO_PARENTS.
2004-10-22 19:26:45 +00:00
Don BURNS
3e74db50e5
Changes for IRIX build and fix to build system
2004-08-28 23:04:47 +00:00
Robert Osfield
7f94839e94
Added setPosition and setWidth methods into ScalarBar and changed the
...
implementation to use these values to position and set the size of the
scalar bar. Also made the characterSize value a float rather than
the previous int.
2004-06-02 12:37:14 +00:00
Robert Osfield
48d148601b
Added HUD scalar bar.
2004-05-20 22:20:39 +00:00
Robert Osfield
dea75f5510
Attempts to fix compile problems under IRIX due to namespace problems.
2004-01-29 15:47:51 +00:00
Robert Osfield
9bb18750c7
Removed the ScalarBar:: from the from of the ScalarPrinter::printScalar() calls.
2003-11-21 20:21:41 +00:00
Robert Osfield
8ad75d0ceb
Fixed print on scalar bar example.
2003-10-20 09:01:16 +00:00
Robert Osfield
144ac14b07
From Neil Salter, added osgSim::SphereSegment and osgSim::ScalarBar, and
...
osgspheresegment and osgscalarbar, and osgsimulation examples.
2003-09-01 09:36:03 +00:00