Notifications
Clear all

[Closed] Importing OBJs as frames in animation

Hi all.

I’ve created a fluid simulation in blender and used a python script available to export that simulation as a set of OBJ files representing the mesh at each frame. The script I used came with a maxscript for bringing these OBJs into max but the problem is that it brings in each OBJ as a seperate object and I’m assuming animates it’s visability. So in a 250 frame animation I have 250 really dense meshes.

Is there a way that I can create some sort of vertex animation where each OBJ is added as the state of a single mesh at it’s corrisponding frames? I’ve done some looking around but I haven’t found anything that meets my needs.

Thanks!

Mad

3 Replies

I don’t think it’s possible to store the different “frames” of the simulation in a single mesh, especially not using vertex animation, since the vertex count of the object would vary from frame to frame, as the liquid gets parted or flows together in the animation… I’m no blender-user though, so I’m just using common sense here.

If that’s not possible is there a way that I can sequentially load in a mesh at render time, then when it advances a frame unload that mesh and load in the next?

1 Reply
(@shibumenon)
Joined: 11 months ago

Posts: 0

yes, you could do that assigining a ‘pre -render’ or ‘post-render’ script
in the render dialog