Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Floating Text Labels  (Read 296 times)
BadSyntax
Customers
Community Member
*****
Posts: 169


« on: July 08, 2003, 02:31:11 PM »

I need to render up to 400 (probably no more then 10% of that at once) floating text labels above terrain features.

I know a billboard would work fine, but I don't want 400 files for each label.

I also know that using text is really slow and kills framerates.

I basically just want a rectangle that hovers above the terrain, has a line to the terrain, and that always faces the user.

Any way to dynamically create billboards instead of using text?

Not real sure how to go about it Smiley

Thanks,
Bad Syntax
Logged
Pavel
Customers
Community Member
*****
Posts: 850


WWW
« Reply #1 on: July 08, 2003, 02:54:45 PM »

U could use Billboards.
the billboards texture would be created in runtime using rendersurface.
using Rendersurface u render the name using text.


im guessing almost every game does this.
Logged
SylvainTV
Administrator
Community Member
*****
Posts: 4479


WWW
« Reply #2 on: July 08, 2003, 03:17:42 PM »

TextureFont_DrawBillboardText Smiley

Very fast , and no need for have 60000 files Smiley
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
Pavel
Customers
Community Member
*****
Posts: 850


WWW
« Reply #3 on: July 08, 2003, 03:19:55 PM »

cool.
even faster method Cheesy
Logged
BadSyntax
Customers
Community Member
*****
Posts: 169


« Reply #4 on: July 08, 2003, 03:56:18 PM »

Groovy!  Thanks for the quick reply, times like this I bet you really wish you had some docs eh? Smiley

Thanks!
Bad Syntax
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks