Objects changing their position or not during the Animation

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
Akos
Posts: 0
Joined: Wed Jul 10, 2013 4:08 pm

Objects changing their position or not during the Animation

Post by Akos » Fri Aug 30, 2013 9:56 am

Hi,

I'm trying to improve an exporter from blender (exporting animation). The exporter is working, the only problem is that for every frame he exports all the mesh data (which takes a late of space if the scene is a complex one).

But the most of the objects are not changing their position/form during the animation, so it's pointless to export it again and again.

I was wandering if there is a flag for every object that will show me if the object is changing during the animation or not.

If somebody has a bit of experience in the area, i would be delighted to have his opinion.

Cheers,
A.

CoDEmanX
Posts: 0
Joined: Sun Apr 05, 2009 7:42 pm
Location: Germany

Post by CoDEmanX » Sun Sep 01, 2013 1:45 am

There are is_updated and is_updated_data, but i dont think they are useful for your purpose.

You probably need to check the values of certain properties like location and skip the frames with no channges
I'm sitting, waiting, wishing, building Blender in superstition...

Post Reply