OpenGL fragment and vertex shader extentions

Programming, for all ages and all languages.
Post Reply
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

OpenGL fragment and vertex shader extentions

Post 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...?
Rewriting virtual memory manager - Working on ELF support - Working on Device Drivers Handling

http://sourceforge.net/projects/jeko - Jeko Operating System
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: OpenGL fragment and vertex shader extentions

Post 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.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: OpenGL fragment and vertex shader extentions

Post 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
Post Reply