From 0a245e329a9af7df792981f1f35a70bbfaded8b9 Mon Sep 17 00:00:00 2001 From: jvech Date: Sun, 1 Jan 2023 20:18:25 -0500 Subject: feat: cli support and install rule added Now it is possible to use custom shaders and install the program on the system --- README.md | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index c1eb7aa..b51ecdc 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,28 @@ -# My 3D Dimensional World +# Mverse -The goal of this project is learning Opengl through a project, which consists in -making a convincing world with mountains and lands, this will take a while 🥲. +A minimalist feature less object file visualizer that uses opengl -# Installation +## Dependencies + +* glfw +* opengl >= 3.3 +* stb\_image + +## Installation ``` $ cd mverse -$ make +$ sudo make install ``` -# Usage - +Before running Mverse set the following environment variables (on your +`.bashrc`): ``` -$ ./mverse +export MVERSE_VERTEX=/usr/share/mverse/dummy.vsh +export MVERSE_FRAGMENT=/usr/share/mverse/dummy.fsh ``` +## Usage +``` +$ mverse [-v vertexshader] [-f fragmentshader] objfile +``` -- cgit v1.2.3-70-g09d2