Ok... Where can I find the info to do something like this? some tutorials to learn to write or rewrite glsl patch? and how to Qcfy glsl code; is there anything for beginners?
Alex Drinkwater is really good at this sort of thing -- you'll definitely want to have him tell you some of his secrets. :)
as for QCfying, there's nothing too special -- you just can't use some of the special types, like 3d textures and cubemaps, etc. Otherwise, it's exactly the same.
I hear my name being taken in vain here... ;)
Christopher is right- you'll need to combine the two shaders into a single vertex/fragment shader pair.
In terms of getting started with GLSL, I'd recommend the Lighthouse3d tutorials at
http://www.lighthouse3d.com/opengl/glsl/
Followed by the GLSL Orange Book. If you're not already au-fait with 3D geometry, matrix maths etc, you might also want to do what I didn't do, and get some of the basics of 3D graphics under your belt before you start. I've been recommended this book
http://books.google.co.uk/books?id=-4ngT05gmAQC
(though I haven't looked at it myself yet, so I can't tell you how good or otherwise it is).
you'll have to rewrite one glsl patch to perform both functions.
Ok... Where can I find the info to do something like this? some tutorials to learn to write or rewrite glsl patch? and how to Qcfy glsl code; is there anything for beginners?
Alex Drinkwater is really good at this sort of thing -- you'll definitely want to have him tell you some of his secrets. :)
as for QCfying, there's nothing too special -- you just can't use some of the special types, like 3d textures and cubemaps, etc. Otherwise, it's exactly the same.
I hear my name being taken in vain here... ;) Christopher is right- you'll need to combine the two shaders into a single vertex/fragment shader pair.
In terms of getting started with GLSL, I'd recommend the Lighthouse3d tutorials at http://www.lighthouse3d.com/opengl/glsl/ Followed by the GLSL Orange Book. If you're not already au-fait with 3D geometry, matrix maths etc, you might also want to do what I didn't do, and get some of the basics of 3D graphics under your belt before you start. I've been recommended this book http://books.google.co.uk/books?id=-4ngT05gmAQC (though I haven't looked at it myself yet, so I can't tell you how good or otherwise it is).
Hope this helps,
alx
Quartz Composer Blog: http://machinesdontcare.wordpress.com
Music Site: http://www.toneburst.net
i decided to learn more about glsl too..and found this:
take a look at the pdf's at: "OpenGL Shading Language Course" http://www.typhoonlabs.com
grischa
maybe someone out there is able to explain the specific QC items?
Great, great friends... thanks thanks alx and echolab