How do I load a .wrl file on to a GUI?

2 vues (au cours des 30 derniers jours)
Golnar
Golnar le 10 Avr 2014
I have a .wrl file I'd like to show up in the 'axes' section of a GUI. Is this possible?

Réponse acceptée

Sean de Wolski
Sean de Wolski le 10 Avr 2014
Modifié(e) : Sean de Wolski le 10 Avr 2014
set(gcf,'Units','pixels');
vrObjects.world = vrworld('spring.wrl');
open(vrObjects.world);
vrObjects.canvas = vr.canvas(vrObjects.world, gcf, [50 80 425 225]);
vrObjects.spring = vrnode(vrObjects.world,'spring');
Small example..

Plus de réponses (0)

Catégories

En savoir plus sur Images 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