History

Merge pull request #802 from ey6es/master

Added a textured rendering mode for depth data that doesn't use video input; rather, it computes normals from the depth and uses local lighting.

Philip Rosedale committed 13 years ago

Commit 7583e1c2 parents b884a7a 2f2eaf812 files · +562 −312Browse files

Showing the changes to interface/src/Application.cpp (1 of 12 files). Show all

Unified · Split

interface/src/Application.cpp+2−1
@@ -1952,10 +1952,11 @@ void Application::initMenu() { · 1951 unmodified lines
19521952 _testPing->setChecked(true);
19531953 (_fullScreenMode = optionsMenu->addAction("Fullscreen", this, SLOT(setFullscreen(bool)), Qt::Key_F))->setCheckable(true);
19541954 optionsMenu->addAction("Webcam", &_webcam, SLOT(setEnabled(bool)))->setCheckable(true);
1955− optionsMenu->addAction("Toggle Skeleton Tracking", &_webcam, SLOT(setSkeletonTrackingOn(bool)))->setCheckable(true);
1955+ optionsMenu->addAction("Skeleton Tracking", &_webcam, SLOT(setSkeletonTrackingOn(bool)))->setCheckable(true);
19561956 (_wantCollisionsOn = optionsMenu->addAction("Turn collisions On", this, SLOT(toggleWantCollisionsOn())))->setCheckable(true);
19571957 _wantCollisionsOn->setChecked(true);
19581958 optionsMenu->addAction("Cycle Webcam Send Mode", _webcam.getGrabber(), SLOT(cycleVideoSendMode()));
1959+ optionsMenu->addAction("Webcam Texture", _webcam.getGrabber(), SLOT(setDepthOnly(bool)))->setCheckable(true);
19591960 optionsMenu->addAction("Go Home", this, SLOT(goHome()), Qt::CTRL | Qt::Key_G);
19601961
19611962 QMenu* audioMenu = menuBar->addMenu("Audio");