• AlexeyAB's avatar
    Added ability to disable lighting in the viz-module. · fcbb57a6
    AlexeyAB authored
    When I reconstructed the 3D scene I want to show it as viz::WMesh with an initial value of lighting. For this I disable lighting and shadows:
    cv::viz::Viz3d viz_3d_window("3D");
    viz_3d_window.setRenderingProperty("mesh", cv::viz::LIGHTING, 0);
    
    Most of the examples show the 3D reconstruction using the point cloud, but using  the mesh one part of it creates a shadow on other parts of it if lighting ON.
    Using a 3D mesh with disabled lighting gives the most realistic picture of the reconstructed 3D scene.
    fcbb57a6
Name
Last commit
Last update
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.tgitconfig Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...