excessive / love3d

A 3D extension for LÖVE 0.10
Other
168 stars 7 forks source link

LÖVE3D

This library will be obsolete after LÖVE 0.11 is released, and will no longer be maintained (or will perhaps change just to a utility library). LÖVE 0.11 includes all the features this provided (and more!)

Extensions to the LÖVE 0.10 API for 3D rendering - depth testing, depth buffers on canvases, etc. Works on desktop OpenGL and OpenGL ES (tested on Raspberry Pi, should work for Android with some tweaking).

Two ways to use the API are provided. You can either use it as a regular module or tell it to inject itself into love.graphics using l3d.import(true). The latter is more user-friendly, but must be more carefully maintained with love versions (on our end).

While this can be used to make fully 3D games (and, in fact, we have), it's most reasonable to use it to lift art restrictions so you can make 2.5D games (or put 3D elements in otherwise 2D games). This is not intended to compete with the likes of any big 3D engine like Unreal Engine or Unity.

Depends on LÖVE 0.10 and CPML

You can load models using IQM.

Online documentation can be found here or you can generate them yourself using ldoc -c doc/config.ld -o index .

Usage

Examples can be found here: https://github.com/excessive/love3d-demos