From 5dbbfc48dbb27d3a38adfcb15da4e736b6f18fd5 Mon Sep 17 00:00:00 2001 From: Elie Zananiri Date: Sun, 6 Oct 2019 20:54:28 -0400 Subject: [PATCH] Update point cloud rendering. --- example/src/ofApp.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/example/src/ofApp.cpp b/example/src/ofApp.cpp index be20fbd..87ccb80 100644 --- a/example/src/ofApp.cpp +++ b/example/src/ofApp.cpp @@ -61,8 +61,9 @@ void ofApp::draw() } this->cam.begin(); + ofEnableDepthTest(); ofPushMatrix(); - ofScale(10); + ofScale(100); { auto it = this->context.getDevices().begin(); while (it != this->context.getDevices().end()) @@ -75,6 +76,7 @@ void ofApp::draw() } } ofPopMatrix(); + ofDisableDepthTest(); this->cam.end(); ofDrawBitmapString(ofToString(ofGetFrameRate()), 10, 10);