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: GLSL Grid - sampler2DRect?



There's indeed a bug in the GLSL patch regarding RECT textures support, you're gonna have to use 2D textures for now

On Nov 3, 2007, at 11:03 AM, vade wrote:

Hello

Does GLSLShader and GLSLGrid support sampler2DRect? Ive attempted to port some very simple shader code to Quartz Composer, and while the video displays, if I use sampler2DRect/texture2DRect within GLSL Grid, I have these errors in my console, and my framerate stutters:

11/3/07 1:57:56 PM Quartz Composer[24317] *** Message from <QCGrid = 0x17E9DFC0 "Grid_1">:
Execution failed at time 68.144
11/3/07 1:57:56 PM Quartz Composer[24317] *** Message from <QCPatch = 0x1619BC50 "(null)">:
Execution failed at time 68.144
11/3/07 1:57:56 PM Quartz Composer[24317] *** <RenderView: 0x161d0420>: Render failed at time 68.143830s


However, it seems to 'mostly' work.

Attached is a modified GLSLShader patch with video input (ive used the default shader included when instantiating GLSLShader, but changed references of sampler2D to sampler2DRect, and same for texture.)

<Sampler2DRect.qtz>


_______________________________________________
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

________________________________ Pierre-Olivier Latour - email@hidden Technologist - Apple, Inc.



_______________________________________________
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: 
 >GLSL Grid - sampler2DRect? (From: vade <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.