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

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

 채택된 답변

Salvatore
Salvatore 2014년 3월 1일

0 개 추천

It seems there was no attachment to my previous post. The file is here.

추가 답변 (0개)

카테고리

제품

질문:

2014년 3월 1일

답변:

2014년 3월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by