<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.xna.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Direct3D</title><link>http://forums.xna.com/forums/27.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 0.0)</generator><item><title>Re: Text in World, Sprite/Mesh?  Help a noob!</title><link>http://forums.xna.com/forums/thread/61809.aspx</link><pubDate>Wed, 14 May 2008 11:21:11 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:61809</guid><dc:creator>Joel Martinez</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/61809.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=27&amp;PostID=61809</wfw:commentRss><description>maybe you could draw all individual labels to one texture, then use that texture to draw a series of billboarded quads, each with different UV coords that correspond to the correct label.&amp;nbsp; The billboard could simply be positioned next to whatever target the text needs to be next to.&lt;br&gt;</description></item><item><title>Text in World, Sprite/Mesh?  Help a noob!</title><link>http://forums.xna.com/forums/thread/61802.aspx</link><pubDate>Wed, 14 May 2008 10:43:34 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:61802</guid><dc:creator>SMJ</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/61802.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=27&amp;PostID=61802</wfw:commentRss><description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I hope I have this in the right forum.&amp;nbsp; Here goes.&lt;/P&gt;
&lt;P&gt;I've recently started a project that involves a map with targets on it using DX9.&amp;nbsp; I've gotten down the basics, but I am having problems with rendering text.&amp;nbsp; Each target has an identifier and an altitude associated with it, and I need that text rendered alongside it.&amp;nbsp; I started by using mesh.textfromfont, but dynamically creating even a single label every loop, using an idle-render loop,&amp;nbsp;increases my CPU usage dramatically.&amp;nbsp; There is no way I can use this for 100 or so targets.&amp;nbsp; I've looked into sprites for drawing the text, as it needs to be 2D, however, my problem is that I need the text at a certain location in the world.&amp;nbsp; Is it possible to use sprites with world coordinates?&amp;nbsp; I guess what I'm really asking is the best way to draw 2D text using world coordinates rather than screen coordinates?&amp;nbsp; Could someone point me to some sample code?&amp;nbsp; Thanks, SMJ!&lt;/P&gt;</description></item></channel></rss>