Skip to content

Instantly share code, notes, and snippets.

View fieldOfView's full-sized avatar

Aldo Hoeben fieldOfView

View GitHub Profile
@fieldOfView
fieldOfView / CaptureTest.cpp
Created October 16, 2012 08:41
A quick (and dirty?) image averager in Cinder. Uses a 32 bit (floating point) Fbo to accumulate frames.
#include "cinder/Cinder.h"
#include "cinder/app/AppBasic.h"
#include "cinder/ImageIo.h"
#include "cinder/Utilities.h"
#include "cinder/gl/Texture.h"
#include "cinder/Capture.h"
#include "cinder/gl/Fbo.h"
@fieldOfView
fieldOfView / EquirectangularRemap.pbk
Last active November 4, 2017 16:43
Equirectangular remapper Pixel Bender filter
/**
* Equirectangular remapper
* Last update: 7 November 2012
*
* Changelog:
* 1.0 - Initial release
* 2.0 - Rewrite with polar<->carthesian instead of euler<->matrix math
*
* Licensed under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
@fieldOfView
fieldOfView / EquirectangularViewer.pbk
Last active November 4, 2017 16:43
Equirectangular viewer Pixel Bender filter
/**
* Equirectangular viewer
* Last update: 6 March 2013
*
* Changelog:
* 1.0 - Initial release
*
* Licensed under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*
@fieldOfView
fieldOfView / WebGL360Video.html
Created March 7, 2013 07:57
Simple WebGL/GLSL video panorama viewer
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Simple WebGL/GLSL video panorama viewer</title>
<style>
body {
background-color: #000000;
v4l2-ctl --set-ctrl auto_exposure_bias=9
cvlc v4l2:///dev/video0 --v4l2-width 1080 --v4l2-height 1080 --v4l2-chroma h264 --sout '#rtp{sdp=rtsp://:8554/video.mp4}'
@fieldOfView
fieldOfView / printrbot_simple_metal.json
Created April 25, 2016 16:14
Printrbot Simple Metal Cura profile
{
"id": "printrbot_simple_metal",
"name": "Printrbot Simple Metal",
"version": 1,
"manufacturer": "Other",
"inherits": "fdmprinter.json",
"machine_settings": {
"machine_width": {
"default": 250
},
@fieldOfView
fieldOfView / ultimaker2_reprap.json
Last active July 5, 2016 14:38
Ultimaker 2 machine definition variation for Cura 2.1.x that uses RepRap gcode flavor instead of UltiGCode. Useful in combination with OctoPrint
{
"id": "ultimaker2_reprap",
"version": 1,
"name": "Ultimaker 2 RepRap",
"manufacturer": "Ultimaker",
"author": "Ultimaker",
"icon": "icon_ultimaker2.png",
"platform": "ultimaker2_platform.obj",
"platform_texture": "Ultimaker2backplate.png",
"file_formats": "text/x-gcode",
@fieldOfView
fieldOfView / ultimaker2_reprap.def.json
Created July 5, 2016 14:29
Ultimaker 2 machine definition variation for Cura 2.2.x that uses RepRap gcode flavor instead of UltiGCode. Useful in combination with OctoPrint
{
"id": "ultimaker2_reprap",
"version": 2,
"name": "Ultimaker 2 (reprap)",
"inherits": "ultimaker2",
"metadata": {
"visible": true,
"author": "Ultimaker",
"manufacturer": "Ultimaker",
"category": "Ultimaker",
@fieldOfView
fieldOfView / ultimaker2_plus_reprap.def.json
Last active October 22, 2016 12:16
Ultimaker 2+ machine definition variation for Cura 2.3.x that uses RepRap gcode flavor instead of UltiGCode. Useful in combination with OctoPrint
{
"id": "ultimaker2_plus_reprap",
"version": 2,
"name": "Ultimaker 2+ (RepRap)",
"inherits": "ultimaker2_plus",
"metadata": {
"author": "Ultimaker",
"manufacturer": "Ultimaker",
"category": "Ultimaker",
"quality_definition": "ultimaker2_plus",
@fieldOfView
fieldOfView / ultimaker2_extended_plus_reprap.def.json
Created October 22, 2016 12:17
Ultimaker 2 Extended+ machine definition variation for Cura 2.3.x that uses RepRap gcode flavor instead of UltiGCode. Useful in combination with OctoPrint
{
"id": "ultimaker2_extended_plus_reprap",
"version": 2,
"name": "Ultimaker 2 Extended+ (RepRap)",
"inherits": "ultimaker2_plus",
"metadata": {
"author": "Ultimaker",
"manufacturer": "Ultimaker",
"category": "Ultimaker",
"quality_definition": "ultimaker2_plus",