![]() |
|
#1
|
|||
|
|||
OpenGL in Normal FLTK Windowshello 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
|
|||
|
|||
Re: OpenGL in Normal FLTK WindowsThis 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
|
|||
|
|||
Re: OpenGL in Normal FLTK Windowshi,
I face the same problem, all my opengl drawings within glstart and glfinish are ignored, the above link is dead. any help, |
Recent GIDBlog
Problems with the Navy (Chiefs) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Command & Conquer 95 under XP | dexter | Computer Software Forum - Games | 42 | 20-Sep-2008 14:30 |
| Strange C++ code memory leakage problem | gaoanyu | C++ Forum | 7 | 04-Nov-2005 09:09 |
| [Tutorial] GUI programming with FLTK | dsmith | FLTK Forum | 10 | 03-Oct-2005 16:41 |
| FLTK and OpenGL | bgarisn | FLTK Forum | 2 | 27-Jun-2005 07:22 |
| Cannot find a runtime error on a fltk app running on windows | Frangar | FLTK Forum | 2 | 12-May-2005 12:38 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The