Warning
This project in early development
Simple 3D Engine made with Vala
Compatible with Gtk.GLArea
- Create
Vessel.Viewportin GL context
var viewport = new Vessel.Viewport();- Add nodes to
Vessel.Nodefor exampleVessel.Mesh3D
renderer.current_scene.add_child(new Mesh3D() { mesh = new BoxMesh(1) });- Call
rendermethod fromVessel.Viewportin GL context
renderer.render();- Call
resizemethod fromVessel.Viewporton each resize event from your GL context owner
renderer.resize(width, height);Example of Gtk.GLArea as GL context owner are located in example folder
- Clone
- Open in Gnome Builder
- Click
Run Project (Shift+Ctrl+Space)
$ meson setup --prefix=/usr build
$ ninja -C build install
- Fork it ( https://github.com/SpikedPaladin/Vessel/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
