Not trying to get OT, but I'd like to ask a quick (hopefully simple)
question about GL Scissor...

Is it possible to perform a GL Scissor function over a certain range of Z?
For instance, to create the effect of anything having a Z of greater than 1
being scissored, but anything under not being affected (or vice versa)?

-George Toledo

On Thu, Oct 14, 2010 at 11:14 AM, Christopher Wright <
[email protected]> wrote:

> Now we can use QCPlugInContext methods to know info about the context (as
> explained 
> here<http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/QCPlugInContext_Protocol/QCPlugInContext_Protocol.pdf>).
> But.. how can I set its attributes?
> Is the context we received in the execution method customizable? Can I
> customize PixelFormat attributes or  rendering bounds?
>
>
> You cannot.  QC manages the context for you (e.g. it creates the context,
> and defines the rendering bounds).  If your application provides an
> NSOpenGLContext or CGLContextObj, you can control those attributes then, but
> otherwise they are immutable.  You cannot change a context's pixel format
> dynamically.
>
> You can simulate rendering bounds using glScissor(), if you want to draw
> less than the full extent of the context.
>
> Note that the immutability of the context is not a function of
> QuartzComposer -- even in normal applications contexts are immutable.  It
> has always been that way, even on other platforms.
>
> --
> Christopher Wright
> [email protected]
>
>
>
>
>  _______________________________________________
> 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/gtoledo3%40gmail.com
>
> This email sent to [email protected]
>



-- 
George Toledo
[email protected]
www.georgetoledo.com

The information contained in this E-mail and any attachments may be
confidential.
If you have received this E-mail in error, please notify us immediately by
telephone or return E-mail.
You should not use or disclose the contents of this E-mail or any of the
attachments for any purpose or to any persons.
 _______________________________________________
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