Warning
This project in early development
Simple 3D Engine made with Vala
Compatible with Gtk.GLArea
- Create
Vessel.Viewport
in GL context
var viewport = new Vessel.Viewport();
- Add nodes to
Vessel.Node
for exampleVessel.Mesh3D
renderer.current_scene.add_child(new Mesh3D() { mesh = new BoxMesh(1) });
- Call
render
method fromVessel.Viewport
in GL context
renderer.render();
- Call
resize
method fromVessel.Viewport
on 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