2022-06-06 18:44:51 +02:00
|
|
|
import os
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
|
|
|
|
module_env = env.Clone()
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
"register_types.cpp",
|
|
|
|
|
|
|
|
"algos/mm_algos.cpp",
|
|
|
|
"algos/mm_algos_bind.cpp",
|
2022-06-07 03:42:35 +02:00
|
|
|
|
|
|
|
"nodes/mm_material.cpp",
|
|
|
|
"nodes/mm_node_universal_property.cpp",
|
|
|
|
"nodes/mm_node.cpp",
|
2022-06-08 21:48:23 +02:00
|
|
|
|
2022-06-12 14:45:01 +02:00
|
|
|
"nodes/bases/curve_base.cpp",
|
|
|
|
"nodes/bases/gradient_base.cpp",
|
|
|
|
"nodes/bases/polygon_base.cpp",
|
|
|
|
|
2022-06-13 22:52:48 +02:00
|
|
|
"editor/mat_maker_gd_editor.cpp",
|
|
|
|
"editor/mm_create_name_popup.cpp",
|
|
|
|
"editor/mm_graph_node.cpp",
|
|
|
|
|
|
|
|
"editor/widgets/color_picker_popup/color_picker_popup.cpp",
|
|
|
|
|
|
|
|
"editor/widgets/curve_edit/control_point.cpp",
|
|
|
|
"editor/widgets/curve_edit/curve_dialog.cpp",
|
|
|
|
"editor/widgets/curve_edit/curve_edit.cpp",
|
|
|
|
"editor/widgets/curve_edit/curve_editor.cpp",
|
|
|
|
"editor/widgets/curve_edit/curve_view.cpp",
|
|
|
|
"editor/widgets/curve_edit/slope_point.cpp",
|
2022-06-13 23:07:53 +02:00
|
|
|
|
|
|
|
"editor/widgets/file_dialog/left_panel.cpp",
|
|
|
|
"editor/widgets/file_dialog/mat_maker_file_dialog.cpp",
|
|
|
|
|
2022-06-14 17:55:23 +02:00
|
|
|
#"editor/widgets/float_edit/float_edit.cpp",
|
2022-06-13 23:07:53 +02:00
|
|
|
|
2022-06-14 16:43:44 +02:00
|
|
|
"editor/widgets/gradient_editor/gradient_cursor.cpp",
|
|
|
|
"editor/widgets/gradient_editor/gradient_editor.cpp",
|
|
|
|
"editor/widgets/gradient_editor/gradient_popup.cpp",
|
2022-06-13 23:07:53 +02:00
|
|
|
|
2022-06-14 17:16:26 +02:00
|
|
|
"editor/widgets/image_picker_button/image_picker_button.cpp",
|
|
|
|
|
|
|
|
"editor/widgets/mm_dnd_color_picker_button/mm_dnd_color_picker_button.cpp",
|
|
|
|
|
|
|
|
"editor/widgets/polygon_edit/polygon_control_point.cpp",
|
|
|
|
"editor/widgets/polygon_edit/polygon_dialog.cpp",
|
|
|
|
"editor/widgets/polygon_edit/polygon_edit.cpp",
|
|
|
|
"editor/widgets/polygon_edit/polygon_editor.cpp",
|
|
|
|
"editor/widgets/polygon_edit/polygon_view.cpp",
|
2022-06-16 17:13:14 +02:00
|
|
|
|
2023-03-03 15:29:03 +01:00
|
|
|
"editor/widgets/tones_editor/tones_editor.cpp",
|
|
|
|
"editor/widgets/tones_editor/tones_editor_cursor.cpp",
|
|
|
|
|
2022-06-16 17:13:14 +02:00
|
|
|
"nodes/uniform/uniform.cpp",
|
2022-06-16 18:10:55 +02:00
|
|
|
"nodes/uniform/greyscale_uniform.cpp",
|
2022-06-16 18:59:21 +02:00
|
|
|
|
|
|
|
"nodes/transform/translate.cpp",
|
2022-06-16 19:26:46 +02:00
|
|
|
"nodes/transform/transform.cpp",
|
2022-06-16 20:00:15 +02:00
|
|
|
"nodes/transform/tiler.cpp",
|
2022-06-16 21:09:20 +02:00
|
|
|
"nodes/transform/shear.cpp",
|
2022-06-16 21:20:48 +02:00
|
|
|
"nodes/transform/scale.cpp",
|
|
|
|
"nodes/transform/rotate.cpp",
|
2022-06-16 21:31:35 +02:00
|
|
|
"nodes/transform/repeat.cpp",
|
|
|
|
"nodes/transform/mirror.cpp",
|
2022-06-17 01:14:46 +02:00
|
|
|
"nodes/transform/kaleidoscope.cpp",
|
|
|
|
"nodes/transform/color_tiler.cpp",
|
|
|
|
"nodes/transform/circle_map.cpp",
|
2023-03-01 00:54:14 +01:00
|
|
|
"nodes/transform/warp.cpp",
|
2022-06-17 01:38:18 +02:00
|
|
|
|
|
|
|
"nodes/simple/shape.cpp",
|
2022-06-17 10:17:17 +02:00
|
|
|
"nodes/simple/image.cpp",
|
2022-06-17 10:55:37 +02:00
|
|
|
"nodes/simple/curve.cpp",
|
2022-06-17 11:25:09 +02:00
|
|
|
|
2022-06-17 12:25:33 +02:00
|
|
|
"nodes/sdf3d/sdf3d_render.cpp",
|
2022-06-17 17:36:45 +02:00
|
|
|
"nodes/sdf3d/sdf3d_color.cpp",
|
2022-06-17 12:25:33 +02:00
|
|
|
|
2022-06-17 11:25:09 +02:00
|
|
|
"nodes/sdf3d/sdf3d_tf_translate.cpp",
|
2022-06-17 12:07:24 +02:00
|
|
|
"nodes/sdf3d/sdf3d_tf_scale.cpp",
|
|
|
|
"nodes/sdf3d/sdf3d_tf_rotate.cpp",
|
|
|
|
|
|
|
|
"nodes/sdf3d/sdf3d_shape_torus.cpp",
|
2022-06-17 13:17:08 +02:00
|
|
|
"nodes/sdf3d/sdf3d_shape_sphere.cpp",
|
|
|
|
"nodes/sdf3d/sdf3d_shape_cylinder.cpp",
|
|
|
|
"nodes/sdf3d/sdf3d_shape_cone.cpp",
|
|
|
|
"nodes/sdf3d/sdf3d_shape_capsule.cpp",
|
|
|
|
"nodes/sdf3d/sdf3d_shape_box.cpp",
|
2022-06-17 12:25:33 +02:00
|
|
|
|
2022-06-17 17:36:45 +02:00
|
|
|
"nodes/sdf3d/sdf3d_op_smooth_bool.cpp",
|
|
|
|
"nodes/sdf3d/sdf3d_op_rounded.cpp",
|
|
|
|
"nodes/sdf3d/sdf3d_op_revolution.cpp",
|
|
|
|
"nodes/sdf3d/sdf3d_op_repeat.cpp",
|
|
|
|
"nodes/sdf3d/sdf3d_op_morph.cpp",
|
|
|
|
"nodes/sdf3d/sdf3d_op_elongation.cpp",
|
2023-03-01 21:32:47 +01:00
|
|
|
"nodes/sdf3d/sdf3d_op_extrusion.cpp",
|
2022-06-17 17:36:45 +02:00
|
|
|
"nodes/sdf3d/sdf3d_op_circle_repeat.cpp",
|
|
|
|
"nodes/sdf3d/sdf3d_op_bool.cpp",
|
|
|
|
|
2022-06-17 21:38:22 +02:00
|
|
|
"nodes/sdf2d/sd_show.cpp",
|
|
|
|
|
2022-06-17 18:59:08 +02:00
|
|
|
"nodes/sdf2d/sd_shape_rhombus.cpp",
|
2022-06-17 19:58:57 +02:00
|
|
|
"nodes/sdf2d/sd_shape_polygon.cpp",
|
|
|
|
"nodes/sdf2d/sd_shape_line.cpp",
|
|
|
|
"nodes/sdf2d/sd_shape_circle.cpp",
|
|
|
|
"nodes/sdf2d/sd_shape_box.cpp",
|
|
|
|
"nodes/sdf2d/sd_shape_arc.cpp",
|
2022-06-17 18:59:08 +02:00
|
|
|
|
|
|
|
"nodes/sdf2d/sd_tf_translate.cpp",
|
|
|
|
"nodes/sdf2d/sd_tf_scale.cpp",
|
|
|
|
"nodes/sdf2d/sd_tf_rotate.cpp",
|
|
|
|
|
2022-06-17 21:38:22 +02:00
|
|
|
"nodes/sdf2d/sd_op_smooth_bool.cpp",
|
|
|
|
"nodes/sdf2d/sd_op_rounded_shape.cpp",
|
|
|
|
"nodes/sdf2d/sd_op_repeat.cpp",
|
|
|
|
"nodes/sdf2d/sd_op_morph.cpp",
|
|
|
|
"nodes/sdf2d/sd_op_circle_repeat.cpp",
|
|
|
|
"nodes/sdf2d/sd_op_bool.cpp",
|
|
|
|
"nodes/sdf2d/sd_op_annular_shape.cpp",
|
2022-06-18 00:19:06 +02:00
|
|
|
|
|
|
|
"nodes/pattern/weave.cpp",
|
|
|
|
"nodes/pattern/truchet.cpp",
|
|
|
|
"nodes/pattern/sine_wave.cpp",
|
|
|
|
"nodes/pattern/scratches.cpp",
|
|
|
|
"nodes/pattern/runes.cpp",
|
|
|
|
"nodes/pattern/pattern.cpp",
|
|
|
|
"nodes/pattern/iching.cpp",
|
|
|
|
"nodes/pattern/bricks.cpp",
|
|
|
|
"nodes/pattern/beehive.cpp",
|
2022-06-18 11:53:46 +02:00
|
|
|
|
|
|
|
"nodes/other/output_image.cpp",
|
2022-06-18 16:21:46 +02:00
|
|
|
|
|
|
|
"nodes/noise/voronoi.cpp",
|
|
|
|
"nodes/noise/noise.cpp",
|
|
|
|
"nodes/noise/fbm_noise.cpp",
|
|
|
|
"nodes/noise/color_value.cpp",
|
|
|
|
"nodes/noise/color_noise.cpp",
|
|
|
|
"nodes/noise/anisotropic_noise.cpp",
|
2022-06-18 16:49:53 +02:00
|
|
|
|
|
|
|
"nodes/gradient/radial_gradient.cpp",
|
|
|
|
"nodes/gradient/gradient.cpp",
|
|
|
|
"nodes/gradient/circular_gradient.cpp",
|
2022-06-18 23:03:34 +02:00
|
|
|
|
2022-06-19 18:38:35 +02:00
|
|
|
"nodes/filter/tonality.cpp",
|
|
|
|
"nodes/filter/swap_channels.cpp",
|
|
|
|
"nodes/filter/quantize.cpp",
|
|
|
|
"nodes/filter/mm_math.cpp",
|
|
|
|
"nodes/filter/make_tileable.cpp",
|
|
|
|
"nodes/filter/invert.cpp",
|
|
|
|
"nodes/filter/greyscale.cpp",
|
|
|
|
"nodes/filter/fill_to_uv.cpp",
|
|
|
|
"nodes/filter/fill_to_size.cpp",
|
|
|
|
"nodes/filter/fill_to_random_grey.cpp",
|
|
|
|
"nodes/filter/fill_to_random_color.cpp",
|
|
|
|
"nodes/filter/fill_to_position.cpp",
|
|
|
|
"nodes/filter/fill_to_color.cpp",
|
|
|
|
"nodes/filter/fill_channel.cpp",
|
|
|
|
"nodes/filter/emboss.cpp",
|
|
|
|
"nodes/filter/decompose.cpp",
|
|
|
|
"nodes/filter/combine.cpp",
|
|
|
|
"nodes/filter/colorize.cpp",
|
|
|
|
"nodes/filter/brightness_contrast.cpp",
|
|
|
|
"nodes/filter/blur_gaussian.cpp",
|
2023-02-28 19:00:22 +01:00
|
|
|
"nodes/filter/blur_slope.cpp",
|
2022-06-19 18:38:35 +02:00
|
|
|
"nodes/filter/blend.cpp",
|
|
|
|
"nodes/filter/adjust_hsv.cpp",
|
2023-02-28 21:27:37 +01:00
|
|
|
"nodes/filter/tones_step.cpp",
|
2023-03-02 09:03:25 +01:00
|
|
|
"nodes/filter/tones_map.cpp",
|
2023-03-03 15:29:03 +01:00
|
|
|
"nodes/filter/tones.cpp",
|
2022-06-06 18:44:51 +02:00
|
|
|
]
|
|
|
|
|
2022-06-14 18:27:36 +02:00
|
|
|
if env["tools"]:
|
|
|
|
sources.append("editor_plugin.cpp")
|
2022-06-06 18:44:51 +02:00
|
|
|
|
|
|
|
module_env.add_source_files(env.modules_sources, sources)
|
|
|
|
|