Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Framebuffer objects in FLTK?

78 views
Skip to first unread message

Aashay Shringarpure

unread,
Jan 23, 2009, 11:33:52 PM1/23/09
to
I am trying to perform off-screen rendering in an application which
uses OpenGL via FLTK. I am mostly programming by tutorials and
examples.
One of the ways to setup off-screen rendering is by a frame-buffer
object. I was reading this tutorial: http://www.gamedev.net/reference/articles/article2331.asp
which walks you through setting it up. I tried to do this in my
program, but it just comes up with undefined references to the
functions. I have the following header files included... which one am
I missing?

#include <FL/Fl.H>
#include <FL/Fl_Gl_Window.H>
#include <FL/gl.h>
#include <GL/glu.h>

One of the errors I get:
error C3861: 'glGenFramebuffersEXT': identifier not found

I have looked around and did not find any specific examples aimed at
off-screen rendering in fltk

fungus

unread,
Jan 24, 2009, 4:56:42 AM1/24/09
to
On Jan 24, 5:33 am, Aashay Shringarpure <aash...@gmail.com> wrote:
>
> One of the errors I get:
> error C3861: 'glGenFramebuffersEXT': identifier not found
>
> I have looked around and did not find any specific examples aimed at
> off-screen rendering in fltk

It's an extension, you have to get a pointer to the function
using wglGetProcAddress (on Windows...)

Google for "opengl extensions" for more info.


--
<\___/>
/ O O \
\_____/ FTB.

Jan Boehme

unread,
Jan 26, 2009, 3:19:00 AM1/26/09
to
0 new messages