opencv/modules/viz/src
AlexeyAB fcbb57a63f Added ability to disable lighting in the viz-module.
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.
2016-01-14 19:02:18 +03:00
..
vtk viz: fixed memory leak 2014-10-18 18:17:42 +04:00
clouds.cpp Added cloud shading support - additional normals array is used 2014-04-08 20:31:28 +04:00
precomp.hpp Added new functionalities to viz module 2015-08-15 01:03:59 +02:00
shapes.cpp Added new functionalities to viz module 2015-08-15 01:03:59 +02:00
types.cpp Added new functionalities to viz module 2015-08-15 01:03:59 +02:00
viz3d.cpp Added new functionalities to viz module 2015-08-15 01:03:59 +02:00
vizcore.cpp iteractor work 2014-03-02 23:15:53 +04:00
vizimpl.cpp Added new functionalities to viz module 2015-08-15 01:03:59 +02:00
vizimpl.hpp Added new functionalities to viz module 2015-08-15 01:03:59 +02:00
widget.cpp Added ability to disable lighting in the viz-module. 2016-01-14 19:02:18 +03:00