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;
}
}
varying vec4 vPos;
varying vec3 vNormal;
void main(){
Extracted from https://github.com/rpavlik/maya2osg/tree/master/src/GLSL
varying vec2 vTexCoord;
varying vec3 vNormal;
varying vec3 vEye;
void main() {
Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative
float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
<?php
{
$output = shell_exec("cd /var/www/html/; git pull origin master;");
echo "<pre>$output</pre>";
}
die("done " . mktime());
?>
ofBuffer buffer = ofBufferFromFile(_file);
while(!buffer.isLastLine()) {
string temp = buffer.getNextLine();
if(temp.length() != 0) {
vector<string> values = ofSplitString(temp, ",");
// ofToInt(value[0]);