Skip to content

Instantly share code, notes, and snippets.

View seichter's full-sized avatar

Hartmut Seichter seichter

View GitHub Profile
@wolfv
wolfv / leica_disto_measurement.py
Created January 6, 2017 11:52
Python Script to get measurements from Leica Disto S910 on Linux
#!/usr/bin/env python
# Authors: Wolf Vollprecht, Timon Homberger
#
# This script is able to obtain measurements from a Leica Disto S910
# from the WIFI HotSpot the Leica is creating. Upon pressing "Enter" the script will
# trigger a measurement on the device and obtain the results on the computer.
#
# Basic instructions:
#
@Overv
Overv / HelloTriangle.cc
Created April 24, 2016 18:54
Vulkan hello triangle
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <algorithm>
#include <chrono>
#include <functional>
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
@galek
galek / pbr.glsl
Created November 4, 2015 11:10
PBR GLSL SHADER
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