返回顶部

收藏

c++实现3d 文本

更多
Gorilla::ScreenRenderable* screen = mSilverback->createScreenRenderable(Ogre::Vector2(0.01,0.01), "dejavu");
m3DLayer = screen->createLayer(0);
m3DLayer->createMarkupText(24, 0, 0, "This is some text on a quad in the 3D world. Wooooo!");
Gorilla::Rectangle* rect = m3DLayer->createRectangle(10, 10, 100, 100);
rect->background_image("coco");

mNode = mSceneMgr->getRootSceneNode()->createChildSceneNode(Ogre::Vector3(0,1.5,0));
mNode->attachObject(screen);

标签:3d,文本

收藏

0人收藏

支持

0

反对

0

发表评论