Tnormal, Tphong: A smoothing question
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/07/2005 at 04:19, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.503
Platform: Windows ;
Language(s) : C++ ;---------
Hi,I'm working on a plugin that generates virtual polygon objects (spline patches). Now I'm looking for a solution for a phong smoothing between several objects. I want to fit the normals of the outer edges to the ones of the neighbour patch.
By now, I tried op->MakeVariableTag(Tnormal, vcnt). It works although the documentation doesn't mention Tnormal as usable type parameter(!). Now, I'm able to set the normals for each polygon point.
BUT: Now the attached phong tag hasn't any effect any more. And another disadvantage is, that I now HAVE TO calculate resp. set each normal.
Is there any idea how to manipulate some normals (in this case the outer edge normals) of a virtual polygon object while keeping the phong tag functionality?
Is it possible to manipulate the output data of the phong tag?
Klaus