Re: Any Way For Euphoria To Interface With Gfx Cards
- Posted by euphoric (admin) Sep 03, 2009
- 1184 views
Lone_EverGreen_Ranger said...
Yea SDL has a lot of wrappers and stuff done in Eu, but I'd rather go with OpenGL. I'm just looking for something to render with right now.
By going with SDL, you can go with OpenGL:
This is a series of example programs showing how to use OpenGL with SDL that were converted from C to Euphoria. The programs here make use of SDL_Wrap and version 030130 of EuGL, Mic's remarkable OpenGL interface. Essentially these files allow the Euphoria programming language to utilize all the incredibly cool 3D graphics functions in OpenGL. Why use OpenGL on top of SDL? SDL provides additional functions for audio, timing, and input that can be combined with OpenGL graphics, in short everything else you might need to create a game or other application. This set of conversions includes the first 8 out of 29 examples, so (time permitting) I'll convert some more.
I made some demos for running OpenGL in Windows (with Win32Lib), but they're so old. I'm sure they'll take quite a bit of work to update.
EUPHORIA + OpenGL Programmers Wanted