-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import animation channels #37
Comments
Do you need some help with it? Or maybe can guide me where in the code to look for? |
@vitos1k Don't worry I'm on it, been busy the last few days. Hoping to have a working version by end of week. |
I have solution that can be tested on the The way I implemented it is that the column names are the channel paths, so any channel can be imported, not just the camera object. @vitos1k this means you'll need to adjust your script a bit, or modify the csv before importing it. Here's a test file example3.csv that shows the correct way (with values based off of your example). Let me know if this works for you. |
It works, as in it imports data and animation is playing. BUT! It seems that some rotations are inverted??.
comaprison.mp4
composite.mp4Also a question how one can find out Full chanel name? for example if i want to synchronize Affine Translate animation with animation of a slider in blender? Is there any tooltip ? |
The problem with the camera orientation is probably caused by the different coordinates systems used in Blender and IFSRenderer. This is what Blender uses. And this is how it works in IFSRenderer:
In other words, Blender uses right-handed coordinate system, and IFSRenderer uses left-handed coordinate system. This is something your conversion script could handle, not the import feature of IFSR. Found a thread that should help you add this conversion to the script. Ideally you won't need to add any tilting to work correctly. As for the channel paths, you are right they aren't shown anywhere. But instead of tooltips I'll try to figure out a way to be able to copy-paste them. In the meantime you can also peek at the saved fractal file to see them. |
Thanks alot! I'll try it tomorrow when will be near my machine. And i'll modify my script to take into account left-handedness. Will report back here |
Yep works as expected! i've updated my scrip for blender here https://github.com/vitos1k/pipelinetools/blob/master/io_export_anim.py Also as a request is it possible add function to export animation in csv file? For example Create interesting pattern in IFSRenderer, create few keypoints for camera animation, export it to blender, polish animation, add aditional graphics. And then reimport new polished animation into IFSRenderer for final render. |
@vitos1k Awesome, thanks for testing it out. The feature will be available in the next release 👍 As for the CSV export, I feel its a bit out-of-scope but I'll think about it. Feel free to open another Issue or send a PR for this |
This would enable the integration of IFSRenderer into existing animation pipelines. The goal would be importing a CSV file containing various animation channels, primarily for camera parameters.
The request comes from @vitos1k in this forum discussion.
The text was updated successfully, but these errors were encountered: