Robert Osfield
fa8b8c6a52
From Tree, fixes for text bounding box initialization.
2003-07-10 13:18:13 +00:00
Robert Osfield
8d4ab4668e
From Tree, updates to osgText and freetype plugin to support are kerning paramter.
2003-06-26 16:21:49 +00:00
Don BURNS
15f88f35b2
*** empty log message ***
2003-06-24 15:40:09 +00:00
Don BURNS
b6d6759337
Small operation precedence bug fixed in Text.cpp
2003-05-14 16:07:39 +00:00
Robert Osfield
06054d9520
Added support for multibuffering of tex coordinates.
2003-05-06 13:13:31 +00:00
Robert Osfield
6c60fa233e
Fixed accept(PrimitiveFunctor&) so it uses the transform coords correctly.
2003-05-05 14:30:12 +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
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
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
b66f464a1b
Tweak to the debug output.
2003-04-14 15:03:55 +00:00
Robert Osfield
39a5cf3ad9
Added extra debugging details to help track down IRIX64 & Solaris64 problems.
2003-04-14 15:02:13 +00:00
Robert Osfield
c2a9234cc5
Updated the version numbers to 0.9.4
2003-04-11 10:04:53 +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
c784f8a669
Changed the background pixel colour to white, but kept the alpha value zero.
...
This has been done to improve the quality of the mip mapping of text.
2003-03-27 10:58:20 +00:00
Robert Osfield
e00b8f2868
Tweak the tex coords of fonts slightly to avoid cut off of text.
2003-03-25 15:48:17 +00:00
Robert Osfield
cad1d8162b
Fixed axis alignment bug in text, which occured what text was placed on the XZ
...
or YZ planes.
2003-03-25 15:45:08 +00:00
Robert Osfield
96b72af169
Implemented a object cache in osgDB::Registry.
2003-03-17 22:53:46 +00:00
Robert Osfield
34fc7dd289
The wrong file name was being used readFontFile.
2003-03-14 09:28:34 +00:00
Robert Osfield
3343c3a970
Fix from Gabor for proper casting of char's to unsigned ints be setting up the
...
osgText::String.
2003-03-12 15:36:26 +00:00
Don BURNS
fa33244f92
1) Replaced all Makefile* with GNUmakefile*.
...
2) Changed Makedepend system to make individual dependency files, which
should save time rebuilding dependencies by limiting the regeneration
of dependency file for only modified source files.
2003-03-12 10:39:43 +00:00
Robert Osfield
88b686faca
Added (unsigned int) cast to the call to osg::minimum.
2003-03-12 09:45:12 +00:00
Robert Osfield
5ae998dbc2
Added missing osg:: to StateAttribute.
2003-03-11 21:42:55 +00:00
Robert Osfield
78de76f17f
Bug fixes to osgText to handle the osgUtil::Optimizer being used on a scene
...
graph containing text.
Fixed warning in MD2 plugin.
2003-03-11 13:30:03 +00:00
Robert Osfield
06fb808ad3
Improvements to the Text .osg support.
2003-03-10 16:40:26 +00:00
Robert Osfield
efea365412
Moved the remain inline osg::Font methods into Font.cpp to avoid problems with the
...
impossibly stupid visual studio compilers.
2003-03-10 09:15:59 +00:00
Robert Osfield
6a87495c80
Fixes for IRIX build.
2003-03-07 21:05:35 +00:00
Robert Osfield
47087585c0
Added maximum width and maximum height limits to the osgText::Text which
...
automatically wraps text which goes beyond these limits.
2003-03-06 21:35:33 +00:00
Robert Osfield
fab6f24f4e
Changed the osgText::Font implementation so it used a facade us abstract away
...
the actual implemention. This has been done so that when a freetype font is
created the implementation can unloaded when the freetype plugin is unloaded
without breaking the main font.
Also add image margin around founds to prevent any image boundaries appearing.
2003-03-06 17:11:24 +00:00
Robert Osfield
63df52d408
Added osgText::String implementation to better handle decoding of encoded text.
2003-03-05 21:05:37 +00:00
Robert Osfield
d1c0d74bb7
Fix for non standard compiliant Forte compilers.
2003-03-05 20:18:12 +00:00
Robert Osfield
8e6a1d38e4
Updates to the GLUT and Producer text demo.
...
Fix to text to better handle unsetting of vertex arrays.
2003-03-05 12:28:42 +00:00
Robert Osfield
7b6eaa72f2
Updates to Text for Sun Forte compilers.
2003-03-05 09:08:11 +00:00
Robert Osfield
ba9fbd371f
Updates to the new osgtext example and fix to the friend usage.
2003-03-04 17:14:42 +00:00
Robert Osfield
55c25a551b
Added support for using the generate mip map extension within osgText.
2003-03-04 15:47:28 +00:00
Robert Osfield
1c34c0981e
Further improvements to osgText and the freetype plugin, handling different
...
font sizes better and plugin removal safely.
2003-03-04 12:34:42 +00:00
Robert Osfield
e433b42bc0
Updates osghud demo.
...
Compile fixes for VisualStudio6.0 because its a hideous pile of junk and can't
compile its way out of a paper bag.
2003-03-03 22:18:33 +00:00
Robert Osfield
99e7c50d7a
Typo fix.
2003-03-03 20:24:49 +00:00
Robert Osfield
fe978ac122
Compile fixes to osgText.
2003-03-03 20:12:18 +00:00
Robert Osfield
b871020222
Added search path to osgText::readFontFile.
2003-03-03 16:42:48 +00:00
Robert Osfield
5d84c10c8f
Changed the ownership of Glyph's so that GlyphTexture's own a reference to
...
Glyph's as well as Font's so keeping the Font valid even after the Font
itself has been desctructed.
2003-03-03 16:12:00 +00:00
Robert Osfield
371d84683f
Fixes to osgText for default parameter.
2003-03-03 15:36:52 +00:00
Robert Osfield
e2b95c50a4
Added support for computing bounds of text.
2003-03-03 09:37:02 +00:00
Robert Osfield
fbe674b321
First cut of new osgText implementation.
2003-03-02 21:05:05 +00:00
Robert Osfield
1b08b02df2
From Tree, added support for using wchar_t strings with osg::Text/EncodedText.
2003-02-10 15:01:27 +00:00
Robert Osfield
03eee3b700
Fixed warning in osgText
...
Added getBound() to begining of osgProducer::CameraGroup::frame() to ensure
that the parallel cull traversals don't all do a getBound().
Added osgProducer::CameraGroup::getTopMostSceneData() convinience method.
2003-01-30 16:11:39 +00:00
Robert Osfield
787bbef714
From Max, fixes to UniCode support for bitmap fonts.
2003-01-30 01:31:22 +00:00
Robert Osfield
6afedcc6d1
Updated version numbers to 0.9.3
2003-01-22 19:17:39 +00:00
Robert Osfield
4de63e72c6
Improvements to the handling of multiple graphics contexts. Still needs alot
...
of work, but at least it isn't crashes in trivial cases right now.
2003-01-20 20:28:28 +00:00
Robert Osfield
359e0d9c70
Removed the addition of 0 to the add of the encoded text vector as it is now
...
redundent having added support for the begin,end range into FTFont.
2003-01-17 16:00:09 +00:00
Robert Osfield
a86d519a89
Fixed a bug on the handling of empty EncodedText.
2003-01-17 15:01:27 +00:00