[gameprogrammer] Re: [SDL, OpenGL and SDL_ttf] Need help
- From: Robbert de Groot <zekaric@xxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Sun, 28 Nov 2004 15:22:10 -0500 (EST)
From what I gather with SDL_TTF, it is only expected to work with
image buffers in SDL and not directly with OpenGL. It's goal is to
rasterise strings with a TTF. You certainly can use it with OpenGL
if you use it to render the strings to a bitmap to be used as a
texture in OpenGL. It won't create polygons or meshes of the letters
and render them out (Unless that is something new.)
--- Mister <m15t3rb055@xxxxxxxxxx> wrote:
> HAHAHA.. :D
> It's so silly. glActiveTextureARB is a variable (maybe a functor?),
> I forgot
> that I already changed the name. Nevermind.
> The second problem is still on though. Maybe another silly mistake,
> but if
> you know the problem please help me.
> Thanks again.
>
>
> ----- Original Message -----
> From: "Mister" <m15t3rb055@xxxxxxxxxx>
> To: <gameprogrammer@xxxxxxxxxxxxx>
> Sent: Sunday, November 28, 2004 4:54 PM
> Subject: [gameprogrammer] [SDL, OpenGL and SDL_ttf] Need help
>
>
> Hi,
> I'm making a program that use multitextures. I'm using OpenGL
> that's
> initialized with SDL (SDL_SetVideoMode). My video card supports
> multitexturing and I'm using VC++ .NET.
>
> Problems:
> 1.) when I call glActiveTextureARB(), the compiler says "undeclared
> identifier" though I already included glext.h
> 2.) I want to write to the screen using SDL_ttf. Failed.Is SDL_ttf
> compatible with SDL that uses OpenGL 'screen'? Because there's no
> problem
> when I first tried to use SDL_ttf in a very small program.
>
> Please help me. What may be the problems in my code?
> Thanks in advance.
>
>
>
>
> ---------------------
> To unsubscribe go to http://gameprogrammer.com/mailinglist.html
>
>
>
>
>
>
> ---------------------
> To unsubscribe go to http://gameprogrammer.com/mailinglist.html
>
>
>
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: [SDL, OpenGL and SDL_ttf] Need help
- From: Scott Harper
- References:
Other related posts:
- » [gameprogrammer] [SDL, OpenGL and SDL_ttf] Need help
- » [gameprogrammer] Re: [SDL, OpenGL and SDL_ttf] Need help
- » [gameprogrammer] Re: [SDL, OpenGL and SDL_ttf] Need help
- » [gameprogrammer] Re: [SDL, OpenGL and SDL_ttf] Need help
- » [gameprogrammer] Re: [SDL, OpenGL and SDL_ttf] Need help
- [gameprogrammer] Re: [SDL, OpenGL and SDL_ttf] Need help
- From: Scott Harper