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
# The Maya input style (#32): Alt+left orbits, Alt+middle pans, Alt+right zooms (on the model too, without
# sculpting); Ctrl inverts a stroke, Ctrl+Alt masks; back to the classic.
run ui_look look=classic layout=classic # written for the Classic look and the classic palette bar and shelves
run new_sphere subdivisions=4
click "Preferences##palette.preferences"
click "Input##preferences.input"
click "Maya##input.style_maya"
expect_value input_style == 3
expect_value shortcut_conflicts == 0
click "Preferences##palette.preferences"
mouse_move 0.5 0.5
key f
# A plain drag adds, Ctrl+drag subtracts.
snapshot
stroke 0.3 0.5 0.7 0.5
expect_value moved_out > 0
key ctrl+z
snapshot
hold ctrl
stroke 0.3 0.5 0.7 0.5
hold none
expect_value moved_out < 0
key ctrl+z
# Alt+left on the model orbits and doesn't sculpt.
snapshot
remember camera_yaw y0
hold alt
stroke 0.3 0.5 0.7 0.5
hold none
expect_value moved == 0
expect_value camera_yaw != $y0
# Alt+middle pans.
remember camera_pan p0
hold alt
button_drag middle 0.4 0.5 0.6 0.5
hold none
expect_value camera_pan != $p0
# Alt+right zooms with a sideways drag, as Maya's dolly (#32): right zooms in, left out; up and down don't.
expect_value maya_zoom_horizontal == 1
remember camera_distance d0
hold alt
button_drag right 0.4 0.5 0.6 0.5
hold none
expect_value camera_distance < $d0
remember camera_distance d1
hold alt
button_drag right 0.6 0.5 0.4 0.5
hold none
expect_value camera_distance > $d1
remember camera_distance d2
hold alt
button_drag right 0.5 0.4 0.5 0.6
hold none
expect_value camera_distance == $d2
# Invert zoom turns it around.
click "Preferences##palette.preferences"
expect "##input.maya_zoom"
click "Invert zoom##input.invert_zoom"
expect_value invert_zoom == 1
click "Preferences##palette.preferences"
remember camera_distance d3
hold alt
button_drag right 0.4 0.5 0.6 0.5
hold none
expect_value camera_distance > $d3
click "Preferences##palette.preferences"
click "Invert zoom##input.invert_zoom"
expect_value invert_zoom == 0
click "Preferences##palette.preferences"
# Ctrl+Alt+drag on the model masks.
key f
hold ctrl+alt
stroke 0.3 0.5 0.7 0.5
hold none
expect_value masked > 0
# Ctrl+Alt+Shift+drag erases the mask (#32; not Ctrl+Shift's visibility selection).
remember masked m0
remember hidden h0
hold ctrl+alt+shift
stroke 0.3 0.5 0.7 0.5
hold none
expect_value masked < $m0
expect_value hidden == $h0
click "Preferences##palette.preferences"
click "Classic sculpting keys##input.style_classic"
expect_value input_style == 0