Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linear image



is not very clearly worded on which space what coordinates are in, and when you should try to convert them. A short page describing coordinate systems in QC and/or Core Image, and what functions convert between which spaces, would really help, and if I get to understand it sufficiently, I'll try to write such a page on the wiki.

QC coordinate system is used to position things in the 3D scene:
http://developer.apple.com/documentation/GraphicsImaging/Conceptual/ QuartzComposer/qc_concepts/chapter_2_section_9.html#//apple_ref/doc/ uid/TP40001357-CH202-BCICEEFE


CI coordinate system is only used with CI filters / kernels as they work with images, not the 3D space: it uses pixels with the (0,0) is at the bottom-left corner

Using Image Dimensions, Rendering Destination Dimensions and Math, you can convert from one to the other if necessary: check this composition for example:
/Developer/Examples/Quartz Composer/Interface Builder Compositions/ Mouse Tracking.qtz


________________________________________________________
Pierre-Olivier Latour                            email@hidden
Quartz Composer Architect                Graphics & Imaging Team

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Linear image (From: Ralph Brunner <email@hidden>)
 >Re: Linear image (From: Sam Kass <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.