Animating a mayavi points3d plot

Just change to: … for (x, y, z) in zip(xs, ys, zs): print(‘Updating scene…’) plt.mlab_source.set(x=x, y=y, z=z) yield … you don’t even need the f.scene.render(), according to documentation mlab_source.set guarantees the refresh. Also since shape of your data doesn’t change you don’t need to use mlab_source.reset. I also tested and works fine.

CMake ExternalProject_Add() and FindPackage()

there is a way to do this. but it´s kind of hackish. you basically add a custom target, that reruns cmake during build. you will have to try this in a small test project, to decide if it works for you find_package(Beaengine) ############################################ # # BeaEngine # include(ExternalProject) externalproject_add(BeaEngine SOURCE_DIR ${PROJECT_SOURCE_DIR}/beaengine SVN_REPOSITORY http://beaengine.googlecode.com/svn/trunk/ CMAKE_ARGS -DoptHAS_OPTIMIZED=TRUE … Read more