1. Any Way For Euphoria To Interface With Gfx Cards
- Posted by Lone_EverGreen_Ranger Sep 03, 2009
- 1176 views
Hey Guys,
Is there any way that Euphoria can interface with graphics cards on the machine level? It would be really for Eu to do this, very helpful with game development.
2. Re: Any Way For Euphoria To Interface With Gfx Cards
- Posted by euphoric (admin) Sep 03, 2009
- 1164 views
Is there any way that Euphoria can interface with graphics cards on the machine level? It would be really for Eu to do this, very helpful with game development.
On Windows, I don't think anybody can do that. I thought they mostly go through APIs like DirectX or OpenGL or SDL.
3. Re: Any Way For Euphoria To Interface With Gfx Cards
- Posted by DerekParnell (admin) Sep 03, 2009
- 1165 views
Hey Guys,
Is there any way that Euphoria can interface with graphics cards on the machine level? It would be really for Eu to do this, very helpful with game development.
I suppose there is, but for speed and ease I recommend that you use one of the dedicated libraries such as OpenGL. These have had thousands of man-hours invested in them and are about as fast as anyone can get them. Performance depends more on which algorithm to use rather than which programming language or technique one uses. These libraries have been tested to death and are very bug free and use top algorithms. Why bother trying to reinvent the wheel
4. Re: Any Way For Euphoria To Interface With Gfx Cards
- Posted by Lone_EverGreen_Ranger Sep 03, 2009
- 1147 views
Hey Guys,
Is there any way that Euphoria can interface with graphics cards on the machine level? It would be really for Eu to do this, very helpful with game development.
I suppose there is, but for speed and ease I recommend that you use one of the dedicated libraries such as OpenGL. These have had thousands of man-hours invested in them and are about as fast as anyone can get them. Performance depends more on which algorithm to use rather than which programming language or technique one uses. These libraries have been tested to death and are very bug free and use top algorithms. Why bother trying to reinvent the wheel
OK, do the DirectX and OpenGL libs work with Eu 4? Also, I think they could use some work as well. I might take a gander at them and see what I can do.
5. Re: Any Way For Euphoria To Interface With Gfx Cards
- Posted by jeremy (admin) Sep 03, 2009
- 1147 views
- Last edited Sep 04, 2009
OK, do the DirectX and OpenGL libs work with Eu 4? Also, I think they could use some work as well. I might take a gander at them and see what I can do.
DirectX is Windows only, OpenGL is cross platform, SDL will wrap (I think) both of those and provide a whole lot more functionality than either of them, functionality common to game/graphics development. I'd look first at SDL. In the archive, a search for SDL shows quite a bit already done with Euphoria.
Jeremy
6. Re: Any Way For Euphoria To Interface With Gfx Cards
- Posted by Lone_EverGreen_Ranger Sep 03, 2009
- 1188 views
- Last edited Sep 04, 2009
OK, do the DirectX and OpenGL libs work with Eu 4? Also, I think they could use some work as well. I might take a gander at them and see what I can do.
DirectX is Windows only, OpenGL is cross platform, SDL will wrap (I think) both of those and provide a whole lot more functionality than either of them, functionality common to game/graphics development. I'd look first at SDL. In the archive, a search for SDL shows quite a bit already done with Euphoria.
Jeremy
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.
7. Re: Any Way For Euphoria To Interface With Gfx Cards
- Posted by euphoric (admin) Sep 03, 2009
- 1182 views
- Last edited Sep 04, 2009
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:
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.
8. Re: Any Way For Euphoria To Interface With Gfx Cards
- Posted by mic_ Sep 04, 2009
- 1134 views
The programs here make use of SDL_Wrap and version 030130 of EuGL
Yikes, that's pretty old. Iirc, most of the stuff related to shaders were added in the latest version of EuGL, i.e. the one from march 2008.