Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    RayLightComponent structure

    Scheduled Pinned Locked Moved Bugs
    3 Posts 0 Posters 623 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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:

      User Information:
      Cinema 4D Version:   R12 
      Platform:      
      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?

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 18/11/2010 at 07:40, xxxxxxxx wrote:

        thanks, fixed.

        cheers,
        Matthias

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 19/11/2010 at 03:38, xxxxxxxx wrote:

          That's great, thanks Matthias.

          Steve

          1 Reply Last reply Reply Quote 0
          • First post
            Last post