THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/11/2010 at 02:58, xxxxxxxx wrote:
Cinema 4D Version: R12
Language(s) : C++ ;
In the SDK docs from R10 right through to R12, this structure apparently has two members - diffuse and specular - which the illum model fills in. However, in the SDK itself these members don't exist. In the header c4d_raytrace.h for R10 and R11 there are instead diffuse_ex and specular_ex (I'm guessing these were deprecated from earlier SDK versions) and two other members, rdiffuse and rspecular, which are not listed in the SDK.
In R11.5 and R12, the _ex versions are gone, and the rdiffuse/rspecular members are there. The docs are identical to the R10 version though. The SDK examples show rdiffuse and rspecular being used, so that's clearly the way to go.
Could the SDK docs be updated to correct the confusion with the structure members please?