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

    Phong angle

    SDK Help
    0
    3
    351
    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 04/03/2003 at 10:55, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.012 
      Platform:      Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Trying to find the Phong angle limit on a poly model. Is it available to the SDK?

      I'm trying this from what I can decipher from the SDK help:

        
      BaseTag* thePhongTag = inNode->GetTag( Tphong );  
      thePhongAngle = thePhongTag->GetData().GetLong( 0 );  
      

      doesn't seem to return anything, so I must be doing something wrong.
      Thanks, Eric

      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 04/03/2003 at 23:24, xxxxxxxx wrote:

        That should be GetReal(PHONGTAG_PHONG_ANGLE). (See Tphong.h.)

        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 05/03/2003 at 13:17, xxxxxxxx wrote:

          hmmmm..

            
          thePhongAngle = thePhongTag->GetData().GetReal(PHONGTAG_PHONG_ANGLE);  
            
          it's returning 0 or 1. Sorry to be a pest, or i might just be dumb ;)  
          I don't assume it's in radians, because that would need to be a LONG?  
            
          Thanks, -e
          
          1 Reply Last reply Reply Quote 0
          • First post
            Last post