Questions about setting the aspect ratio when rotating an object
Afficher commentaires plus anciens
Hi all,
I was playing with the Utah teapot functions before and I want to generate a rotating teapot. I want to rotate the tea pot every one degree so I modified the viewpoint after generating the teapot. The teapot was like this at first -

But when I used
axis vis3d
The teapot was squeezed and was like this -

I also checked the rotating Utah teapot in Psychtoolbox and I found out that the teapot wasn't squeezed when rotating (I'm not quite sure how to render image from openGL-PTB yet) so that I wonder if I could do something similar in MATLAB. Thank you!
-Xixi
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Arithmetic dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

