One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| ImGuiStyle& style = ImGui::GetStyle(); | |
| style.ChildWindowRounding = 3.f; | |
| style.GrabRounding = 0.f; | |
| style.WindowRounding = 0.f; | |
| style.ScrollbarRounding = 3.f; | |
| style.FrameRounding = 3.f; | |
| style.WindowTitleAlign = ImVec2(0.5f,0.5f); | |
| style.Colors[ImGuiCol_Text] = ImVec4(0.73f, 0.73f, 0.73f, 1.00f); |
| from jinja2 import Template, Environment | |
| # The environment is used to configure the template engine | |
| # See: http://jinja.pocoo.org/docs/dev/api/#jinja2.Environment | |
| env = Environment(autoescape=False, optimized=False) | |
| # Open your template and compile into a template object. | |
| with open("template.txt", "r") as f: | |
| template = env.from_string(f.read()) |
| in vec2 v_texcoord; // texture coords | |
| in vec3 v_normal; // normal | |
| in vec3 v_binormal; // binormal (for TBN basis calc) | |
| in vec3 v_pos; // pixel view space position | |
| out vec4 color; | |
| layout(std140) uniform Transforms | |
| { | |
| mat4x4 world_matrix; // object's world position |
| cbuffer perObject : register(b0) | |
| { | |
| row_major matrix invVP; | |
| } | |
| TextureCube texCube : register(t0); | |
| SamplerState samplerState : register(s0); | |
| struct VsToPs | |
| { |
| #include <iostream> | |
| #include <map> | |
| #include <algorithm> | |
| #include <functional> | |
| #include <memory> | |
| using namespace std; | |
| class EventArgs { | |
| public: |
| // total number of samples at each fragment | |
| #define NUM_SAMPLES {{ numSamples }} | |
| #define NUM_SPIRAL_TURNS {{ numSpiralTurns }} | |
| #define USE_ACTUAL_NORMALS {{ useActualNormals }} | |
| #define VARIATION {{ variation }} | |
| uniform sampler2D sGBuffer; |
| ''' | |
| BEGIN GPL LICENSE BLOCK | |
| This program is free software; you can redistribute it and/or | |
| modify it under the terms of the GNU General Public License | |
| as published by the Free Software Foundation; either version 2 | |
| of the License, or (at your option) any later version. | |
| This program is distributed in the hope that it will be useful, | |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| #!/usr/bin/awk -f | |
| # Convert the "svn log" output into a one liner format, which is easier to grep | |
| # or use in scripts. Pipe "svn log" into this script | |
| # When we get a line that starts with a revision number, put the data in variables | |
| /^r[0-9]+/ { | |
| rev=$1 | |
| user=$3 | |
| date=$5 |