Yet another blog about WPF, Surface, SL, MVVM, NUI.... - Tag - TextureIn this blog we talk about WPF, Natural User Interface(NUI), Microsoft Surface, WIndows 7, Multitouch, Touchless, JavaFX, MVVM, patterns, tips, tricks .... and a lot of other things !2024-02-26T15:40:43+01:00Jonathan ANTOINEurn:md5:627146f22bec1346990949372a159bfaDotclearWrite text inside an image: add a poster to add it in your Mogre Sceneurn:md5:7ca0d164624324cf0f0cd586d9cd00a82009-05-28T15:34:00+02:002010-02-18T20:42:19+01:00JonathanANTOINE@falsemail.com3D (Mogre)bitmaphow-toimagetext sizeTextureWPFwrite text on bitmap <p>Introduction
To display informations into your scene you can use a billboard represented by the MovableText into (M)ogre but sometimes you just want to put some static text somewhere because it's more readable.
For example :
The code
Here is the code which use a lot of my last article .
The steps are :
Create a bitmap with the text... <a href="http://blog.lexique-du-net.com/index.php?post/2009/05/28/Create-a-poster-to-add-it-in-your-Mogre-Scene"><em>Read</em> Write text inside an image: add a poster to add it in your Mogre Scene</a></p>http://blog.lexique-du-net.com/index.php?post/2009/05/28/Create-a-poster-to-add-it-in-your-Mogre-Scene#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/21Use a screenshot of a WPF visual as a texture in Mogre.urn:md5:a83b4d6478f70742047ca152604980472009-03-25T15:49:00+01:002010-02-18T20:42:57+01:00JonathanANTOINE@falsemail.com3D (Mogre)3Dhow-toImageTextureWPF <p>Hello,
Here is my first post about WPF and Mogre, maybe it will helps some people...
The subject of today is "How to use a screenshot of a WPF elements and put it as an texture on your Mogre object"...
Why ? Because WPF enable you to create very rich interface and so great image to place on you differents elements...
By the way, I let... <a href="http://blog.lexique-du-net.com/index.php?post/2009/03/25/Use-a-screenshot-of-a-WPF-visual-as-a-texture-in-Mogre."><em>Read</em> Use a screenshot of a WPF visual as a texture in Mogre.</a></p>http://blog.lexique-du-net.com/index.php?post/2009/03/25/Use-a-screenshot-of-a-WPF-visual-as-a-texture-in-Mogre.#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/18