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

    ambient() and diffuse() color retrieval

    SDK Help
    0
    3
    306
    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
      Helper
      last edited by

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

      On 02/01/2004 at 19:59, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   6.303 
      Platform:   Windows  ;   
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      I am attempting to port some shader from the RenderMan companion over to COFFEE.
      I need to be able to retrieve the ambient lighting color and the diffuse lighting component of the point being shaded i.e. something like diffuse(N), where N is the normal of the point currently being shaded.
      Any ideas?
      Cheers

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

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

        On 03/01/2004 at 04:59, xxxxxxxx wrote:

        Have a look at the BaseVolumeData that you can access through a shader in Cinema 4D. There you can get all those information afai can see.

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

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

          On 03/01/2004 at 05:01, xxxxxxxx wrote:

          upps, haven´t seen this is coffee. In COFFEE all this is directly in the VolumeData Class

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