PDA

View Full Version : Importing OBJs as frames in animation


gonemad
02-13-2007, 07:33 PM
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

Laserschwert
02-14-2007, 07:07 PM
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.

gonemad
02-14-2007, 08:25 PM
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?

shibumenon
02-14-2007, 10:00 PM
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?

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

CGTalk Moderation
02-14-2007, 10:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.