Borrar filtros
Borrar filtros

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

3 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Salvatore
Salvatore el 1 de Mzo. de 2014
It seems there was no attachment to my previous post. The file is here.

Más respuestas (0)

Categorías

Más información sobre Graphics Performance en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by