Sign in to follow this  
serratemplar

xwindows and opengl

Recommended Posts

serratemplar    1656
I've been searching the web for like an hour now and I'm getting a bit frustrated. I've managed to locate all the header and library files I need to potentially build an OpenGL app for xwindows in Linux (Ubuntu, and CentOS are my target distributions right now). However I can't find any tutorials on openning my own xwindow (using I presume XCreateWindow or glxCreateWindow or one of those), and very little in the way of documentation. Any thoughts or links would be greatly appreciated. I've got several OpenGL apps up and running under Windows XP, and I'm looking forward to porting them (they're very simple) to see how it works. Thanks.

Share this post


Link to post
Share on other sites
serratemplar    1656
Hey guys, thanks for the quick replies.

I downloaded the SDL example code onto my Ubuntu system, and immediately installed what I believe to be all of the SDL developement stuff I might need. The example code compiles and runs, and in the term window that I run it from it prints a FPS report...however in the window it opens I see only black.

Wouldn't expect the tutorial to be bad, but I'm gonna check thru the OpenGL code to see if it's in error. Reason I'm posting this update is, well, if this is something you've run into, or if you see the bug before I do =), I'd appreciate it.

Cheers.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this