Closed tfunatomi closed 3 years ago
@tfunatomi Thanks for a kind words. I see that description : "kwargs: dict
. Dictionary arguments to configure transform and model_matrix." is misleading. I will refine it.
In K3D we have two groups of primitives.
Defined as absolute positions:
Defined in object space and positioned in global space via modelMatrix
So k3d.vectors dosen't support model_matrix nad thats why it isn't working. Instead of animating a model_matrix you can animatate origins and vectors attribute.
@marcinofulus @tgandor this should be a part of official documentation or we should add support to model_matrix to all kind of objects.
I dive into topic. What I discovered:
already have support to additional transformation via model_matrix. So I added that also to:
So right now all k3d primitives has support to model_matrix.
so @tfunatomi thanks for that ovservation! Please look forward to next release of k3d
@artur-trzesiok I appreciate your work!
Hello, k3d is so helpful. I deeply appreciate the developers of this project.
I tried to make an animation using k3d.vectors and found an issue probably.
I understand from the below that Timeseries must be set to model_matrix in k3d.vectors https://github.com/K3D-tools/K3D-jupyter/blob/102bdbfde6058285439b589caef6a2f936e90986/k3d/factory.py#L955 and it seems correct in the below. https://github.com/K3D-tools/K3D-jupyter/blob/102bdbfde6058285439b589caef6a2f936e90986/k3d/objects.py#L1073
However, it does not show animation in my environment. The same approach worked for points, so I believe it is correct.
I appreciate it if you could help.
Best regards,