Export to MatX various Texture nodes #5

Merged
Bogdan Nagirniak merged 17 commits from matx-add-tex-nodes into matx-export-material 2023-08-31 19:49:26 +02:00
Showing only changes of commit ff15a96c4f - Show all commits

View File

@ -10,11 +10,6 @@
#include <MaterialXFormat/XmlIo.h> #include <MaterialXFormat/XmlIo.h>
namespace blender::nodes::materialx { namespace blender::nodes::materialx {
/* For some reason validator complains about 'octaves' input of 'fractal3d' node (which doesn't
* even exist here) and 'in1' input of 'modulo' node, perhaps implementation is fully correct and
* similar to standart MaterialX Checkerboard node (added in 1.38.8). Also seems like USD due to
* lack of support doesn't render this material, but MaterialX Viewer and GraphEditor do. */
NodeItem TexCheckerNodeParser::compute() NodeItem TexCheckerNodeParser::compute()
DagerD marked this conversation as resolved Outdated

change create_node() signature accessory->noname = true

change create_node() signature accessory->noname = true
{ {
Image *image = (Image *)node->id; Image *image = (Image *)node->id;