quartz composer and jitter, a common mystery to me…

Mar 8, 2010 at 2:38pm

quartz composer and jitter, a common mystery to me…

hello all you jittery folk,

now that i have complete my big project, [utforma]. i am now looking into getting into jitter much more, mainly because i did spend the cash for it, and plus i do like video stuff to go with my music. and have recently had some ideas to make patches for music videos.

there is one thing that i have been wondering, which did get half answered, but i am still full of haze as to getting it done.
i enquired axiom crux about how he gets those cool visuals that he does. he replied back saying it is all a matter of shaders. fair enough, i thought. that is great. and also by using quartz composer to build them and then wrap them in jitter. even better because i also do use a mac and it comes with it.

but the one last thing that does keep the haze over my eyes, is how do you build shaders in quartz composer? this does confuse me some what, as i can not seem to find anything on making shaders in quartz composer. i know there is another application in the developers folder called OpenGL shader builder, but nobody has said they use that. only QC.

so could someone shed some light on using QC for shaders please, it would mean quite a big deal

many thanks…

lewis edwards
——
smokingbunny.co.uk
——
[utforma] available for purchase or demo

#49008
Mar 8, 2010 at 2:59pm

Hello Lewis:
indeed, shaders are really cool and using QTZ to prototype can be a good option. I would recommend you to visit this site:
http://kineme.net/
This is the best community for qtz users and people there are really friendly, just like our fellas ’round here ;-).
To use shaders in qtz:
Open a patch and drag from the library window a ‘GLSL Shader’, Double click it and inside the patch drag a Track Ball’ object. Double click again and drag a ‘Sphere’. Click the icon Edit Parent until you reach again the GLSL shader. Drag an ‘Image’ and connect the ‘image’ pin to the texture pin of the Shader object. Select the image object and press apple+2. Choose an image to use as a texture. That’s it, the most basic shader in qtz!
To edit the shader select the ‘GLSL Shader’ and press apple+2. You will see the fragment and the vertex shaders. You can toy with them or even better, get a copy of the ‘Orange Book’!

The shader builder is one of the best ‘unknown’ applications on OSX. It is really nice way to write shaders and test them. You even can use geometry shaders there. It crashes from time to time, but it is a useful tool to learn and test shading.

Hope it helps!
Emmanuel

#176096
Mar 8, 2010 at 9:52pm

awesome 6000. thats is fantastic, thanks for the help…

#176097
Mar 8, 2010 at 10:30pm

My Quartz Composer plugins all use GLSL shaders behind the scenes. There are some subtle bugs with the GLSL macro object so I avoid it. If you are curious, my plugins all include the source. http://002.vade.info, as well as Jitter shaders on http://001.vade.info

All that said, I’m sure Cycling would appreciate any further QC talk to take place on the various QC boards. Feel free to contact me directly if you have questions about the various differences between the patching envionments, because they are plenty.

Briefly, Jitter is almost infinitely more flexible out of the box. QC.. more ‘embeddable”…

#176098
Mar 8, 2010 at 11:24pm

hi vade, aye i have seen your shaders, but have not gone deep into them yet.

i have also tried to look for an email for you, but could not find one, could you get a hold of me please, my email is lewis[a]smokingbunny[dot]co[dot]uk

cheers…

#176099

You must be logged in to reply to this topic.