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

    PLA-Keys with variable point count?

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 205 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 03/05/2006 at 09:12, xxxxxxxx wrote:

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

      ---------
      Hi,

      I'm working on a simulation plugin that generates a trace by adding the current object position at every frame as points to a spline. So the point count of the spline increases with every frame. I have a function, that creates the appropriate tracks, sequences and keys and everything work fine except: At the end of the recording all PLAKeys have the final data count i.e. the point count of the complete trace spline. So I'm looking for a way, to make the PLAKey VariableTag containing only the valid data of the respective frames.

      By now, I go through every key and set the obsolete points to the position of the respective last point of the trace after recording is finished, but this has the effect, that the sweep nurbs making the trace visible in the rendering, will be irritated and will not build the nurbs.

      I won't hope, that the data count of the PLAKey's variable tag is fixed to the point count of the point object!?

      Klaus

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

        I'm afraid it must contain the same number of points as the object.

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