-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mesh viewer edit #448
Mesh viewer edit #448
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just minor comment. thx
visualisation/meshViewer.cpp
Outdated
@@ -74,11 +74,13 @@ using namespace DGtal; | |||
--SDPradius FLOAT=0.5 change the ball radius to display a set of discrete points (used with displaySDP option) | |||
-s,--displaySDP TEXT add the display of a set of discrete points as ball of radius 0.5. | |||
-A,--addAmbientLight FLOAT add an ambient light for better display (between 0 and 1). | |||
-d,--doSnapShotAndExit TEXT save display snapshot into file. Notes that the camera setting is set by default according the last saved configuration (use SHIFT+Key_M to save current camera setting in the Viewer3D). If the camera setting was not saved it will use the default camera setting. | |||
-b,--customBGColor UINT x 3 set the R, G, B, A components of the colors of the sdp view |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uint x3 or uint x4 ( RGB vs RGBA) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks done ;)
4bbcd4b
to
8b12bd3
Compare
d3b19b6
to
cf5e09f
Compare
PR Description
-meshViewer: new options to change the default background color, to
load camera settings at startup, to change at startup the light
source mode attached or not to the camera and improve transparency
process at startup rendering. It includes a fix of the
-customColorMesh for obj mesh and add new possibilities to custom
the color of each mesh given as input. It also includes a fix and
some simplications of the option --doSnapShotAndExit.
Checklist
cmake
mode (otherwise, Travis C.I. will fail).