Just a quick followup, for what it's worth :
You *can* get the viewport dimensions in the plugin via  [[[self
patch] renderingContext] frame].  Which actually seems to work fine,
but it is going though 3 private methods with two private classes,
which seems a tad fragile...

Pierre will probably yell at you for that ;)

for a less fragile solution, maybe try

GLint params[4];
glGetIntegerv(GL_VIEWPORT,params);


should put width in params[2] and height in params[3] (with x/y origin in 0 and 1 respectively, not sure if that's important to you)

I haven't tried this at all.

--
[ christopher wright ]
[EMAIL PROTECTED]
http://kineme.net/

_______________________________________________
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]

Reply via email to