Closed usakhelo closed 4 years ago
A general comment:
Since Max 2019 update 3 Max has the possibility to interact/edit and render simultaneously in the same ActiveShade viewport. The SDK has for this a new IActiveShadeFragmentManager
class: http://help.autodesk.com/view/3DSMAX/2020/ENU/?guid=__developer_what_s_new_what_s_new_3ds_max_2020_sdk_html#rendering &
http://help.autodesk.com/view/3DSMAX/2020/ENU/?guid=__cpp_ref_class_max_s_d_k_1_1_i_active_shade_fragment_manager_html
Thanks @Mango-3 , I didn't know about this! This is so cool! Actually starting 2017 they changed interactive renderer so that some things like material changes handled by SDK. But we already have our own logic built so I thought rather than rewrite whole interactive renderer I'll just add material changes.
Hi @dictoon, Sorry, I was working on this change for sometime without updating the PR. Some of the changes here are irrelevant by now, but I'll fix your comments and then push couple of commits or probably do another PR.
Hello, This change adds the ability to change object's material interactively during Active Shade rendering mode. Please note changes to existing materials are reflected in active shade rendering. Applying new materials requires restarting of rendering.
Thanks for review!