Working with reducepatch to speed up the rotation of 3d mesh models

3 visualizzazioni (ultimi 30 giorni)
Hello I'm working on a way to handle big mesh data and I believe that the reducepatch function can be a simple good solution. Attached the function I've written that makes a copy of the object and reduce it when trying to rotate it. When you stop the rotation the original unreduced mesh appears. I tried with a big mesh and some advantage is clear. Hereafter only a simple mesh is provided. If you try to rotate the model the first time all works fine, but if you continue to rotate the figure doesn't update even if it still rotates. It seems that the problem is that the rotate3d command is still active, but I cannot stop it with the simple "rotate3d off". Any useful suggestion? Moreover, how can I assign this task (rotate) to the combination CTRL key + Left mouse? Many thanks in advance.
Salvatore

Risposta accettata

Salvatore
Salvatore il 1 Mar 2014
It seems there was no attachment to my previous post. The file is here.

Più risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by