File Exchange

image thumbnail

Spongebob Squarepants goes 3-D

version 2.0.0.0 (1.73 MB) by Antonio Tristán Vega
GUI demonstration of different representations of 3-D rotations

4 Downloads

Updated 22 Jan 2018

View License

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.

Comments and Ratings (0)

Updates

2.0.0.0

Improved 3-D models

2.0.0.0

- 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

1.0.0.0

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

1.0.0.0

Added picture

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: mArrow3.m - easy-to-use 3D arrow

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor