[Webkit-unassigned] [Bug 52700] Transition from perspective(500px) to 'none' is probably wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 19 12:29:59 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=52700


Simon Fraser (smfr) <simon.fraser at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simon.fraser at apple.com




--- Comment #4 from Simon Fraser (smfr) <simon.fraser at apple.com>  2011-01-19 12:29:59 PST ---
(In reply to comment #2)
> The formula for blendToIdentity is right:
> 
>      if (blendToIdentity)
>         return PerspectiveTransformOperation::create(m_p + (1. - m_p) * progress);
> 
> Because it's blending down to the identity perspective value, which is 1. 

But m_p isn't the value in the matrix; that's -1/m_p. So if perspective is 1000, this computes 1000 + (1. - 1000) * progress which makes no sense.

It should really blend with infinity, but that isn't going to give sensible results either.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list