glarea-example - Example of GtkGLArea use

  •        35

A simple example of how to use OpenGL and the GtkGLArea widget available since GTK+ 3.16. To run the example.

https://github.com/ebassi/glarea-example

Tags
Implementation
License
Platform

   




Related Projects

android_page_curl - An example application for creating page curl/flip effect on Android using OpenGL ES

  •    Java

As of this commit all "pages" will be 2-sided. There's a new class CurlPage, using which you can assign a separate texture on both sides, one for front side only, or same texture can be shared on both sides. CurlPage contains also color values for blending which allows you to e.g share texture on both sides but do alpha blending only on back side of the page, leaving you with exactly same effect what earlier version of this example application did. This time with the difference there's some more freedom included. Project for implementing 'page curl' effect on Android + OpenGL ES 1.0 (possibly 1.1/2.0 too if there's clear advantage in using them).

OpenGL-Examples - A collection of simple single file OpenGL examples

  •    C++

The purpose of thise example collection is to provide short and self contained code that showcases OpenGL api functionality/features. The examples have no dependencies on any custom framework or basecode except for "canonical" libraries such as glfw, gl3w and glm. All the examples are written against core profiles of version OpenGL version 3.3 or higher. Most of the examples try to show the targeted features in a relevant use case such as using Frame Buffer Objects for FXAA, Transform Feedback to update particles on the GPU or Occlusion Queries + Conditional Render to optimize rendering a Cube (Minecraftlike) Cave. At the same time the goal is to keep the examples short and simple enough to not lose the focus.

antons_opengl_tutorials_book - Anton's OpenGL 4 Tutorials book - Demo Code

  •    C

See "LICENCE.txt" for licence information. Each chapter with major demonstration code has a corresponding demo here. There is also an example of code for Hello Triangle for OpenGL 2.1 for reference.

gotk3 - Go bindings for GTK3

  •    Go

Care has been taken for memory management to work seamlessly with Go's garbage collector without the need to use or understand GObject's floating references. The following example can be found in gtk/examples/simple/simple.go. Usage of additional features is also demonstrated in the gtk/examples/ directory.

gotk3 - Go bindings for GTK3

  •    Go

Care has been taken for memory management to work seamlessly with Go's garbage collector without the need to use or understand GObject's floating references. The following example can be found in Examples.


gfx - A high-performance, bindless graphics API for Rust.

  •    Rust

This runs the quad example using the Vulkan backend, and then the compute example using the DirectX 12 backend. These examples assume that necessary dependencies for the graphics backend are already installed. For more information about installation and usage, refer to the Getting Started guide.

GLplot

  •    C

GLplot is a Mathematics function plotting program based on OpenGL. It can be used to plot functions in 3 dimensions. The results are not as good as Mathematica or Matlab but it gives a good example or OpenGL programming.

paper-gtk-theme - Paper Theme Suite

  •    CSS

Paper is a modern desktop theme suite. Its design is mostly flat with a minimal use of shadows for depth. Paper has been developed primarily with modern GTK3 (GNOME-based) desktop environments in mind, legacy-toolkit and GTK2 environments will not provide an ideal experience, as much of the visual design relies on modern GTK3+ widgets.

oomox - Graphical application for generating different color variations of a Oomox (Numix-based), Materia and Arc themes (GTK2, GTK3), Gnome-Colors and Archdroid icons and terminal

  •    Python

Graphical application for generating different color variations of Oomox (Numix-based), Materia (ex-Flat-Plat) and Arc themes (GTK2, GTK3, Cinnamon, GNOME, Openbox, Xfwm), Gnome-Colors and Archdroid icon themes. Have a hack for HiDPI in gtk2. AUR helpers are not officialy supported, so you can also install it manually from either rolling-release or stable PKGBUILD.

RakNet - RakNet is a cross platform, open source, C++ networking engine for game programmers.

  •    C

------------------------------------------ See Help\swigtutorial.html Upgrading from version 3 ------------------------------------------ See 3.x_to_4.x_upgrade.txt Windows users (Visual Studio 2008 and 2010) ----------------------------------------- Load RakNet_VS2008.sln and convert if necessary.After the project conversion, if you encounter error MSB4006,follow the steps below to fix it:1. Open project properties2. Click on "Common Properties"3. Click on "Framework and References"4. Look

Sugar - The SVG Advanced Renderer

  •    

A toolkit for displaying Scalable Vector Graphics (SVG), a popular, standard 2D vector imaging format. Sugar provides a method for loading the data model of a SVG document and rendering it to a variety of output devices, for example: OpenGL.

pfighter

  •    C++

This is an Open-Source 2D platform game engine, using the OpenGL API for 3D effects in a mostly 2D game. We will have the Basecode used for the project, aswell as the main engine without game specific code and an example game (Penguin Fighter) available.

openglsamples

  •    

OpenGL example code. Loading OBJ, PLY, MD2 among others

openFrameworks - openFrameworks is a community-developed cross platform toolkit for creative coding in C++

  •    C++

docs has some documentation around OF usage, per platform things to consider, etc. You should definitely take a look in there; for example, if you are on OSX, read the osx.md. apps and examples are where projects go -- examples contains a variety of projects that show you how to use OF, and apps is where your own projects will go. libs contains the libraries that OF uses, including the openframeworks core itself. addons are for additional functionality that's not part of the core. export is for DLLs and dylibs that need to be put in each compiled project. The scripts folder has the templates and small scripts for automating OF per platform. project generator is a GUI based tool for making new projects - this folder is only there in packaged releases. One idea that's important is that OF releases are designed to be self-contained. You can put them anywhere on your hard drive, but it's not possible to mix different releases of OF together, so please keep each release (0.8.0, 0.8.1) separate. Projects may generally work from release to release, but this is not guaranteed. Because OF is self-contained, there's extensive use of local file paths (ie, ../../../) throughout OF. It's important to be aware of how directories are structured. A common error is to take a project and move it so that it's a level below or above where it used to be compared to the root of OF. This means that links such as ../../../libs will break.

lightmapper - A C/C++ single-file library for drop-in lightmap baking

  •    C

lightmapper.h is a C/C++ single-file library for lightmap baking by using your existing OpenGL renderer. While the simple example application demonstrates the baking of ambient occlusion only, the library can also be used to precompute global illumination for static scene geometry by doing multiple bounces.

rust-doom - A Doom Renderer written in Rust.

  •    Rust

A little Doom 1 & 2 Renderer written in Rust. Mostly written while I was learning the language about 2 years ago, so it might not the best example of Rust code! PR-s are welcome. The code is mostly based on the endlessly useful Doom Wiki and the Unofficial Doom Specs. It is not a port of the original Doom C source code into Rust; I've been doing my best to make the code as idiomatic as possible and have not looked at the original in a long time.

ark - A compiled systems programming language written in Go using the LLVM framework

  •    Go

On the right is a gif of an example program ark-gl written in Ark using OpenGL and GLFW. Check out the contributing guide, there's a lot of information there to give you ideas of how you can help out.

ImGui.NET - An ImGui wrapper for .NET.

  •    CSharp

This is a .NET wrapper for the immediate mode GUI library, Dear ImGui (https://github.com/ocornut/imgui). ImGui.NET lets you build graphical interfaces using a simple immediate-mode style. ImGui.NET is a .NET Standard library, and can be used on all major .NET runtimes and operating systems. Included is a basic sample program that shows how to use the library, and renders the UI using Veldrid, a portable graphics library for .NET. By itself, Dear ImGui does not care what technology you use for rendering; it simply outputs textured triangles. Example renderers also exist for MonoGame and OpenTK (OpenGL).

fontstash - Light-weight online font texture atlas builder

  •    C

Font stash is light-weight online font texture atlas builder written in C. It uses stb_truetype to render fonts on demand to a texture atlas. The code is split in two parts, the font atlas and glyph quad generator fontstash.h, and an example OpenGL backend (glstash.h.