Re: Graphical programming
- Posted by Euman Aug 01, 2013
- 1838 views
Hello the answer to that question is yes, you can call C from euphoria.. :)
a search for opengl on rapideuphoria.com returns several demos and wrappers yet most are in the windows archive section.
OpenGL is by-far the lowest you can get to the hardware, well, for the modern graphics card GPU's like ATI and nVidia, both of these companies make their graphics drivers adhere very closely to accelerating the OpenGL code. You will hear in your prep work about "GLUT" and "freeGlut" they are simple windowing application programming interface (API) that allows you to create and manage windows containing OpenGL contexts on a wide range of platforms and also read the mouse, keyboard and joystick functions. "GLUT" makes it considerably easier to learn about and explore OpenGL programming. The original GLUT library seems to have been abandoned however freeglut continues to keep track with OpenGL making it a better alternative. And then there is "SDL" which acts as a cross-platform wrapper, providing support for 2D pixel operations, sound, file access, event handling, timing and threading. It is often used to complement OpenGL by setting up the graphical output and providing mouse and keyboard input, which are not supported by older versions of OpenGL.
get into one of the above mentioned wrappers that have been wrapped using euphoria..
WINDOWS OS
A library for accessing the powerful 3-D animated graphics of OpenGL by Mic
* http://www.rapideuphoria.com/euglr9.zip
A wrapper for GLUT by Mic
* http://www.rapideuphoria.com/glue4.zip
A wrapper for freeglut by Elliott Sales de Andrade
* http://www.rapideuphoria.com/freeglut-2.2.0.zip
LINUX (specific)
A wrapper for SDL by Mark Akita
* http://www.rapideuphoria.com/sdl_wrap.tar.gz
These are just a few, there are lots of wrappers in euphoria for these but Im not entirely sure all of them work with the latest version of euphoria..
I did test glue4 up there on windows 8 last night and it worked fine.
start hanging around some of the better known tutor sites for OpenGL.
Neon Helium http://nehe.gamedev.net/
OpenGL tutorials http://www.opengl-tutorial.org/
also, be prepared to learn 3D modeling using blender or 3DS Max..
Ive tried sketchup but it doesnt create the collada files properly
Good luck and have fun!
get into one of the above mentioned wrappers that have been wrapped using euphoria..
WINDOWS OS
A library for accessing the powerful 3-D animated graphics of OpenGL by Mic
* http://www.rapideuphoria.com/euglr9.zip
A wrapper for GLUT by Mic
* http://www.rapideuphoria.com/glue4.zip
A wrapper for freeglut by Elliott Sales de Andrade
* http://www.rapideuphoria.com/freeglut-2.2.0.zip
LINUX (specific)
A wrapper for SDL by Mark Akita
* http://www.rapideuphoria.com/sdl_wrap.tar.gz
These are just a few, there are lots of wrappers in euphoria for these but Im not entirely sure all of them work with the latest version of euphoria..
I did test glue4 up there on windows 8 last night and it worked fine.
start hanging around some of the better known tutor sites for OpenGL.
Neon Helium http://nehe.gamedev.net/
OpenGL tutorials http://www.opengl-tutorial.org/
also, be prepared to learn 3D modeling using blender or 3DS Max..
Ive tried sketchup but it doesnt create the collada files properly
Good luck and have fun!