better readme, remove constant file and changed file permission
This commit is contained in:
@@ -2,6 +2,19 @@
|
|||||||
|
|
||||||
Blender addon for rendering setup and checks
|
Blender addon for rendering setup and checks
|
||||||
|
|
||||||
|
## Environment variable available:
|
||||||
|
|
||||||
|
File Output path templates :
|
||||||
|
- `RENDERTOOLBOX_EXR_PATH_TEMPLATE` : single base path file output
|
||||||
|
- `RENDERTOOLBOX_MULTILAYER_PATH_TEMPLATE` : multilayer base path file output
|
||||||
|
|
||||||
|
Default Technical passes names:
|
||||||
|
|
||||||
|
`RENDERTOOLBOX_TECH_PASSES` : comma separated list of socket names to separate as technical.
|
||||||
|
ex: `ao, vector, ...`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
### Cloning
|
### Cloning
|
||||||
1. Create a development directory, such as:
|
1. Create a development directory, such as:
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
# Technical pass names (names that should be in 32bit)
|
|
||||||
TECH_PASS_KEYWORDS = ['uv', 'normal', 'depth', 'position', 'vector', 'ao']
|
|
||||||
@@ -3,7 +3,6 @@ import os
|
|||||||
import re
|
import re
|
||||||
import json
|
import json
|
||||||
|
|
||||||
from .constant import TECH_PASS_KEYWORDS
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
||||||
@@ -287,7 +286,7 @@ def connect_to_file_output(node_list, file_out=None, base_path='', excludes=None
|
|||||||
|
|
||||||
if tech_pass_names:
|
if tech_pass_names:
|
||||||
# Filter tech passes
|
# Filter tech passes
|
||||||
tech_outputs = [o for o in all_outputs if o.name.lower() in tech_pass_names] # TECH_PASS_KEYWORDS
|
tech_outputs = [o for o in all_outputs if o.name.lower() in tech_pass_names]
|
||||||
# Regular outputs (excluding crypto and tech passes)
|
# Regular outputs (excluding crypto and tech passes)
|
||||||
regular_outputs = [o for o in all_outputs if o not in crypto_outputs and o not in tech_outputs]
|
regular_outputs = [o for o in all_outputs if o not in crypto_outputs and o not in tech_outputs]
|
||||||
else:
|
else:
|
||||||
|
|||||||
Regular → Executable
Regular → Executable
Regular → Executable
@@ -10,8 +10,6 @@ from bpy.props import (StringProperty,
|
|||||||
EnumProperty,
|
EnumProperty,
|
||||||
CollectionProperty)
|
CollectionProperty)
|
||||||
|
|
||||||
from ..constant import TECH_PASS_KEYWORDS
|
|
||||||
|
|
||||||
|
|
||||||
# region Search and replace
|
# region Search and replace
|
||||||
## -- Search and replace to batch rename item in collection property
|
## -- Search and replace to batch rename item in collection property
|
||||||
|
|||||||
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Reference in New Issue
Block a user