Phong angle
-
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 -
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.)
-
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