大部分知识都是相通的,Maya和USD在设计上有很多相似之处,USD的Schema粗看很难理解,但实际上与Maya的MFn有着异曲同工之处.这篇文章会简单介绍一下这两个知识点,做个对比,了解下它们在各自环境下的使用套路,长长姿势,帮助看官们融会贯通,闻一知十. 废话不多说,正文开始. 首先我们来看看USD中的Schema: USD defines a schema as an object whose purpose is to author and retrieve structured da…
也是常见套路. # coding = utf-8 def rec_mc(coin_value_list, change, know_results): min_coins = change if change in coin_value_list: know_results[change] = 1 return 1 elif know_results[change] > 0: return know_results[change] else: for i in [c for c in coin_…