Hi,
I am using MovableText class as given in wiki, but when I run it , it say that it can not find bluehighway-8
Can you give me hints where to look?
bluehighway-8.font is in C:\Ogre\Samples\Media\fonts
risanchez
MovableText
-
- Ogre Magi
- Posts: 1255
- Joined: Sat Dec 25, 2010 2:55 pm
- Location: Macedonia
- x 81
Re: MovableText
Another person had the same problem as you in this thread: http://ogre3d.org/forums/viewtopic.php?f=2&t=71198
To save you time:
To save you time:
Also, pick forums more carefully next time. This belongs to the Help forum.Mind Calamity wrote:I've updated the wiki page with updated code and new resources. You should check it out.
Quick link: http://www.ogre3d.org/tikiwiki/tiki-ind ... ovableText

BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
-
- Halfling
- Posts: 44
- Joined: Wed Feb 15, 2012 11:31 pm
Re: MovableText
Thanks,
I will try it.
risanchez
I will try it.
risanchez
-
- Halfling
- Posts: 44
- Joined: Wed Feb 15, 2012 11:31 pm
Re: MovableText
Hi,
Still I can not make it work, using your changes on the web page.
Looking at other peoples with the same problem it looks that we are not loading properly the resources
for the fonts within the class MovableText. The class itself does not load the resources.
My question is : How can I load specifically the resources for the font BlueHighway-8. I checked that BlueHighway-8.font is at
C:/Ogre/Samples/Media/fonts
Can you help me on this?
Best regards,
risanchez
Still I can not make it work, using your changes on the web page.
Looking at other peoples with the same problem it looks that we are not loading properly the resources
for the fonts within the class MovableText. The class itself does not load the resources.
My question is : How can I load specifically the resources for the font BlueHighway-8. I checked that BlueHighway-8.font is at
C:/Ogre/Samples/Media/fonts
Can you help me on this?
Best regards,
risanchez
-
- Ogre Magi
- Posts: 1255
- Joined: Sat Dec 25, 2010 2:55 pm
- Location: Macedonia
- x 81
Re: MovableText
How would the class know where the resources are ? You need to add the fonts folder to your resources. (The process is different depending on how you load your resources). I opened a thread related to this problem: http://ogre3d.org/forums/viewtopic.php?f=3&t=71210
.font is not used anymore. It's been replaced by .fontdef, the archive I attached contains a .fontdef which should fix your problem. Also copy the new version of the code I posted on the page.
.font is not used anymore. It's been replaced by .fontdef, the archive I attached contains a .fontdef which should fix your problem. Also copy the new version of the code I posted on the page.
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
-
- Halfling
- Posts: 44
- Joined: Wed Feb 15, 2012 11:31 pm
Re: MovableText
Thanks again,
I modified the format of BlueHighway-8 as you said and now is working quite well.
One thing, I am using a screen resolution of 1680x1050 so charHeight in my case has to be over 30.0 to see a reasonable size text.
In the web page the program comes with charHeight=1.0
Best regards,
risanchez
I modified the format of BlueHighway-8 as you said and now is working quite well.
One thing, I am using a screen resolution of 1680x1050 so charHeight in my case has to be over 30.0 to see a reasonable size text.
In the web page the program comes with charHeight=1.0
Best regards,
risanchez