GIDForums

Go Back   GIDForums > Computer Programming Forums > FLTK Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 13-Nov-2005, 09:21
automatedreason automatedreason is offline
New Member
 
Join Date: Nov 2005
Location: germany
Posts: 2
automatedreason is on a distinguished road
Thumbs up

OpenGL in Normal FLTK Windows


hello everybody,

i'm using the new fltk (2.0). i want to use OpenGL in a normal Window.
i tried to follow the description on this page:
www.fltk.org

but it doesn't work. there is no compile error but it seems that every opengl
code (inside & outside of glstart()-glfinish() ) is simply ignored.
i nearly tried everything. of course i used subclassing with a new void draw()
method. and i also set up glVisual(RGB_COLOR | SINGLE_BUFFER) at the
beginning of my main function.
everything works fine when i use a subclass of GlWindow but then i can't
use FLTK buttons and input/output-fields.

what am i doing wrong?

greets

ps: i'm using dev-c++
  #2  
Old 13-Dec-2005, 12:26
oufan222 oufan222 is offline
New Member
 
Join Date: Dec 2005
Posts: 10
oufan222 is on a distinguished road

Re: OpenGL in Normal FLTK Windows


This link gives an example of using OpenGL via FLTK in Visual Studio. It also gives source code (links at the bottom of the page). Follow the links at the bottom of each page to go to the next tutorial.

http://www.cs.wisc.edu/~schenney/courses/cs559-f2004/tutorials/tutorial1.html

If this doesn't help, let me know.
  #3  
Old 25-Apr-2008, 05:44
Stanley Stanley is offline
New Member
 
Join Date: Apr 2008
Posts: 5
Stanley is on a distinguished road

Re: OpenGL in Normal FLTK Windows


hi,

I face the same problem, all my opengl drawings within glstart and glfinish are ignored, the above link is dead.

any help,
 

Recent GIDBlogGoing to Iraq by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command & Conquer 95 under XP dexter Computer Software Forum - Games 40 28-Apr-2008 02:48
Strange C++ code memory leakage problem gaoanyu CPP / C++ Forum 7 04-Nov-2005 08:09
[Tutorial] GUI programming with FLTK dsmith FLTK Forum 10 03-Oct-2005 15:41
FLTK and OpenGL bgarisn FLTK Forum 2 27-Jun-2005 06:22
Cannot find a runtime error on a fltk app running on windows Frangar FLTK Forum 2 12-May-2005 11:38

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 12:48.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.