PLA-Keys with variable point count?
-
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
-
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.