Sign in to follow this  

SDL+OpenGL "Beryl"

This topic is 3846 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Right now I have a media front-end for Car PCs (google "nghost"). All the graphics stuff is in SDL. I've been looking into OpenGL and I want to add a beryl-like spinning cube transition effect between screens. Is there an easy way for me to do this (I already know how to get an SDL_Surface texture onto the cube... well kinda) without having to rewrite all of my SDL code? Any help would be greatly appreciated. Thanks P.S. if any SDL/GL experts are looking for a progressive project you might consider nGhost Media Center. It may come in useful when you want to do more with your car stereo than listen to the same old 11 tracks all the time (ie carPC's do live internet, GPS, 1000's of movies and music tracks, and so much more...).

Share this post


Link to post
Share on other sites
Switching from SDL's 2D rendering to opengl will require a near total rewrite of your rendering code. The two are incompatible for the actual rendering.

However, you can still use SDL for window creation, event handling, and input, as well as to load or procedurally generate your textures. But as for actually rendering the stuff to the screen, that part will have to be totally replaced.

Share this post


Link to post
Share on other sites

This topic is 3846 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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