Skip to content

Latest commit

 

History

History
104 lines (74 loc) · 2.25 KB

README.md

File metadata and controls

104 lines (74 loc) · 2.25 KB

vanadium

vanadium is a Visual Contents Management System for openFrameworks Intermediates, especially Vj etc.

This is a fragment of code!!

ss

Feature

  • Drag&Drop Interface
  • Multi Preset
  • render 2D&3D scene
  • create normal from world coordnate (you dont need to normal always)
  • Flat Shading only
  • Deferred Rendering
  • SSAO
  • Bloom

How to build

  • openFrameworks v0.10.1
  • windows 10 (not tested on mac)
  1. Update oF's GLFW library

This project is using imgui on experimental branch to use a docking system. So to build this project, you have to replace glfw to latest now.

  1. git clone
git clone --recursive https://github.com/yumataesu/vanadium
  1. create project from PG.
  2. Build

How to add your visual

  1. Add the following template to Layers folder If you write 3D scene, you have to add set3D() in setup.
#pragma once
#include "ofMain.h"
#include "ofxGen.h"
#include "ofxAutoReloadedShader.h"
using namespace ofx::Gen;

namespace Layers {
class Your_layer : public BaseLayer
{
public:
	void setup() override {
		set3D();
	}
	~Your_layer() {}
	void update(const double delta_time) override {}
	void draw() override {}
	void bang() override {}
private:
};
}
  1. Write your scene with these variable
  • width_ : canvas width
  • height_ : canvas height
  • parameter_group_ : parameter group for save/load (If you save/load parameter, write parameter_group_.add(your_v.set("Value", 0.0, 0.0, 10.0)) in setup
  • render_shader_ : it is important if you render 3d scene. see this
  1. register your class to manager class
ofxGen::Manager::registeration<Layers::Your_layer>("Your_layer"); // in ofApp::setup

UI

slot

1 Layer Delete Button
2 Layer Alpha
3 Preset Combo Box
4 User defined parames(ofParameter)
5 Update(save) currrent preset
6 Add new preset as json
7 Get screenshot for thumbnnail