This tutorial is partialy based on Yuriy’s Czoli article ‘Processing LiDAR to extract building heights’.
- Install Postgres, PostGIS and OSM-PostGIS tools
brew install postgis
This tutorial is partialy based on Yuriy’s Czoli article ‘Processing LiDAR to extract building heights’.
brew install postgis
I am attesting that this GitHub handle patriciogonzalezvivo is linked to the Tezos account tz1NqueFctvNCQrsELm6k4N6XfwAYu5Qp5LN for tzprofiles | |
sig:edsigtyGKhQWuzB73dYzJfELSjYJt7LwbFEsKD61WF3oVH7Lhok5dgXu3bdZth1U19QwCts7xXwaDyCh7Auqr9Cov1xTXz9Lv4s |
cam.setPosition( cam.getPosition()+(targetPos-cam.getPosition())*0.01 );
cam.lookAt(targetPos);
string serialIn; | |
unsigned char buffer[1]; | |
while( readBytes( buffer, 1) > 0){ | |
if (buffer[0] == '\n'){ | |
break; | |
} | |
serialIn.push_back(buffer[0]); | |
}; |
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) );
git clone git://github.com/jedisct1/libsodium.git | |
cd libsodium | |
git checkout tags/1.0.0 | |
./autogen.sh | |
./configure && make check | |
sudo checkinstall --install --pkgname libsodium --pkgversion 1.0.0 --nodoc | |
sudo ldconfig | |
cd .. | |
git clone git://github.com/irungentoo/toxcore.git |
void billBoard(){
ofVec3f objectLookAt = ofVec3f(0,0,1);
ofVec3f objToCam = cam.getGlobalPosition();
objToCam.normalize();
float theta = objectLookAt.angle(objToCam);
ofVec3f axisOfRotation = objToCam.crossed(objectLookAt);
axisOfRotation.normalize();
void rotateTo(ofPoint _dir){ | |
ofVec3f newTarget = _dir; | |
newTarget.normalize(); | |
ofVec3f up( 0, -1, 0 ); | |
ofVec3f axis = up.crossed( newTarget ); | |
axis.normalize(); | |
float angle = up.angle( newTarget ); | |
ofRotate( angle, axis.x, axis.y, axis.z ); | |
} |