How to draw CEGUI on Ogre Billboard?
Posted: Tue Jan 17, 2012 08:38
Hi, I am using CEGUI and Ogre.
CEGUI works really good and helps me a lot.
But I need some help on the following issue, can't find similar topic on forum or google.
1. Is it possible to draw single CEGUI::Window to Ogre billboard?
I find this post http://www.cegui.org.uk/phpBB2/viewtopic.php?=10&t=4767&p=22514&hilit=RENDER_QUEUE_MAIN#p22514 similar to my question, but drawing all the windows on the current RenderTarget to one texture.
My goal is to draw single CEGUI::Window to single texture, and set the texture to Ogre billboard.
I read the CEGUI API, but no luck.
2. If (1.) is not possible. Is it possible to use the font texture generate by CEGUI and render these font to Ogre billboard?
I am using Chinese Font, has 20,000 more code points. Ogre loads font file(and generate to texture) takes too long time.
CEGUI has good ability to read font and draw to texture by code points.
Using CEGUI font system and draw to Ogre billboard might be a good solution to me.
Thanks for any help in advance.
CEGUI works really good and helps me a lot.
But I need some help on the following issue, can't find similar topic on forum or google.
1. Is it possible to draw single CEGUI::Window to Ogre billboard?
I find this post http://www.cegui.org.uk/phpBB2/viewtopic.php?=10&t=4767&p=22514&hilit=RENDER_QUEUE_MAIN#p22514 similar to my question, but drawing all the windows on the current RenderTarget to one texture.
My goal is to draw single CEGUI::Window to single texture, and set the texture to Ogre billboard.
I read the CEGUI API, but no luck.
2. If (1.) is not possible. Is it possible to use the font texture generate by CEGUI and render these font to Ogre billboard?
I am using Chinese Font, has 20,000 more code points. Ogre loads font file(and generate to texture) takes too long time.
CEGUI has good ability to read font and draw to texture by code points.
Using CEGUI font system and draw to Ogre billboard might be a good solution to me.
Thanks for any help in advance.