This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16327 - perspective and perspective matrix poorly described
Summary: perspective and perspective matrix poorly described
Status: RESOLVED FIXED
Alias: None
Product: CSS
Classification: Unclassified
Component: Transforms (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Aryeh Gregor
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-12 19:04 UTC by Dirk Schulze
Modified: 2012-03-19 19:41 UTC (History)
6 users (show)

See Also:


Attachments
Tav's modification on perspective (143.80 KB, application/zip)
2012-03-12 19:04 UTC, Dirk Schulze
Details
perspective-distance.png (21.75 KB, image/png)
2012-03-13 21:28 UTC, Dirk Schulze
Details
perspective_origin_equation.png (1.64 KB, image/png)
2012-03-13 21:28 UTC, Dirk Schulze
Details
perspective_origin.png (12.33 KB, image/png)
2012-03-13 21:28 UTC, Dirk Schulze
Details
Tav's changes to perspective as diff (3.55 KB, application/octet-stream)
2012-03-13 21:29 UTC, Dirk Schulze
Details

Description Dirk Schulze 2012-03-12 19:04:13 UTC
Created attachment 1091 [details]
Tav's modification on perspective

I got a message from Tav, that perspective and perspective matrix is poorly specified and misses examples. He edited this section and created some examples as well as graphics for demonstrations. I like the new specification text as well as the graphics. I hope Simon, Ed or Ariyeh can review the changes and land them if they are fine with them too. I don't feel to comfortable for landing 3D stuff.
Comment 1 Simon Fraser 2012-03-12 19:54:53 UTC
Can you supply a patch rather than the whole file please?
Comment 2 Dirk Schulze 2012-03-13 21:28:06 UTC
Created attachment 1093 [details]
perspective-distance.png
Comment 3 Dirk Schulze 2012-03-13 21:28:27 UTC
Created attachment 1094 [details]
perspective_origin_equation.png
Comment 4 Dirk Schulze 2012-03-13 21:28:43 UTC
Created attachment 1095 [details]
perspective_origin.png
Comment 5 Dirk Schulze 2012-03-13 21:29:44 UTC
Created attachment 1096 [details]
Tav's changes to perspective as diff

Tav's changes to perspective as diff.
Comment 6 Aryeh Gregor 2012-03-14 19:17:40 UTC
There are a couple of editorial issues with the diff, like not using <code> properly.  "Isn't this missing the scaling factor d/(d-Z)" is basically bug 15605.
Comment 7 Dirk Schulze 2012-03-14 19:21:42 UTC
(In reply to comment #6)
> There are a couple of editorial issues with the diff, like not using <code>
> properly.  "Isn't this missing the scaling factor d/(d-Z)" is basically bug
> 15605.

I agree. Lets talk about the content first, than I upload a fixed version. Like I said, I am not as familiar with perspective as you.
Comment 8 Aryeh Gregor 2012-03-14 19:23:28 UTC
Other than what I said, the changes look fine at a glance -- it's mostly just adding some diagrams, which are helpful.  I'm indifferent about the added matrix; I think we could do without it, but if he thinks it's helpful I'm okay with it.  I'd leave out the added issue, or reword it to link to bug 15605.
Comment 9 Aryeh Gregor 2012-03-19 19:41:17 UTC
http://dvcs.w3.org/hg/csswg/rev/3316e325574d

I didn't add the extra equation, because I don't think it clarified enough to be worth the extra length.  I also didn't add the extra issue.