Page 1 of 1

OpenGL fragment and vertex shader extentions

Posted: Mon Jun 30, 2008 3:03 am
by Jeko
How can I use OpenGL extensions like ARB_vertex_program and ARB_fragment_program? Are OpenGL extensions implemented and handled by graphics' drivers? Or...?

Re: OpenGL fragment and vertex shader extentions

Posted: Mon Jun 30, 2008 9:22 am
by Brynet-Inc
I don't even *use* OpenGL, but I found what you're looking for.. via Google! :)

<GL/glext.h> from Mesa seems to contain those "ARB" functions...

http://oss.sgi.com/projects/ogl-sample/ ... rogram.txt
http://oss.sgi.com/projects/ogl-sample/ ... rogram.txt
http://www.devmaster.net/forums/showthread.php?t=280
http://www.3ddrome.com/articles/cgshaders.php

Your Google-fu needs improvement. :)

EDIT: It would seem Mesa will use software fall back if those extensions aren't supported natviely by the card, I guess that was your question? As for Windows, I don't know.

Re: OpenGL fragment and vertex shader extentions

Posted: Mon Jun 30, 2008 9:30 am
by AJ
Jeko,

As with your other post, please take this as a warning to read the forum rules and do some background reading before you ask such a non-specific question. Looking at your other posts, you now seem to be trying to implement OpenGL without first having implemented graphics drivers.

Before doing anything else, research.

Cheers,
Adam