I was wondering if you might be willing to share the scripts you used to do this. I am trying to animate some earthquake visualizations in blender using data time and displacement data from MATLAB, but I haven't worked with Python in years, and there don't seem to be many example scripts online.
Do you still keep your program code for GPS/INS integration with the sigma-point kalman filter? i would love to see how you did it. The results seems to be pretty cool
@JCik68 You can save the data in matlab and open it in Blender via Python and set keyframes. A second, more dynamic way is to use a UDP server in Matlab and listen to it in Blender and set the position etc. live while the simulation is running.
It doesn't take a lot of effort. Actually, I learnt Blender for this purpose, too. Within a few days if you do some tutorials you can do this.
I could send you the scripts for Blender I have used, they are easily adaptable.
Don't know how, but I think with Python you can do mainly everything you want with your imported data. Although my scripts can only rotate and move stuff.
I've been interested in doing something similar, namely creating animations in Blender based on data I recover from eg. Matlab simulations.
I've never actually used Blender. How much effort do you then suppose it would take to do something like this? Are there readily available scripts for importing trajectory data (and could one easily import data for N objects (where N is say 5000)? Furthermore, is there an easy way to import data other than simple trajectories, say surfaces?
@CaitlinJacques see here for the scripts:
www_isys_uni-stuttgart_de//lehre//seminare//3dvis//index_html
it is in german, but I think you will find what you need.
colquin 2 months ago
replace _ by . and // by / :) I could not post the link here on youtube
colquin 2 months ago
Hi,
I was wondering if you might be willing to share the scripts you used to do this. I am trying to animate some earthquake visualizations in blender using data time and displacement data from MATLAB, but I haven't worked with Python in years, and there don't seem to be many example scripts online.
Thanks!
CaitlinJacques 7 months ago
Do you still keep your program code for GPS/INS integration with the sigma-point kalman filter? i would love to see how you did it. The results seems to be pretty cool
viaduke 1 year ago
Hello,
how do you export data from Matlab to Blender please?
JCik68 1 year ago
@JCik68 You can save the data in matlab and open it in Blender via Python and set keyframes. A second, more dynamic way is to use a UDP server in Matlab and listen to it in Blender and set the position etc. live while the simulation is running.
colquin 1 year ago
@colquin thank you for the reply! btw. dont you know, if there are any useful tutorials or articles about blender+matlab cooperation?
JCik68 1 year ago
Thank you!
It doesn't take a lot of effort. Actually, I learnt Blender for this purpose, too. Within a few days if you do some tutorials you can do this.
I could send you the scripts for Blender I have used, they are easily adaptable.
Don't know how, but I think with Python you can do mainly everything you want with your imported data. Although my scripts can only rotate and move stuff.
colquin 2 years ago
Good stuff!
I've been interested in doing something similar, namely creating animations in Blender based on data I recover from eg. Matlab simulations.
I've never actually used Blender. How much effort do you then suppose it would take to do something like this? Are there readily available scripts for importing trajectory data (and could one easily import data for N objects (where N is say 5000)? Furthermore, is there an easy way to import data other than simple trajectories, say surfaces?
amlrg 2 years ago