Questions about setting the aspect ratio when rotating an object
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Timing and presenting 2D and 3D stimuli en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

