How do I load a .wrl file on to a GUI?
4 views (last 30 days)
Show older comments
I have a .wrl file I'd like to show up in the 'axes' section of a GUI. Is this possible?
0 Comments
Accepted Answer
Sean de Wolski
on 10 Apr 2014
Edited: Sean de Wolski
on 10 Apr 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..
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!