Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

dede

Super Fast Text

This topic is 5657 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

For some reason I have a hankering to do some ANSI art in OpenGL. I think it would look kinda neat, expecially since it would be 2d with layers.(kinda like the matrix, only with ansi pictures) What library prouduces very fast glyphs? I'm looking for 3d characters such as wglUseFontOutlines() produces. I've read in The Super Bible that wglUseFontOutlines() is very slow, and I want to put a lot of characters on the screen. I'm estimating a max of about 25,600 glyphs a frame. Which would require that the characters be under 30 triangles each. Speed is very important, I'm hoping for about 30 fps, so I'm assuming that glyphs can be precalculated. I also assume at least a GeForce 2, or so. I don't care if my freeware project runs on TNT2 Ultras, as long as it runs on all of my computers [edited by - dede on June 17, 2003 8:04:27 PM]

Share this post


Link to post
Share on other sites
Advertisement
Sorry, but it isn''t exactly what I''m looking for. I''m looking for 3d floating letters, rather than 2d letters.

That font also has a slight problem with translation, which I want the backgroung text to be slightly off from the foreground text

drawtext()
glTranslatef(0,0,-1);
drawtext();
glTranslatef(0,0,-1);
.
.
.

Share this post


Link to post
Share on other sites
The "problem" with the translation there is probably just use of an ortho view via glOrtho. If you know what you''re doing, that can easily be fixed.

______________________________________________________________
The Phoenix shall arise from the ashes... ThunderHawk -- ¦þ
MySite
______________________________________________________________

Share this post


Link to post
Share on other sites
if you want fast 3d letters then why not use wglUsFontOutlines() (or any other 3d letter generation you care to use) to render each letter to a section of a texture then use the correct section of the texture to texture 2 tris per letter, that way you get all the speed of low poly drawing with the look of 3d letters.

Share this post


Link to post
Share on other sites
quote:
Original post by Thunder_Hawk
The "problem" with the translation there is probably just use of an ortho view via glOrtho. If you know what you're doing, that can easily be fixed.

That library won't work. I reject it!

Anyways, I'm looking for 3d characters, rather than 2d characters. So I can light, color and rotate them. It would be a cool effect if my text has a depth to it.
quote:

if you want fast 3d letters then why not use wglUsFontOutlines() (or any other 3d letter generation you care to use) to render each letter to a section of a texture then use the correct section of the texture to texture 2 tris per letter, that way you get all the speed of low poly drawing with the look of 3d letters.


Good plan, I may use this for the background, and then use the nicer text for the foreground. Then I can also just render everything as wglUseFontOutline() for non-interactive parts.

[edited by - dede on June 17, 2003 9:22:34 PM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!