Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.
C++ 3d3d-sculptingcppdear-imguidigital-sculptingfbxgame-developmentgaussian-splattinggltfimage-to-3dmcpopenglopenusdsculptingtext-to-3dunreal-engine
UI test: real 0.11.1 settings (Classic, Maya, Blender) keep every mask gesture working in main
islandmed68e0ea8e7ac2
diff --git a/tests/ui/data/prefs/ui_0_11_1_blender.json b/tests/ui/data/prefs/ui_0_11_1_blender.jsonnew file mode 100644index 00000000..8844c5d3--- /dev/null+++ b/tests/ui/data/prefs/ui_0_11_1_blender.json@@ -0,0 +1,202 @@+{+ "version": 1,+ "shortcuts": {},+ "prefs": {+ "popupInfo": true,+ "helpOpacity": 0.970000029,+ "tooltipDelay": 0.5,+ "reduceMotion": false,+ "oneSubpalette": true,+ "autoCollapseLeft": true,+ "autoCollapseRight": false,+ "uiScale": 0,+ "libraryAtStartup": true,+ "libraryFolder": "",+ "cameraNotch": 0,+ "turntable": true,+ "inputStyle": "blender",+ "emulateNumpad": false,+ "rightClickQuickMenu": true,+ "brushSort": "az",+ "alphaSort": "az",+ "materialSort": "az",+ "librarySort": "az",+ "spaceCamera": false,+ "emulate3Button": false,+ "mayaZoomHorizontal": true,+ "invertZoom": false,+ "quickRemesh": false,+ "remeshAfterStroke": false,+ "alongNormal": "invert_key",+ "connectedOnly": false,+ "viewFalloff": false,+ "dyntopoSmoothRemesh": 1,+ "airStrokes": false,+ "cursorFollowsSurface": true,+ "hideRingWhileStroking": false,+ "timelinePosition": "top",+ "showAxes": true,+ "axisGizmoSize": "medium",+ "showViewFigure": false,+ "alphabeticalPalettes": false,+ "look": {+ "name": "forge",+ "scheme": "neutral",+ "matchOmarchy": false,+ "phosphor": "green",+ "effects": false,+ "outlines": "subtle",+ "outlineOpacity": 1+ },+ "layout": "sculptforge",+ "language": "en",+ "tablet": {+ "pressureCurve": {+ "gamma": 1,+ "min": 0,+ "max": 1,+ "threshold": 0,+ "fullAt": 1+ },+ "eraser": "invert",+ "buttons": [+ "right_click",+ "invert",+ "pan"+ ],+ "mouseMode": false+ },+ "spaceMouse": {+ "enabled": true,+ "speed": 1,+ "deadZone": 0.0799999982,+ "invert": [+ false,+ false,+ false,+ false,+ false,+ false+ ],+ "turntable": false,+ "dominant": false,+ "holdWhileStroking": true,+ "buttons": [+ "view.frame",+ "view.front",+ "",+ "",+ "",+ "",+ "",+ ""+ ]+ },+ "antialiasing": 4,+ "fastNavigation": true,+ "viewResolution": 100,+ "multithreading": true,+ "predictiveStrokes": false,+ "draftStrokes": false,+ "liveMove": false,+ "backgroundPreview": false,+ "fastUpload": false,+ "fastBigBrushes": false,+ "dyntopoConstantDetail": false,+ "flatShading": false,+ "viewportCursor": 0,+ "backfaceCulling": false,+ "background": "gradient",+ "backgroundColor": [+ 0.167999998,+ 0.167999998,+ 0.167999998+ ],+ "showHints": true,+ "hiddenHints": []+ },+ "radialMenus": [+ {+ "name": "Brushes",+ "button": "none",+ "slots": [+ {+ "action": "brush.standard"+ },+ {+ "action": "brush.clayblock"+ },+ {+ "action": "brush.move"+ },+ {+ "action": "brush.sharpcrease"+ },+ {+ "action": "brush.inflate"+ },+ {+ "action": "brush.pinch"+ },+ {+ "action": "brush.flatten"+ },+ {+ "action": "brush.tendril"+ }+ ]+ },+ {+ "name": "Masking",+ "button": "none",+ "slots": [+ {+ "action": "mask.invert"+ },+ {+ "action": "mask.lasso"+ },+ {+ "action": "mask.clear"+ },+ {+ "action": "mask.rect"+ },+ {+ "action": "mask.all"+ },+ {+ "action": "mask.pen"+ },+ {+ "action": "view.mask",+ "label": "View Mask"+ },+ {+ "action": "facegroup.group_masked"+ }+ ]+ },+ {+ "name": "Strokes",+ "button": "none",+ "slots": [+ {+ "action": "stroke.type.dots"+ },+ {+ "action": "stroke.type.drag_stamp"+ },+ {+ "action": "stroke.type.slide_stamp"+ },+ {+ "action": "stroke.type.spray"+ },+ {+ "action": "stroke.type.lazy"+ }+ ]+ }+ ]+}diff --git a/tests/ui/data/prefs/ui_0_11_1_classic.json b/tests/ui/data/prefs/ui_0_11_1_classic.jsonnew file mode 100644index 00000000..a42b79f4--- /dev/null+++ b/tests/ui/data/prefs/ui_0_11_1_classic.json@@ -0,0 +1,202 @@+{+ "version": 1,+ "shortcuts": {},+ "prefs": {+ "popupInfo": true,+ "helpOpacity": 0.970000029,+ "tooltipDelay": 0.5,+ "reduceMotion": false,+ "oneSubpalette": true,+ "autoCollapseLeft": true,+ "autoCollapseRight": false,+ "uiScale": 0,+ "libraryAtStartup": true,+ "libraryFolder": "",+ "cameraNotch": 0,+ "turntable": true,+ "inputStyle": "classic",+ "emulateNumpad": false,+ "rightClickQuickMenu": true,+ "brushSort": "az",+ "alphaSort": "az",+ "materialSort": "az",+ "librarySort": "az",+ "spaceCamera": false,+ "emulate3Button": false,+ "mayaZoomHorizontal": true,+ "invertZoom": false,+ "quickRemesh": false,+ "remeshAfterStroke": false,+ "alongNormal": "invert_key",+ "connectedOnly": false,+ "viewFalloff": false,+ "dyntopoSmoothRemesh": 1,+ "airStrokes": false,+ "cursorFollowsSurface": true,+ "hideRingWhileStroking": false,+ "timelinePosition": "top",+ "showAxes": true,+ "axisGizmoSize": "medium",+ "showViewFigure": false,+ "alphabeticalPalettes": false,+ "look": {+ "name": "forge",+ "scheme": "neutral",+ "matchOmarchy": false,+ "phosphor": "green",+ "effects": false,+ "outlines": "subtle",+ "outlineOpacity": 1+ },+ "layout": "sculptforge",+ "language": "en",+ "tablet": {+ "pressureCurve": {+ "gamma": 1,+ "min": 0,+ "max": 1,+ "threshold": 0,+ "fullAt": 1+ },+ "eraser": "invert",+ "buttons": [+ "right_click",+ "invert",+ "pan"+ ],+ "mouseMode": false+ },+ "spaceMouse": {+ "enabled": true,+ "speed": 1,+ "deadZone": 0.0799999982,+ "invert": [+ false,+ false,+ false,+ false,+ false,+ false+ ],+ "turntable": false,+ "dominant": false,+ "holdWhileStroking": true,+ "buttons": [+ "view.frame",+ "view.front",+ "",+ "",+ "",+ "",+ "",+ ""+ ]+ },+ "antialiasing": 4,+ "fastNavigation": true,+ "viewResolution": 100,+ "multithreading": true,+ "predictiveStrokes": false,+ "draftStrokes": false,+ "liveMove": false,+ "backgroundPreview": false,+ "fastUpload": false,+ "fastBigBrushes": false,+ "dyntopoConstantDetail": false,+ "flatShading": false,+ "viewportCursor": 0,+ "backfaceCulling": false,+ "background": "gradient",+ "backgroundColor": [+ 0.167999998,+ 0.167999998,+ 0.167999998+ ],+ "showHints": true,+ "hiddenHints": []+ },+ "radialMenus": [+ {+ "name": "Brushes",+ "button": "none",+ "slots": [+ {+ "action": "brush.standard"+ },+ {+ "action": "brush.clayblock"+ },+ {+ "action": "brush.move"+ },+ {+ "action": "brush.sharpcrease"+ },+ {+ "action": "brush.inflate"+ },+ {+ "action": "brush.pinch"+ },+ {+ "action": "brush.flatten"+ },+ {+ "action": "brush.tendril"+ }+ ]+ },+ {+ "name": "Masking",+ "button": "none",+ "slots": [+ {+ "action": "mask.invert"+ },+ {+ "action": "mask.lasso"+ },+ {+ "action": "mask.clear"+ },+ {+ "action": "mask.rect"+ },+ {+ "action": "mask.all"+ },+ {+ "action": "mask.pen"+ },+ {+ "action": "view.mask",+ "label": "View Mask"+ },+ {+ "action": "facegroup.group_masked"+ }+ ]+ },+ {+ "name": "Strokes",+ "button": "none",+ "slots": [+ {+ "action": "stroke.type.dots"+ },+ {+ "action": "stroke.type.drag_stamp"+ },+ {+ "action": "stroke.type.slide_stamp"+ },+ {+ "action": "stroke.type.spray"+ },+ {+ "action": "stroke.type.lazy"+ }+ ]+ }+ ]+}diff --git a/tests/ui/data/prefs/ui_0_11_1_maya.json b/tests/ui/data/prefs/ui_0_11_1_maya.jsonnew file mode 100644index 00000000..2635efba--- /dev/null+++ b/tests/ui/data/prefs/ui_0_11_1_maya.json@@ -0,0 +1,202 @@+{+ "version": 1,+ "shortcuts": {},+ "prefs": {+ "popupInfo": true,+ "helpOpacity": 0.970000029,+ "tooltipDelay": 0.5,+ "reduceMotion": false,+ "oneSubpalette": true,+ "autoCollapseLeft": true,+ "autoCollapseRight": false,+ "uiScale": 0,+ "libraryAtStartup": true,+ "libraryFolder": "",+ "cameraNotch": 0,+ "turntable": false,+ "inputStyle": "maya",+ "emulateNumpad": false,+ "rightClickQuickMenu": true,+ "brushSort": "az",+ "alphaSort": "az",+ "materialSort": "az",+ "librarySort": "az",+ "spaceCamera": false,+ "emulate3Button": false,+ "mayaZoomHorizontal": true,+ "invertZoom": false,+ "quickRemesh": false,+ "remeshAfterStroke": false,+ "alongNormal": "invert_key",+ "connectedOnly": false,+ "viewFalloff": false,+ "dyntopoSmoothRemesh": 1,+ "airStrokes": false,+ "cursorFollowsSurface": true,+ "hideRingWhileStroking": false,+ "timelinePosition": "top",+ "showAxes": true,+ "axisGizmoSize": "medium",+ "showViewFigure": false,+ "alphabeticalPalettes": false,+ "look": {+ "name": "forge",+ "scheme": "neutral",+ "matchOmarchy": false,+ "phosphor": "green",+ "effects": false,+ "outlines": "subtle",+ "outlineOpacity": 1+ },+ "layout": "sculptforge",+ "language": "en",+ "tablet": {+ "pressureCurve": {+ "gamma": 1,+ "min": 0,+ "max": 1,+ "threshold": 0,+ "fullAt": 1+ },+ "eraser": "invert",+ "buttons": [+ "right_click",+ "invert",+ "pan"+ ],+ "mouseMode": false+ },+ "spaceMouse": {+ "enabled": true,+ "speed": 1,+ "deadZone": 0.0799999982,+ "invert": [+ false,+ false,+ false,+ false,+ false,+ false+ ],+ "turntable": false,+ "dominant": false,+ "holdWhileStroking": true,+ "buttons": [+ "view.frame",+ "view.front",+ "",+ "",+ "",+ "",+ "",+ ""+ ]+ },+ "antialiasing": 4,+ "fastNavigation": true,+ "viewResolution": 100,+ "multithreading": true,+ "predictiveStrokes": false,+ "draftStrokes": false,+ "liveMove": false,+ "backgroundPreview": false,+ "fastUpload": false,+ "fastBigBrushes": false,+ "dyntopoConstantDetail": false,+ "flatShading": false,+ "viewportCursor": 0,+ "backfaceCulling": false,+ "background": "gradient",+ "backgroundColor": [+ 0.167999998,+ 0.167999998,+ 0.167999998+ ],+ "showHints": true,+ "hiddenHints": []+ },+ "radialMenus": [+ {+ "name": "Brushes",+ "button": "none",+ "slots": [+ {+ "action": "brush.standard"+ },+ {+ "action": "brush.clayblock"+ },+ {+ "action": "brush.move"+ },+ {+ "action": "brush.sharpcrease"+ },+ {+ "action": "brush.inflate"+ },+ {+ "action": "brush.pinch"+ },+ {+ "action": "brush.flatten"+ },+ {+ "action": "brush.tendril"+ }+ ]+ },+ {+ "name": "Masking",+ "button": "none",+ "slots": [+ {+ "action": "mask.invert"+ },+ {+ "action": "mask.lasso"+ },+ {+ "action": "mask.clear"+ },+ {+ "action": "mask.rect"+ },+ {+ "action": "mask.all"+ },+ {+ "action": "mask.pen"+ },+ {+ "action": "view.mask",+ "label": "View Mask"+ },+ {+ "action": "facegroup.group_masked"+ }+ ]+ },+ {+ "name": "Strokes",+ "button": "none",+ "slots": [+ {+ "action": "stroke.type.dots"+ },+ {+ "action": "stroke.type.drag_stamp"+ },+ {+ "action": "stroke.type.slide_stamp"+ },+ {+ "action": "stroke.type.spray"+ },+ {+ "action": "stroke.type.lazy"+ }+ ]+ }+ ]+}diff --git a/tests/ui/prefs_0_11_1_mask.sfui b/tests/ui/prefs_0_11_1_mask.sfuinew file mode 100644index 00000000..8f3c3e22--- /dev/null+++ b/tests/ui/prefs_0_11_1_mask.sfui@@ -0,0 +1,80 @@+# Settings saved by 0.11.1 keep every mask gesture working (ebarranco, Discord 11-05: after 0.11.1 -> 0.11.2 the+# Classic clear-mask gesture stopped; Reset Layout and Shortcuts fixed it). data/prefs/ui_0_11_1_*.json are real+# 0.11.1 ui.json files, one per input style; each is loaded as at a start, then paint, erase, invert and clear.++# --- Blender: M takes the Mask brush (Ctrl+drag unmasks), Ctrl+I inverts, Alt+M clears.+restart data/prefs/ui_0_11_1_blender.json+wait 0.2+run new_sphere subdivisions=4+key home+camera 0 0+expect_value masked == 0+expect_value input_style == 2+key m+expect_value mask_brush == 1+stroke 0.3 0.5 0.7 0.5+expect_value masked > 0+remember masked m1+hold ctrl+stroke 0.45 0.5 0.55 0.5+hold none+expect_value masked < $m1+key m+remember masked m2+key ctrl+i+expect_value masked > $m2+key alt+m+expect_value masked == 0++# --- Classic sculpting keys: Ctrl paints, Ctrl+Alt erases, Ctrl+click on the background inverts, Ctrl+drag there clears.+restart data/prefs/ui_0_11_1_classic.json+wait 0.2+run new_sphere subdivisions=4+key f+camera 0 0+expect_value masked == 0+hold ctrl+stroke 0.3 0.5 0.7 0.5+hold none+expect_value masked > 0+remember masked m1+hold ctrl+alt+stroke 0.45 0.5 0.55 0.5+hold none+expect_value masked < $m1+remember masked m2+hold ctrl+drag_path -0.4 0.5 -0.4 0.5+hold none+expect_value masked > $m2+hold ctrl+drag_path -0.4 0.5 -0.2 0.6+hold none+expect_value masked == 0+shot classic_cleared++# --- Maya: Ctrl+Alt paints, Ctrl+Alt+Shift erases, Ctrl+Alt+click on the background inverts, Ctrl+Alt+drag clears.+restart data/prefs/ui_0_11_1_maya.json+wait 0.2+key f+camera 0 0+expect_value masked == 0+hold ctrl+alt+stroke 0.3 0.5 0.7 0.5+hold none+expect_value masked > 0+remember masked m1+hold ctrl+alt+shift+stroke 0.45 0.5 0.55 0.5+hold none+expect_value masked < $m1+remember masked m2+hold ctrl+alt+drag_path -0.4 0.5 -0.4 0.5+hold none+expect_value masked > $m2+hold ctrl+alt+drag_path -0.4 0.5 -0.2 0.6+hold none+expect_value masked == 0+