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
    • Recent
    • Tags
    • Users
    • Login

    Deformer and Switching Views

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 164 Views
    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 Offline
      Helper
      last edited by

      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:

      User Information:
      Cinema 4D Version:   10.506 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hi Guys,
      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,
      Josh

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

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

        On 27/11/2008 at 00:14, xxxxxxxx wrote:

        Without any code it is hard to tell what could be the problem.

        cheers,
        Matthias

        1 Reply Last reply Reply Quote 0
        • First post
          Last post