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.
9 years ago
Antonella Cascitelli
079ceea616
Added new functionalities to viz module
...
- load OBJ file
- set offscreen rendering
- set roll angle of the camera
- get Mat screenshot of the current scene
- remove all lights from the scene
- add a custom light in the scene
- modify the size of the WImage3D widget
- added ambient property for the widget
Changed Vec3d in cv::viz::Color
Renamed method getMatScreenshotin getScreenshot
Modified showWidget
Fixed on viz::Color and reverted fix on vtkProp3D
Removed cameraRoll method
Merged load mesh method (for ply and obj file)
Fixed doc
Fixed cv::viz::WImage3D::setSize for vtk5.8
Fixed enum for cv::viz::Mesh::load
9 years ago
tcavallari
cca78e0601
Null Pointer check in vizimpl.cpp
...
Should fix #4191 (http://code.opencv.org/issues/4191 )
10 years ago
Maksim Shabunin
37c74e38f4
Python support
10 years ago
Maksim Shabunin
d01bedbc61
Removed Sphinx documentation files
10 years ago
Maksim Shabunin
91e21847e2
Some changes to make migration to 3.0 easier
10 years ago
Maksim Shabunin
1523fdcc1c
Doxygen documentation: more fixes and cleanups
10 years ago
Maksim Shabunin
397bf7f2b7
Doxygen documentation: viz
10 years ago
Maksim Shabunin
ceb6e8bd94
Doxygen documentation: cuda
10 years ago
Anatoly Baksheev
cb95d1df35
viz: fixed memory leak
10 years ago
Anatoly Baksheev
0f2b7fbc45
viz: fixed memory leak, issue 3961
10 years ago
Alexander Alekhin
55188fe991
world fix
10 years ago
Jasper
f45da9866a
Fix for VTK6.2 issue.
11 years ago
Anatoly Baksheev
3f95818252
Added cloud shading support - additional normals array is used
11 years ago
Anatoly Baksheev
0c02e5de25
minor doc fix
11 years ago
Anatoly Baksheev
24d8cbf940
Viz::setViewerPose() - changed up-vector to down (common for Computer Vision & Odometry)
11 years ago
Anatoly Baksheev
4d7a593c25
minor cmake fix fo macos
11 years ago
Anatoly Baksheev
fde0185a77
iteractor work
11 years ago
Ilya Lavrenov
099ea91823
typos
11 years ago
Anatoly Baksheev
fb7e74c511
iteractor work
11 years ago
Anatoly Baksheev
03bd82796d
source compatibility with master
11 years ago
Anatoly Baksheev
56754e907d
fixed crash for windows if console widow is closed or CTRL_C/CTRL_BRAK keys in console are pressed.
11 years ago
Anatoly Baksheev
1a5dfe421d
Added WidgetMerger, Polyline - colors support for each point independently, simple widgets now compute color array instead of setting global color
11 years ago
Anatoly Baksheev
261546f6f6
casting Vec3b operator for viz::Color
11 years ago
Anatoly Baksheev
f1c062c30a
cloud collection finalize
11 years ago
Anatoly Baksheev
5dc17f5d58
Fixed all OpenGL issues for Macos (via objective-C++ layer)
11 years ago
Anatoly Baksheev
069dd8a068
default meshlab background
11 years ago
Anatoly Baksheev
f8ccc115ef
proper render call order (fixes some issues with VTK6.1)
11 years ago
Anatoly Baksheev
17fea0dd0a
fixed size_t/int conversion warnings
11 years ago
Anatoly Baksheev
998aefd1d1
cloud collection merges data only on rendering
11 years ago
Anatoly Baksheev
eb8728d727
Updated cloud io functionality - removed dependency from VTK legacy
11 years ago
Anatoly Baksheev
1f5007f106
modified viz module header layout for 2.4 compatibility
11 years ago
Anatoly Baksheev
3dc2dbc17e
VTK off by default
11 years ago
Anatoly Baksheev
02ebc4368c
Viz initial backport, compilation fixes, moved viz/viz.hpp header according to 2.4 style
11 years ago
Anatoly Baksheev
ac035b9b8e
review comments
11 years ago
Anatoly Baksheev
4cc8f7012b
closing window
11 years ago
Anatoly Baksheev
4e18007066
fixed white spaces
11 years ago
Anatoly Baksheev
d29c3d2f0d
fixed documentation warnings
11 years ago
Anatoly Baksheev
8f15a8abdb
disabled Ubuntu workaround code for Windows
11 years ago
Anatoly Baksheev
0d12fb0346
implemented workaround of a problem with x-server for ubuntu
11 years ago
Anatoly Baksheev
7410593d55
fixed warnigns and compiler errors for Ubuntu
11 years ago
Anatoly Baksheev
d7ca0bb757
merged background color with background gradient methods, updated tests to show description of scene
11 years ago
Anatoly Baksheev
16281027af
resolved problem with multiple spin()/spinOnce()
11 years ago
Anatoly Baksheev
57d5ad5131
minor iteractor refactoring
11 years ago
Anatoly Baksheev
ffad7b699c
added test for textured mesh
11 years ago
Anatoly Baksheev
8d327fa497
updated for compatibility with VTK6.0
11 years ago
Anatoly Baksheev
e472d45d99
updated mesh reading (texture support)
11 years ago
Anatoly Baksheev
625c35a9f9
added support of texture for mesh
11 years ago
Anatoly Baksheev
74206e0159
added painted cloud widget
11 years ago
Anatoly Baksheev
3086095837
improved background gradient
11 years ago