Search the Community
Showing results for tags 'GL'.
Found 2 results
[UDF] OpenGL, GLFW and SOIL
matwachich posted a topic in AutoIt Example ScriptsHi everybody! Today, is for me the culmination of a long quest: to be able to load and display an OpenGL texture And I'ts finally done! (PS: Thanks to my recent learning of the Python language, and the fact that I came back to C/C++) In the archive: - A wrapper for OpenGL and GLU (almost all basic functions are written and tested) - A wrapper for GLFW (All functions that are needed are written, and the others (timer,threading, image loading) we don't really need them, either because they are implemented natively in AutoIt (Timers), or because they are more effective in: SOIL) - A wrapper for SOIL (Simple OpenGL Image Library): Most functions are translated (for the others, I will wait my skils to grow a little!) This is the library that allowed me to achieve my quest (loading textures)! - And some examples! I hope you enjoy it! PS: the functions used in the examples work fine, others were not tested, if you find bugs, you know where to find me! PS: it is necessary to know at least the basics of OpenGL to understand what happens in the examples! PS: I included the documentation of GLFW (pdf) Important: In order to the examples to work, you must place the dlls (soil.dll, glfw.dll) in the examples folder, or in c:WindowsSystem32 Important 2: The dlls are x86, don't expect them to work on x64 DOWNLOAD
WesleyThomas posted a topic in AutoIt Example ScriptsSince struggling with writing some OpenGL stuff in autoit due to the fact of me being newish to the whole programming game and the fact that I really don't have a clue on how to write or use plugins, I thought I would share some of my code I have made that demonstrates using OpenGL with purely autoit and dll calls directly with opengl32 and glu32. I have made a start writing a GLConstants.au3 and GLFunctions.au3 files that I think should be a standard library by now in the Autoit Include folder. Any feedback would be nice Right clicking on the GUI moves the Camera around (while holding), w and s moves forward/backward and a and d spins left and right. Enjoy GLConstants.au3 GLFunctions.au3 3D Viewport.au3