mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 02:08:08 +02:00
[nodes] ScenePreview: add masks arguments
This commit is contained in:
parent
0865327af1
commit
28d57748bf
1 changed files with 16 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
__version__ = "1.0"
|
||||
__version__ = "2.0"
|
||||
|
||||
from meshroom.core import desc
|
||||
import os.path
|
||||
|
@ -66,6 +66,21 @@ One frame per viewpoint will be rendered, and the undistorted views can optional
|
|||
uid=[0],
|
||||
enabled=lambda node: node.useBackground.value,
|
||||
),
|
||||
desc.BoolParam(
|
||||
name="useMasks",
|
||||
label="Use Masks",
|
||||
description="Apply mask to the rendered geometry.",
|
||||
value=True,
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name="masks",
|
||||
label="Masks",
|
||||
description="Folder containing the masks.",
|
||||
value="",
|
||||
uid=[0],
|
||||
enabled=lambda node: node.useMasks.value,
|
||||
),
|
||||
desc.GroupAttribute(
|
||||
name="pointCloudParams",
|
||||
label="Point Cloud Settings",
|
||||
|
|
Loading…
Add table
Reference in a new issue