THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/11/2008 at 13:13, xxxxxxxx wrote:
Cinema 4D Version: 10.506
Platform: Windows ;
Language(s) : C++ ;
I'm running into a weird issue with my deformer plugin. I have setup a function that takes the point object of a deformer and calculates the vertex normal for each point of the object. So this function returns a Vector* array containing the normals of all points. Everything works fine with this function, I am able to deform off of the vertex normal direction. I call this function from within ObjectData::ModifyObject() using the provided BaseObject *op parameter.
However, if I switch views in the editor (i.e. perspective to top) and the object I am deforming is a primitive the vertex normals are lost. But, if prior to switching the editor view I convert the primitive to a point object everything behaves fine after switching views.
Thanks in advance,
On 27/11/2008 at 00:14, xxxxxxxx wrote:
Without any code it is hard to tell what could be the problem.