Skip to content
/ anima Public
forked from sonoro1234/anima

my tools for making videos with opengl watch them at: https://vimeo.com/user67846254

Notifications You must be signed in to change notification settings

lineCode/anima

 
 

Repository files navigation

anima

my tools for making videos with opengl watch them at: https://vimeo.com/user67846254

anima folder should be in lua folder and then

--this loads some globals
require"anima"
--create a 1200x800 canvas without SDL (with GLFW)
local GL = GLcanvas{H=800,aspect=1.5,SDL=false}

function GL.init()
  --init gl stuff here
end

function GL.imgui()
  --run imgui code here
end

function GL.draw(t,w,h)
  --do gl work here
end

GL:start()

compiling

Started a building CMake system only needing -DLUAJIT_BIN="path where you desire installation".

CMake 3.13 is needed for installing git submodules. (If your system doesnt have it it can be downloaded from https://cmake.org/download/ and then used from a script that sets the PATH)

Some CMake option to allow-disable building are:

  • ANIMA_BUILD_LUAJIT - Building of LuaJIT
  • ANIMA_BUILD_IM - Building of im
  • ANIMA_BUILD_GLFW - Building of GLFW
  • ANIMA_BUILD_SDL - Building of SDL2
  • ANIMA_BUILD_IMGUI - Building of ImGui (This needs ANIMA_BUILD_GLFW or ANIMA_BUILD_SDL)
  • ANIMA_BUILD_SNDFILE - Building of libsndfile and libsamplerate
  • ANIMA_BUILD_RTAUDIO - Building of LuaJIT-rtaudio (defaults to OFF)

About

my tools for making videos with opengl watch them at: https://vimeo.com/user67846254

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 62.3%
  • C 28.8%
  • C++ 4.9%
  • GLSL 3.3%
  • CMake 0.6%
  • Makefile 0.1%