Questions about setting the aspect ratio when rotating an object
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Timing and presenting 2D and 3D stimuli in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
