Effacer les filtres
Effacer les filtres

playback controls for 3d animation

3 vues (au cours des 30 derniers jours)
Leo
Leo le 6 Août 2013
Réponse apportée : Leo le 10 Jan 2014
Hello,
I have created a 3d animation. I am looking for some playback controls that will allow me to; play, pause, speed up, slow down, view object from common viewpoints (e.g. above, below). Will I have to write code for the buttons myself or is there a package I can utilise?
In case it is of use I have attached my animation loop:
for i=1:n
set(b,'XData',PatchX(:,:,i));
set(b,'YData',PatchY(:,:,i));
set(b,'ZData',PatchZ(:,:,i));
drawnow;
end

Réponses (1)

Leo
Leo le 10 Jan 2014
I ended up writing the playback controls myself which was surprisingly quick and easy to do using 'pushbuttons', 'sliders' and 'listboxes' http://goo.gl/QohdbR
The animation was written in conjuction with V-Realm Builder (negating the need to write code to describe 3d objects) which is not very good software but by far the best thing that I have come accross for animating in Matlab. The viewing options I used were the built in controls of V-Realm Builder.

Catégories

En savoir plus sur Animation dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by