Commit fbcfc977 authored by Isaak Lim's avatar Isaak Lim

- got rid of FTGL dependencies in TextNode

- now TextNode uses textures and QFont to render text
- adjusted scaling in RulerPlugin and SkeletonObject

refs #269

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d70023e3
...@@ -86,7 +86,7 @@ void RulerPlugin::showDistance() ...@@ -86,7 +86,7 @@ void RulerPlugin::showDistance()
QString distanceStr = QString().number((distVec).length()); QString distanceStr = QString().number((distVec).length());
textNode_->setText(distanceStr.toStdString()); textNode_->setText(distanceStr.toStdString());
textNode_->multipassNodeSetActive(8, true); textNode_->multipassNodeSetActive(8, true);
textNode_->setSize(5); textNode_->setSize(1);
textTransformNode_->loadIdentity(); textTransformNode_->loadIdentity();
textTransformNode_->translate(ACG::Vec3d([0],[1],[2])); textTransformNode_->translate(ACG::Vec3d([0],[1],[2]));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment