Update Texture references
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/02/2008 at 17:07, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R9-R10.5
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;---------
Here's a situation where I can't find an easy method which works.BaseDocument::GetAllTextures() is great if you just want a list of the Texture image files referenced in a document. But how does one 'SetAllTextures()', say, to update any references that need changing? Yes, yes, you can get each Material and each Channel and set their Texture references (my current method). But this doesn't consider Shaders and plugin Materials or Shaders.
Obviously, Cinema 4D itself can know about all of them. Why can't we plugin developers?
Thanks,