[SDL] Beginner question: OpenGL surface just as part of SDL window

Ken Rogoway Ken at HomebrewSoftware.com
Mon Feb 19 09:45:15 PST 2007


Not sure if there are other OpenGL/SDL examples, but NeHe has a lot of his
OpenGL tutorials converted over to SDL and one deals with multiple
viewports.

Look at: http://nehe.gamedev.net/

Note: When you click on one of the tutorials (#42 has the multiple
viewports) scroll down to the bottom of the page.  That is where the link to
the source for the demo is.

- Ken Rogoway
Homebrew Software

-----Original Message-----
From: sdl-bounces at lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org] On
Behalf Of Jörgen Kornfeld
Sent: Monday, February 19, 2007 11:33 AM
To: sdl at lists.libsdl.org
Subject: [SDL] Beginner question: OpenGL surface just as part of SDL window

Hi all,
is it possible to place in one window (or fullscreen) 4 different views 
on some data? So 3 ones should display 2d slices and the fourth one 
should be opengl rendered. Easy to do or are sluggish work-arounds required?

Thanks a lot,
Jörgen
_______________________________________________
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.18.2/692 - Release Date: 2/18/2007
4:35 PM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.18.2/692 - Release Date: 2/18/2007
4:35 PM
 



More information about the SDL mailing list