I misread the original query- thought the question was about about writing GLSL shader code inside a standard QC GLSL patch, rather than writing a custom patch as a plugin for the application. Please ignore my previous email if it's not relevant.

a|x



On 7 May 2010, at 14:20, Christopher Wright wrote:

Is it possible to invert the process? I mean: is it possible to write a custom OpenGL macro M that receives vertices from the OpenGL-patches inside it? For example, if I render a quad Q with LG Quad kineme patch and put it into M, is it possible to 'catch' Q vertices inside the custom macro M and shade them as I want? One possible use of this process is a possible shadow-mapping implementation..

In QC, there's no supported way to create a custom patch that allows subpatches. So there's no way to create M right now.

Outside of QC, the only way to capture vertices that I'm aware of is to use the Transform Feedback extension. That should allow you to "record" vertices for later reuse. (This is also handy to filter a mesh through multiple vertex shaders, for example). _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer- [email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/the_voder% 40yahoo.co.uk

This email sent to [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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to