Skip to content

Instantly share code, notes, and snippets.

Patricio Gonzalez Vivo patriciogonzalezvivo

Block or report user

Report or block patriciogonzalezvivo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View SFM.md

VisualSFM by Changchang Wu

Probably the most straight forward way to start generating Point Clouds from a set of pictures.

VisualSFM is a GUI application for 3D reconstruction using structure from motion (SFM). The reconstruction system integrates several of my previous projects: SIFT on GPU(SiftGPU), Multicore Bundle Adjustment, and Towards Linear-time Incremental Structure from Motion. VisualSFM runs fast by exploiting multicore parallelism for feature detection, feature matching, and bundle adjustment.

For dense reconstruction, this program supports Yasutaka Furukawa's PMVS/CMVS tool chain, and can prepare data for Michal Jancosek's CMP-MVS. In addition, the output of VisualSFM is natively supported by Mathias Rothermel and Konrad Wenzel's [SURE]

@patriciogonzalezvivo
patriciogonzalezvivo / postgisOSM-LAS.md
Last active Oct 4, 2019
Loading OSM and LIDar to PostGIS
View postgisOSM-LAS.md
@patriciogonzalezvivo
patriciogonzalezvivo / PythonSetup.md
Created Oct 7, 2014
How to install Python correctly on Mac OSX
View PythonSetup.md

Install Homebrew

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

Add PATH to ~/.bash_profile and ~/.zshrc

export PATH=/usr/local/bin:$PATH
View SimpleCameraFollower.md
cam.setPosition( cam.getPosition()+(targetPos-cam.getPosition())*0.01 );
cam.lookAt(targetPos);
View GL_Snips.md

Simple Quad

glBegin(GL_QUADS);
glTexCoord2f(0, 0); glVertex3f(0, 0, 0);
glTexCoord2f(width, 0); glVertex3f(width, 0, 0);
glTexCoord2f(width, height); glVertex3f(width, height, 0);
glTexCoord2f(0,height);  glVertex3f(0,height, 0);
glEnd();
View GIT-SubModules.md

First :

git submodule add ...

Then:

git clone ...
git pull && git submodule init && git submodule update && git submodule status
git submodule foreach git checkout master
@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-geom-billboard.md
Last active Jul 14, 2018
GLSL Geom shader billboard
View GLSL-geom-billboard.md
    vec2 offSet[4];
 	offSet[0] = vec2(0.,0.);
    offSet[1] = vec2(0.,1.);
    offSet[2] = vec2(1.,0.);
    offSet[3] = vec2(1.,1.);

	vec3 zAxis = normalize( vNormal[0] );
    vec3 yAxis = vec3( 0.0, 1.0, 0.0 );
    vec3 xAxis = normalize( cross(zAxis, yAxis) );
@patriciogonzalezvivo
patriciogonzalezvivo / load-files-dir.md
Last active Jul 14, 2018
Load all files on a folder with OF
View load-files-dir.md
ofDirectory dir(_path);
if(dir.exists()){
	dir.listDir();
    int total = dir.getFiles().size();
    for (int i = 0; i < total; i++) {
        cout << "Loading " << dir.getName(i) << endl;
    }
}
@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-Lights.md
Last active Apr 23, 2020
GLSL Shaders Lights Funtions
View GLSL-Lights.md
You can’t perform that action at this time.