MaterialX: make caching image in MaterialX independent from bf_usd project #31

Merged
Bogdan Nagirniak merged 4 commits from matx-cache-texture_2 into matx-export-material 2023-09-22 18:12:52 +02:00

Purpose

Make caching image in MaterialX independent from bf_usd project

Technical steps

  • Added callback ExportImageFunction for image caching
  • Removed WITH_HYDRA from CMakeLists
### Purpose Make caching image in MaterialX independent from `bf_usd` project ### Technical steps * Added callback `ExportImageFunction` for image caching * Removed `WITH_HYDRA` from CMakeLists
Georgiy Markelov added 2 commits 2023-09-22 16:04:01 +02:00
Georgiy Markelov requested review from Brian Savery (AMD) 2023-09-22 16:05:20 +02:00
Georgiy Markelov requested review from Bogdan Nagirniak 2023-09-22 16:05:20 +02:00
Georgiy Markelov requested review from Vasyl Pidhirskyi 2023-09-22 16:05:20 +02:00
Bogdan Nagirniak requested changes 2023-09-22 16:26:06 +02:00
@ -17,6 +17,10 @@ namespace blender::nodes::materialx {
extern struct CLG_LogRef *LOG_MATERIALX_SHADER;
class GroupNodeParser;
typedef std::string (*ExportImageFunction)(Main *bmain,
Collaborator

Use std::function and using

Use `std::function` and `using`
DagerD marked this conversation as resolved
Georgiy Markelov added 1 commit 2023-09-22 18:01:09 +02:00
Georgiy Markelov added 1 commit 2023-09-22 18:10:30 +02:00
Bogdan Nagirniak approved these changes 2023-09-22 18:11:03 +02:00
Bogdan Nagirniak left a comment
Collaborator

Looks good

Looks good
Bogdan Nagirniak merged commit d1492f8592 into matx-export-material 2023-09-22 18:12:52 +02:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: DagerD/blender#31
No description provided.