Getting Normal Vectors from Phong Tag



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

    On 15/03/2010 at 18:05, xxxxxxxx wrote:

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

    ---------
    As the subject says...

    How do you go about getting the normals generated by the Phong Tag?  I've tried looking int the Phong Tag's GetContainer() method but not see any data in there.  What/where should I be looking for this data?

    Thanks,

    Delaney.



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

    On 16/03/2010 at 00:41, xxxxxxxx wrote:

    This is not possible in COFFEE. The C++ API provides a method to retrieve phong normals though, PolygonObject::CreatePhongNormals().

    cheers,
    Matthias



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

    On 16/03/2010 at 08:03, xxxxxxxx wrote:

    Thanks for the heads up Matthias, you really stay on top of this forum!

    So I noticed some other stuff in COFFEE as well.  SetSuffix only allows extensions with 3 letters, unable to use single quotes for strings, etc.  Is COFFEE generally used for quick workflow scripts and not 'serious' plugins?  Will there ever be feature parity with the C++ SDK?  What about the py4d project?

    Basically I wanted to avoid compiling simply because of making cdl for Mac as well without having one.  Is there a way to compile cdl plugins on windows for mac both 32 & 64bit?


Log in to reply