### Purpose
Need to improve Normal Maps Quality
### Technical steps
Improved warning message (as it turned out it's `HdStorm` issue)
Pull Request BogdanNagirniak/blender-addons#25
### Purpose
Fix infinite loop in preview render when generated image cached.
### Technical steps
Caching images moved from python to C++ part so caching no more triggers Depsgraph updates;
Co-authored-by: Bogdan Nagirniak <bodyan@gmail.com>
Pull Request BogdanNagirniak/blender-addons#15
### Purpose
Update after property changes.
### Technical steps
Implemented update_prop using self.socket_value_update (from blender docs: "Update after property changes").
Passed update_prop to "update" argument while generating the node's properties.
Made adjustments to generate_node_classes.py.
### NOTE
Previously generated nodes should be deleted
c:\Users\ ...\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\materialx_data\materialx_nodes\
Pull Request BogdanNagirniak/blender-addons#10
### Purpose
Transmission color doesn't affect the render result.
### Technical steps
Used base_color for specular_color, transmission_color, sheen_color, and coat_color instead of DEFAULT_WHITE_COLOR.
The difference between standard_surface and Principled BSDF is that the latter shares `base color` between diffuse reflection and refraction components.
Removes redundant code.
Pull Request BogdanNagirniak/blender-addons#11
### Purpose
`alglib` .mtlx files are not needed, it can be removed.
### Technical steps
- Removed `libraries` folder
- Removed `alglib_defs.mtlx` from node code generation.
Pull Request BogdanNagirniak/blender-addons#9
### Purpose
Extend list of supported formats due to enable OIIO for USD.
### Techical steps
Extend SUPPORTED_FORMATS with `".exr", ".open_exr", ".tif", ".tiff", ".zfile", ".tx"`
Pull Request BogdanNagirniak/blender-addons#8
### Purpose
Folder `materialx` with mtlx files moved to blender.shared in Windows.
### Technical steps
Make FILE_PATH in generated node classes to be local for MX_LIBS_DIR and MX_ADDON_LIBS_DIR.
Added blender.shared to BL_DATA_DIR for Windows.
Pull Request BogdanNagirniak/blender-addons#7
**TECHNICAL STEPS**
Added check for input types and warnings if input has inappropriate type. This check added for `Mix` and `Add` nodes for now.
Pull Request BogdanNagirniak/blender-addons#4
* Fixed generation of MaterialX nodes
* Fixed nodes `add` and `mix`
* Adjust code for other nodes to fit new requirements
**NOTE FOR REVIEWERS**
You need to regenerate MaterialX nodes for this PR
Pull Request #3
BLEN-321: Fix export to mtlx with dependencies
Fixed code in utils.export_to_file() (renamed from export_mx_to_file()).
Made code cleanups/improvements.
Changed description of addon and moved preference's register/unregister functions to preferences.py
Co-authored-by: markyandex@gmail.com <markyandex@gmail.com>
All MaterialX nodes moved to Blender shader node tree.
MaterialX nodes and Blender nodes now work between each other.
It is possible to have MaterialX surfacematerial node or Blender Material Output node for material (both works).
Moved functions import, export, print to console to Blender shader node tree.
Removed: online MatX library, unused code, MatX properties
Moved materialx/ui.py -> ui.py. deleted folder "material". small improvements
Co-authored-by: markyandex@gmail.com <markyandex@gmail.com>
* BLEN-222: Mike node link invalid if connects different types.
Registered timer for update_links.
Co-authored-by: Bogdan Nagirniak <bnagirniak@luxoft.com>
Made UI improvements: removed unused panels, fixed text, etc.
Made code cleanups and improvements, removed unused code.
Refactoring: moved NodeParser node classes to bl_nodes folder.
Fixed some TODOs.
Added mathlib module, with ui.py and manager.py.
Added properties module.
Added class MaterialXProperties to be used as a parent for addon PropertyGroups. It sets "materialx" property as parent for addon properties (bpy.context.window_manager.materialx. ...) Added constant variables MATLIB_FOLDER, MATLIB_DIR, currently, it is set to save matlib to addon appdata folder.
Added constant variables ADDON_DATA_DIR, NODE_CLASSES_FOLDER, MX_LIBS_DIR.
Added generate_init_code function to create __init__.py for node_classes.
Small fixes.