Now we can export mesh animations to Bl
Now we can export mesh animations to Blender.
Produced by Ready: https://github.com/GollyGang/ready Rendered in Blender.
Shared with: Public, Tim Hutton, francesco arena
This post was originally on Google+
Produced by Ready: https://github.com/GollyGang/ready Rendered in Blender.
This post was originally on Google+
2) Use "File > Start Recording > 3D surface" to output a sequence of OBJ files.
3) Import into Blender and render. If needed there's a script here:
https://github.com/GollyGang/ready/blob/gh-pages/Scripts/Blender/import_obj_sequence.py
I know Blender well enough.
I used Ready and opened bunny.vtu.
When I press start running simulation I correctly see reaction diffuse effect. If I do export mesh in obj, after in Blender I get a mesh without material or vertexcolor or texture.
The import_obj_sequence.py file works perfectly but I get lots of white without color information with only the restrict rendering and viewport visibility animated options.
Which tutorial do I have to follow to get a mesh with diffuse reaction 3d effect maybe even animated?
a) vti files: values living on a regular grid: 1D, 2D, 3D images, and
b) vtu files: values living on a user-defined mesh: 2D polygonal meshes, 3D polygonal meshes, 3D polyhedral meshes.
(This could be better explained in the docs.)
bunny.vtu is (b), a polygonal mesh where the values are stored in each polygon. When you export the surface to OBJ (which doesn't support colors) the values are lost - the surface is the same every frame.
If you try it with e.g. parameter_modulation_demo2_3D.vti instead then this is type (a), a 3D image, which is contoured at a certain value to produce a 3D surface. Here the 3D surface changes over time, which OBJ captures.
So try it with a 3D vti file instead. If you really want to get the bunny.vtu animation into Blender then let me know - it is possible but not straightforward (we don't have texture coordinates).