ambient() and diffuse() color retrieval

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

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.

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