Spongebob Squarepants goes 3-D

GUI demonstration of different representations of 3-D rotations
230 téléchargements
Mise à jour 22 jan. 2018

Afficher la licence

This GUI application is mainly intended as a simple, user-friendly interface for the 3-D orientation maths of the robotics toolbox found here: https://es.mathworks.com/matlabcentral/fileexchange/56758-rigid-motions-and-robotics-toolbox
Note you need the toolbox installed and set up (see the setup__robotics_toolbox.m script therein) for this demo to work.
You will also need Georg Stillfried's mArrow3.m function before you are able to run this demo: https://es.mathworks.com/matlabcentral/fileexchange/25372-marrow3-m-easy-to-use-3d-arrow
The GUI will show a left panel that lets the user configure any 3-D rotation based on either a rotation matrix, Euler angles in arbitrary sequences, axis-angle, or quaternions. The 3-D view on the rigth-hand side will render a customizable view of the rotation illustrated by one of the Spongebob Squarepants characters (3-D models made available by "The VG resource", http://www.models-resource.com, for non-commercial use only).
This new version improves the rendering of the 3-D models, and allows to store/recover custom orientations or create simple GIF/AVI animations for your demos.

Citation pour cette source

Antonio Tristán Vega (2024). Spongebob Squarepants goes 3-D (https://www.mathworks.com/matlabcentral/fileexchange/61955-spongebob-squarepants-goes-3-d), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2013b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Remerciements

Inspiré par : mArrow3.m - easy-to-use 3D arrow

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
2.0.0.0

Improved 3-D models
- Improved (colored) rendering of 3-D models.
- User-defined orientations can be recorded and recovered.
- GIF/AVI animations can be generated by moving through recorded orientations.
- General improvements to the GUI.

1.0.0.0

Updated picture
Added picture
Fixed a bug that made transformed axes to be rendered with wrong orientations. Added axes labels. Improved PNG export with alpha channel.