THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/09/2011 at 12:40, xxxxxxxx wrote:
Cinema 4D Version: 12
Language(s) : C++ ;
in my TagData I Sample the color-channel Shader of a Material. I noticed, that I can just sample for example a Color Shader or a Bitmap Shader. If I try to sample a Layer Shader or a Gradient, the Sample method gives me an Access Violation Error.
Did I forget something? Btw. I only initialize the ChannelDatas UV value 'p' when calling the Sample(..) method. Do I have to initialize more values on the ChannelData, if yes, which ones?