Show
Ignore:
Timestamp:
04/19/03 11:09:46 (12 years ago)
Author:
robert
Message:

Updated NEWS for the release date.

Tweaked the text sizes in osglogo.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osglogo/osglogo.cpp

    r1844 r1906  
    158158  
    159159    text->setFont(font); 
    160     text->setFontSize(120,120); 
     160    text->setFontSize(110,120); 
    161161    text->setAlignment(osgText::Text::RIGHT_CENTER); 
    162162    text->setAxisAlignment(osgText::Text::XZ_PLANE); 
    163     text->setCharacterSize((bb.zMax()-bb.zMin())*0.8f); 
    164     text->setPosition(bb.center()-osg::Vec3((bb.xMax()-bb.xMin()),-(bb.yMax()-bb.yMin())*0.5f,(bb.zMax()-bb.zMin())*0.3f)); 
     163    text->setCharacterSize((bb.zMax()-bb.zMin())*1.0f); 
     164    text->setPosition(bb.center()-osg::Vec3((bb.xMax()-bb.xMin()),-(bb.yMax()-bb.yMin())*0.5f,(bb.zMax()-bb.zMin())*0.1f)); 
    165165    //text->setColor(osg::Vec4(0.37f,0.48f,0.67f,1.0f)); // Neil's orignal OSG colour 
    166166    text->setColor(osg::Vec4(0.20f,0.45f,0.60f,1.0f)); // OGL logo colour 
     
    179179        subscript->setAlignment(osgText::Text::RIGHT_CENTER); 
    180180        subscript->setAxisAlignment(osgText::Text::XZ_PLANE); 
    181         subscript->setPosition(bb.center()-osg::Vec3((bb.xMax()-bb.xMin())*3.5f,-(bb.yMax()-bb.yMin())*0.5f,(bb.zMax()-bb.zMin())*0.6f)); 
     181        subscript->setPosition(bb.center()-osg::Vec3((bb.xMax()-bb.xMin())*4.3f,-(bb.yMax()-bb.yMin())*0.5f,(bb.zMax()-bb.zMin())*0.6f)); 
    182182        subscript->setColor(osg::Vec4(0.0f,0.0f,0.0f,1.0f)); // black 
    183183