feat: Add new Geometry Nodes groups for image relief and shadeless shader
- Implemented the "O Image Relief Plane" Geometry Nodes group to create a fixed-base image relief using depth images and various parameters. - Created the "O Shadeless" shader node group to display color without scene lighting while preserving shadows and reflections. - Introduced a preview feature for node groups, allowing for interactive visualization of node arrangements in an HTML format. - Added a template HTML file for rendering node previews with customizable views and controls.
This commit is contained in:
@@ -5,7 +5,7 @@ import pytest
|
||||
|
||||
|
||||
PROJECT_ROOT = Path(__file__).resolve().parents[1]
|
||||
SCRIPT_PATH = PROJECT_ROOT / "tools" / "build_node.py"
|
||||
SCRIPT_PATH = PROJECT_ROOT / "tools" / "nodes" / "cli.py"
|
||||
|
||||
|
||||
def load_launcher():
|
||||
@@ -82,11 +82,8 @@ def test_launcher_runs_asset_build_and_validations_before_tests(monkeypatch, tmp
|
||||
|
||||
launcher.main()
|
||||
|
||||
scripts = [Path(command[-1]) for command in calls[:-1]]
|
||||
assert [path.name for path in scripts] == [
|
||||
"asset_library.py", "asset_validation.py",
|
||||
"image_plane_validation.py", "cutout_validation.py",
|
||||
]
|
||||
assert all(path.is_file() for path in scripts)
|
||||
assert all(command[1:4] == ("--factory-startup", "--background", "--python") for command in calls[:-1])
|
||||
assert len(calls) == 3
|
||||
assert "runpy.run_module('tools.nodes.build', run_name='__main__')" in calls[0][-1]
|
||||
assert "runpy.run_module('tools.nodes.check', run_name='__main__')" in calls[1][-1]
|
||||
assert all(command[1:6] == ("--factory-startup", "--background", "--python-exit-code", "1", "--python-expr") for command in calls[:-1])
|
||||
assert calls[-1][1:] == ("-m", "pytest")
|
||||
|
||||
Reference in New Issue
Block a user