Sprite Text Problem
I am using Sprite function to display text on Directx device, but when i intilized it get it origin from the MFC, rather than it should bind with the directx.
Can any one give me any idea to bind a sprite text with directx device.
Thanks in Advance.
What is this "Sprite" function? What do you mean by "get it origin from the MFC"? What does MFC have anything to do with this? And what do you mean by "bind"?
In other words, some details would be nice.
In other words, some details would be nice.
I apologize that i haven't explain my question clearly
-
I am using directx 9.0 (with VC++) for drawing 2D graphics.
My graphics contains figures and text also, for drawing 2D graphics in directx I used orthographic projection.
But due to orthographic projection my font height not remains constant through the drawing as I increase length of my figure my font height get reduced because of zooming effect. I want to make it fixed size for all length.
I am using mesh for drawing text.
(for that i had also tried D3DXCreateSprite Function...)
if there is any solution for the above issue, that would be great!! ( not necessary to use sprite.. any think can work...)
Thanks in Advance..
-
I am using directx 9.0 (with VC++) for drawing 2D graphics.
My graphics contains figures and text also, for drawing 2D graphics in directx I used orthographic projection.
But due to orthographic projection my font height not remains constant through the drawing as I increase length of my figure my font height get reduced because of zooming effect. I want to make it fixed size for all length.
I am using mesh for drawing text.
(for that i had also tried D3DXCreateSprite Function...)
if there is any solution for the above issue, that would be great!! ( not necessary to use sprite.. any think can work...)
Thanks in Advance..
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement