Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CE-6909: functional review #44

Merged
merged 3 commits into from
Oct 23, 2019
Merged

CE-6909: functional review #44

merged 3 commits into from
Oct 23, 2019

Conversation

jonathan-meier
Copy link
Contributor

address issues found in functional review for PR #25

  • don't automatically add light sources anymore, when creating Arnold materials
  • fix an infinite loop in the serlio Stingray material node, which prevented loading a scene for which both Stingray and Arnold materials have been created

Copy link
Collaborator

@mistafunk mistafunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two additional issues - please investigate. if not related to this PR, please create separate issues:

  • missing opacity maps on the vegetation (favela example): image
  • error log entries from MCHECK in PRT console when creating arnold materials on favela example:
[2019-10-22 18:39:52] [error] maya status error at /home/shaegler/esri/dev/git/serlio/src/serlio/util/MItDependencyNodesWrapper.cpp:50: (kFailure): Object does not exist (code 1)
[2019-10-22 18:39:52] [error] maya status error at /home/shaegler/esri/dev/git/serlio/src/serlio/prtMaterial/ArnoldMaterialNode.cpp:156: (kInvalidParameter): Argument is a NULL pointer (code 3)
[2019-10-22 18:39:52] [error] maya status error at /home/shaegler/esri/dev/git/serlio/src/serlio/prtMaterial/ArnoldMaterialNode.cpp:158: (kFailure): Object does not exist (code 1)
[2019-10-22 18:39:52] [error] maya status error at /home/shaegler/esri/dev/git/serlio/src/serlio/util/MItDependencyNodesWrapper.cpp:50: (kFailure): Object does not exist (code 1)
[2019-10-22 18:39:52] [error] maya status error at /home/shaegler/esri/dev/git/serlio/src/serlio/prtMaterial/ArnoldMaterialNode.cpp:156: (kInvalidParameter): Argument is a NULL pointer (code 3)
[2019-10-22 18:39:52] [error] maya status error at /home/shaegler/esri/dev/git/serlio/src/serlio/prtMaterial/ArnoldMaterialNode.cpp:158: (kFailure): Object does not exist (code 1)
[2019-10-22 18:39:52] [error] maya status error at /home/shaegler/esri/dev/git/serlio/src/serlio/util/MItDependencyNodesWrapper.cpp:50: (kFailure): Object does not exist (code 1)

@jonathan-meier
Copy link
Contributor Author

  • Fixed a bug in MItDependencyNodesWrapper, where the API of MItDependencyNodes was used in a wrong way.
  • The missing opacity maps in the Favela example are expected, since they are RGB maps and we currently only support opacity information from a texture alpha channel. There's already open issues to support RGB opacity maps in both Stingray materials (issue Stingray Materials: add support for rgb-based opacity maps #18) and Arnold materials (issue Arnold: RGB opacity maps #33).

Copy link
Collaborator

@mistafunk mistafunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM & ready for merge.

please create an issue regarding the $shaderNode variable scoping (to avoid the warning)

@mistafunk mistafunk merged commit 465dba8 into master Oct 23, 2019
@mistafunk mistafunk deleted the jon10467/CE-6909 branch October 23, 2019 15:04
@mistafunk mistafunk mentioned this pull request Oct 23, 2019
@jonathan-meier
Copy link
Contributor Author

created issue #46 for the variable shadowing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants