Bogdan Nagirniak BogdanNagirniak
  • Joined on 2023-02-13
Bogdan Nagirniak pushed to matx-export-material at DagerD/blender 2023-09-14 04:29:45 +02:00
1bc2f5c125 Adjusted BSDFPrincipled
f931fbc87c Merge branch 'main' into matx-export-material
6fcdcd4108 UI/I18N: Fix a couple of issues in new 'Add Modifiers' menu.
f42b02cccc Workbench: Sculpt fixes
27c8dd89e3 Fix (unreported) crash when showing VSE in some cases.
Compare 113 commits »
Bogdan Nagirniak pushed to matx-group-nodes at BogdanNagirniak/blender 2023-09-14 02:29:37 +02:00
cbc6dea879 Merge branch 'matx-export-material' into matx-group-nodes
9b836a944b MaterialX: fix review comments
Compare 2 commits »
Bogdan Nagirniak merged pull request DagerD/blender#19 2023-09-14 02:01:05 +02:00
MaterialX: fix review comments
Bogdan Nagirniak pushed to matx-export-material at DagerD/blender 2023-09-14 02:01:05 +02:00
9b836a944b MaterialX: fix review comments
Bogdan Nagirniak approved DagerD/blender#19 2023-09-14 02:00:14 +02:00
MaterialX: fix review comments

Tested - works good

Bogdan Nagirniak pushed to matx-group-nodes at BogdanNagirniak/blender 2023-09-14 01:24:56 +02:00
998e86536e Initial changes for group nodes.
9e483eace3 Move the MaterialX export code into the existing shader node files
Compare 2 commits »
Bogdan Nagirniak created branch matx-group-nodes in BogdanNagirniak/blender 2023-09-14 01:24:56 +02:00
Bogdan Nagirniak commented on pull request DagerD/blender#20 2023-09-13 17:34:45 +02:00
MaterialX: Implement export of Input nodes

I think return get_output_default can be used here

Bogdan Nagirniak commented on pull request DagerD/blender#20 2023-09-13 17:34:45 +02:00
MaterialX: Implement export of Input nodes

use one function here instead of 3 get_default(const bNodeSocket &socket, NodeItem::Type to_type)

Bogdan Nagirniak commented on pull request DagerD/blender#20 2023-09-13 17:34:45 +02:00
MaterialX: Implement export of Input nodes
Bogdan Nagirniak commented on pull request DagerD/blender#20 2023-09-13 17:34:45 +02:00
MaterialX: Implement export of Input nodes

return get_input_link("Normal", NodeItem::Type::Vector3);

Bogdan Nagirniak commented on pull request DagerD/blender#20 2023-09-13 17:34:45 +02:00
MaterialX: Implement export of Input nodes

This node I think has to be implemented in this PR

Bogdan Nagirniak commented on pull request DagerD/blender#20 2023-09-13 17:34:45 +02:00
MaterialX: Implement export of Input nodes

Start with NodeItem res = empty(); add check if (STREQ(socket_out_->name, "Color"))

Bogdan Nagirniak commented on pull request DagerD/blender#20 2023-09-13 17:34:45 +02:00
MaterialX: Implement export of Input nodes

NOTE instead TODO if there is no implementation in MatX. No need 1.38.6, just in MaterialX

Bogdan Nagirniak suggested changes for DagerD/blender#20 2023-09-13 17:34:45 +02:00
MaterialX: Implement export of Input nodes
Bogdan Nagirniak commented on pull request DagerD/blender#20 2023-09-13 17:34:45 +02:00
MaterialX: Implement export of Input nodes

add

Bogdan Nagirniak commented on pull request DagerD/blender#20 2023-09-13 17:34:45 +02:00
MaterialX: Implement export of Input nodes

start from empty(), use else if

Bogdan Nagirniak commented on pull request DagerD/blender#20 2023-09-13 17:34:45 +02:00
MaterialX: Implement export of Input nodes

I think it is implemented here, use NOTE that other properties of node are unsupported

Bogdan Nagirniak commented on pull request DagerD/blender#20 2023-09-13 17:34:45 +02:00
MaterialX: Implement export of Input nodes

use std::string name = socket_out_->name and ELEM(name, ....)

Bogdan Nagirniak commented on pull request DagerD/blender#20 2023-09-13 17:34:45 +02:00
MaterialX: Implement export of Input nodes

start from empty()