On Tue, Feb 9, 2010 at 3:00 PM, Keith Lang <[email protected]> wrote: > I use the formula > > Pixels = Units x Rendering Destination Pixels Wide / 2
Yeah, I knew that part but my question was really how to get "Rendering Destination Pixels Wide" in a plugin. It looks like glGetIntegerv(GL_VIEWPORT) seems to work so I'll use that but just thought there might be a more obvious way. Most of the 3rd party plugins I've looked at just use pixel dimensions for input, probably because there wasn't an obvious way to get the rendering destination in pixels. Andrew _______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [email protected]

