Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > OpenGL 3D API > Re: GLSL window...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 4793 of 5017
Post > Topic >>

Re: GLSL windows binary

by folays <folays@[EMAIL PROTECTED] > Jun 12, 2008 at 03:59 PM

swtsvn <sujatha.1psg@[EMAIL PROTECTED]
> writes:

> Hi,
> I am learning GLSL, and trying to install it on my windows xp machine
> with MINGW compiler
> could anyone please direct me to where i could download glsl windows
> binary.

It does not work like that. GLSL binary stuff is provided by the drivers
of your graphic video card.

The only thing that you may need beyond your compiler is:
- A good tutorial on how to set up and using glsl shaders
- glext.h (google for it) which is a handy file #define'ing preprocessors
macro that you can further use to declare your own function pointers to
GLSL ARB functions.

Windows XP client OpenGL API version is 1.1, which does not know anything
about shaders, that why you have to use the OpenGL extension mechanism to
get pointers of function related to GLSL, those being located in the
driver.

So what you will have to do once the opengl context created is to load
function pointers via wglXGetProcAddress (or something named like that),
then use those function pointers.

-- 
folays
 




 2 Posts in Topic:
GLSL windows binary
swtsvn <sujatha.1psg@[  2008-06-12 08:48:41 
Re: GLSL windows binary
folays <folays@[EMAIL   2008-06-12 15:59:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 4:21:26 CST 2008.