[tuhopuu-cvs] CVS commit: tuhopuu2/source/blender/src view.c
Matt Ebb
matt at mke3.net
Tue May 25 12:53:07 CEST 2004
broken (Matt Ebb) 2004/05/25 12:53:07 CEST
Modified files:
tuhopuu2/source/blender/src view.c
Log:
* Alternative to the alternative zoom method
Based on meestaplu's implementation (to whom credits are
due for that part), but I changed the 'scaling'
thing and made it act on the 2D Y axis of the screen.
The logic is quite simple. Look at the coffee cup on your
desk. Now grab it and push it away from you. The coffee
cup gets smaller from your perspective. Take a look at
what direction you're moving your hand in along the table.
Now pull the coffee cup towards you. Notice how the
coffee cup gets bigger from your perspective! Again, look
at the direction that you're moving your hand along the
table. Now replace the coffee cup with your mouse and
voila, it's the same idea, nice and natural.
It seems a similar method is used in Wings. Anyway, I
thought I'd commit it so people can test/compare against
the BF version. Easy to roll back if necessary.
Revision Changes Path
1.12 +18 -3 tuhopuu2/source/blender/src/view.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/tuhopuu2/source/blender/src/view.c.diff?r1=1.11&r2=1.12&cvsroot=tuhopuu>
More information about the tuhopuu-cvs
mailing list