Forums > Jitter

shader reference available?


dtr
February 18, 2009 | 5:09 pm

hi peoplez,

i started messing with shaders/slabs for GL accelerated video processing. there s a bunch of shaders included with max5 but i can’t find a reference documenting ‘m. does it exist and if so, where is it? sorry if i m being dumb but i really didn t find it anywhere…

tanx & greetz, dtr


February 18, 2009 | 5:37 pm

We have few help files for some shaders (look in Max folder), but it seems to be a self-developping task … and beyond Max itself.
Unfortunately, for non-programmers!


February 18, 2009 | 6:00 pm

while no official max reference for shaders, their are several resources, many online and free.

imo, the best place to start is the glsl orange book (although not online or free).

also, the cg shader tutorial is great.

http://http.developer.nvidia.com/CgTutorial/cg_tutorial_chapter01.html

when you are ready for it, the first three gpu gems books are online at nvidia as well.

the lighthouse tutorials are very instructive:

http://www.lighthouse3d.com/opengl/glsl/

some of the shaderx books are also online:

http://tog.acm.org/resources/shaderx/

please note, most of these resources are more geared towards creating shaders for 3D materials. a lot of the shaders that come with jitter are for 2D texture manipulation, possibly with slabs. i remember this distinction confusing me when i first started learning. this article may be interesting regarding 2D compositing shaders:

http://blog.mouaif.org/2009/01/05/photoshop-math-with-glsl-shaders/

-rob



dtr
February 18, 2009 | 6:55 pm

tanx! actually i was more looking for a reference on the shaders included with the max5 install than for a general shader programming reference. guess it s gonna be a lot of getparamlist and trial & error.


February 18, 2009 | 8:11 pm

in this case, have you tried just opening up the .jxs files in a text editor? they are all xml files containing

tags that describe all the parameters used by that shader.


February 18, 2009 | 8:12 pm

welcome in the max world :-)


February 18, 2009 | 8:38 pm

On Feb 18, 2009, at 10:55 AM, dtr wrote:

>
> tanx! actually i was more looking for a reference on the shaders
> included with the max5 install than for a general shader programming
> reference. guess it s gonna be a lot of getparamlist and trial &
> error.

Yes, the shaders aren’t documented the same way objects are currently.
In the future we will be making shaders more accessible in a variety
of ways. In the meantime, here’s a great patch from a fellow Jitter
user:

http://wiki.pelado.co.uk/jitter/p.jit.gl.shader

And don’t miss some demo patches for many shaders at:

examples/jitter-examples/render/slab-helpers

-Joshua


February 18, 2009 | 9:34 pm

Please look at examples/jitter-examples/render/slab-helpers/
This folder contains a number of help-style patches that demonstrate most of the included shaders for slab processing. In the future we are hoping to provide a better interface for this info, but for now, the jitter-examples folder is full of very enlightening information.

Best,
Andrew B.



dtr
February 18, 2009 | 9:45 pm

looks like i did miss a couple of things indeed. tanx all!

pelado’s tool is great!


Viewing 9 posts - 1 through 9 (of 9 total)