Namespaces

Variants
Actions

jit.scalebias

From Cycling '74 Wiki
(Difference between revisions)
Jump to: navigation, search
(Initial upsert from JITobjectNT list)
Line 2: Line 2:
  
 
==Using the {{maxword|name=jit.scalebias}} object==
 
==Using the {{maxword|name=jit.scalebias}} object==
 +
{{maxword|name=jit.scalebias}} is an important object that allows you to scale (multiply) and bias (add to) each plane in a 4-plane character input matrix (ARGB) to achieve a variety of color effects.
  
 
=={{maxword|name=jit.scalebias}} Tutorials==
 
=={{maxword|name=jit.scalebias}} Tutorials==
 +
[http://www.cycling74.com/docs/max6/dynamic/c74_docs.html#jitterchapter06 Jitter Tutorial 6: Adjust Color Levels] goes over {{maxword|name=jit.scalebias}} in detail.
 +
 +
[http://www.cycling74.com/docs/max6/dynamic/c74_docs.html#jitterchapter09 Jitter Tutorial 9: More Mixing] uses {{maxword|name=jit.scalebias}} with {{maxword|name=jit.op}} to emulate the behavior of {{maxword|name=jit.xfade}}.
 +
 +
It appears in these tutorials as a way of fading in/out video:
 +
*[http://www.cycling74.com/docs/max6/dynamic/c74_docs.html#jitterchapter26 Jitter Tutorial 26: MIDI Control of Video].
 +
*[http://www.cycling74.com/docs/max6/dynamic/c74_docs.html#jitterchapter28 Jitter Tutorial 28: Audio Control of Video].
 +
 +
{{maxword|name=jit.scalebias}} is an important object for image manipulation and can be used in a variety of ways. Look at these example patches to get a feel for how it can be used:
 +
*./examples/jitter-examples/3rd_Party/Cycle-delic.maxpat;
 +
*./examples/jitter-examples/3rd_Party/JitterApplets/SimpleMix.lib/MultiModeMixer.maxpat;
 +
*./examples/jitter-examples/audio/jit.poke~-spectrogram.maxpat;
 +
*./examples/jitter-examples/audio/jitter_pvoc/jitter_pvoc_3D.maxpat;
 +
*./examples/jitter-examples/render/gl_fft~.maxpat;
 +
*./examples/jitter-examples/render/jit.gl.render.cyl.maxpat;
 +
*./examples/jitter-examples/render/jit.gl.render.grid-sketch.maxpat;
 +
*./examples/jitter-examples/render/jit.gl.render.grid.maxpat;
 +
*./examples/jitter-examples/render/jit.gl.render.sphere.maxpat;
 +
*./examples/jitter-examples/render/jit.gl.render.xfade-shapes.maxpat;
 +
*./examples/jitter-examples/render/jit.gl.render.xfade-shapes2.maxpat;
 +
*./examples/jitter-examples/video/analysis/jit.3m-autoexpose.maxpat;
 +
*./examples/jitter-examples/video/analysis/jit.histogram-multbyvideo.maxpat;
 +
*./examples/jitter-examples/video/color/jit.charmap-twotone.maxpat;
 +
*./examples/jitter-examples/video/color/jit.xfade-sat+desat.maxpat;
 +
*./examples/jitter-examples/video/color/RGB2Luma-4_ways.maxpat.
 +
*./examples/jitter-examples/video/keying/jit-diy-chromakey.maxpat;
 +
*./examples/jitter-examples/video/keying/jit.scalebias-rgb2lumakey.maxpat;
 +
*./examples/jitter-examples/video/matrix/jit.matrix-split.maxpat;
 +
*./examples/jitter-examples/video/misc/Eclipse.maxpat (look in the auto-expose sub-patch);
 +
*./examples/jitter-examples/video/misc/jit.robcross-pixels.maxpat;
 +
*./examples/jitter-examples/video/op/jit.op-fabric.maxpat;
 +
*./examples/jitter-examples/video/spatial/jit.convolve-blur.maxpat;
 +
*./examples/jitter-examples/video/spatial/jit.rota-feedback.maxpat;
 +
*./examples/jitter-examples/video/spatial/jit.rota-pile.maxpat;
  
 
=={{maxword|name=jit.scalebias}} Tips and Workarounds==
 
=={{maxword|name=jit.scalebias}} Tips and Workarounds==
 +
Here is a jit.pix patch for doing a basic scalebias in gen:
 +
<maxpat>
 +
<pre><code>
 +
----------begin_max5_patcher----------
 +
1228.3oc2Z1sjihBEG+5jmBKub2roDvOm6lmitlpKToSSuF0BIcxNSMu6KBZ
 +
ZHQi1cq85lazJ74e94gCjC7q0qriKNQprs9l0CVqV8q0qVISpNgUM+dk8d7o
 +
jLbkrX1XNmcfZuQkUIiTQx4XNsH+QFIgqZJTj6VmMVgAaQH+.DXikS8uEOr9
 +
QSMKNvyHb9+TRTUw19bVkXdxyz7c2rAAdxlDBzZSZpThEwu7WAsJL+vdZtnm
 +
jpGzj3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9CdZUvY
 +
5v+hm0C+6iQEwR89AHWe3vTALSTYpODuo.KNNa87APP3vXANOXY2xyXAD.15
 +
5FFE3MLUPyDUVfFK.W3XuUAPu4AKrEnwhnqG4sC.LSWO.1TarD2dV4i3h.Lh
 +
EWANvs0SkPxiwMxqGalt2uP6w2elLoj8EuRSIEvsBQK50dnzzdsHjHV256yb
 +
4HZ2G0ntbDvY8xQnQIYma9OmTP6xcF2ftq1Qbn99b6Yyv9Fk4p8Ae8dfu5S3
 +
XUSvhRMvElb.KK4.WVxAsrji2hRNfk077wX5390oF2QHG3WlbBWTpIXQoFvx
 +
BNiZVNbY4CDtrVg.trV+Dtr1cAbY4D7qaEB+QnFzGTMpMMewkEtVHWbIgu3B
 +
Be8kCtuKFrne985+E2xub7A
 +
-----------end_max5_patcher-----------
 +
</code></pre>
 +
</maxpat>
 +
 +
A scalebias shader is included with max. You can find the file here: ./Cycling '74/jitter-shaders/color/cc.scalebias.jxs,
 +
 +
and the help patch here: ./examples/jitter-examples/render/slab-helpers/color/cc.scalebias.jxs-help.maxpat.
 +
 +
The cc.scalebias shader is used in [http://www.cycling74.com/docs/max6/dynamic/c74_docs.html#jitterchapter42 Jitter Tutorial 42: Slab: Data Processing on the GPU].
  
 
==Third-Party Max externals similar to the {{maxword|name=jit.scalebias}} object==
 
==Third-Party Max externals similar to the {{maxword|name=jit.scalebias}} object==
Line 12: Line 88:
  
 
==People who looked at/used this object also looked at....==
 
==People who looked at/used this object also looked at....==
 +
*{{maxword|name=jit.charmap}}
 +
*{{maxword|name=jit.dimop}}
 +
*{{maxword|name=jit.expr}}
 +
*{{maxword|name=jit.gl.pix}}
 +
*{{maxword|name=jit.map}}
 +
*{{maxword|name=jit.op}}
 +
*{{maxword|name=jit.pix}}
 +
*{{maxword|name=jit.planeop}}
 +
*{{maxword|name=jit.rgb2luma}}
  
 
==Errors or Clarifications==
 
==Errors or Clarifications==

Revision as of 20:09, 13 August 2013

Contents

jit.scalebias online refpage

Using the jit.scalebias object

jit.scalebias is an important object that allows you to scale (multiply) and bias (add to) each plane in a 4-plane character input matrix (ARGB) to achieve a variety of color effects.

jit.scalebias Tutorials

Jitter Tutorial 6: Adjust Color Levels goes over jit.scalebias in detail.

Jitter Tutorial 9: More Mixing uses jit.scalebias with jit.op to emulate the behavior of jit.xfade.

It appears in these tutorials as a way of fading in/out video:

jit.scalebias is an important object for image manipulation and can be used in a variety of ways. Look at these example patches to get a feel for how it can be used:

  • ./examples/jitter-examples/3rd_Party/Cycle-delic.maxpat;
  • ./examples/jitter-examples/3rd_Party/JitterApplets/SimpleMix.lib/MultiModeMixer.maxpat;
  • ./examples/jitter-examples/audio/jit.poke~-spectrogram.maxpat;
  • ./examples/jitter-examples/audio/jitter_pvoc/jitter_pvoc_3D.maxpat;
  • ./examples/jitter-examples/render/gl_fft~.maxpat;
  • ./examples/jitter-examples/render/jit.gl.render.cyl.maxpat;
  • ./examples/jitter-examples/render/jit.gl.render.grid-sketch.maxpat;
  • ./examples/jitter-examples/render/jit.gl.render.grid.maxpat;
  • ./examples/jitter-examples/render/jit.gl.render.sphere.maxpat;
  • ./examples/jitter-examples/render/jit.gl.render.xfade-shapes.maxpat;
  • ./examples/jitter-examples/render/jit.gl.render.xfade-shapes2.maxpat;
  • ./examples/jitter-examples/video/analysis/jit.3m-autoexpose.maxpat;
  • ./examples/jitter-examples/video/analysis/jit.histogram-multbyvideo.maxpat;
  • ./examples/jitter-examples/video/color/jit.charmap-twotone.maxpat;
  • ./examples/jitter-examples/video/color/jit.xfade-sat+desat.maxpat;
  • ./examples/jitter-examples/video/color/RGB2Luma-4_ways.maxpat.
  • ./examples/jitter-examples/video/keying/jit-diy-chromakey.maxpat;
  • ./examples/jitter-examples/video/keying/jit.scalebias-rgb2lumakey.maxpat;
  • ./examples/jitter-examples/video/matrix/jit.matrix-split.maxpat;
  • ./examples/jitter-examples/video/misc/Eclipse.maxpat (look in the auto-expose sub-patch);
  • ./examples/jitter-examples/video/misc/jit.robcross-pixels.maxpat;
  • ./examples/jitter-examples/video/op/jit.op-fabric.maxpat;
  • ./examples/jitter-examples/video/spatial/jit.convolve-blur.maxpat;
  • ./examples/jitter-examples/video/spatial/jit.rota-feedback.maxpat;
  • ./examples/jitter-examples/video/spatial/jit.rota-pile.maxpat;

jit.scalebias Tips and Workarounds

Here is a jit.pix patch for doing a basic scalebias in gen:

-- Pasted Max Patch, click to expand. --

A scalebias shader is included with max. You can find the file here: ./Cycling '74/jitter-shaders/color/cc.scalebias.jxs,

and the help patch here: ./examples/jitter-examples/render/slab-helpers/color/cc.scalebias.jxs-help.maxpat.

The cc.scalebias shader is used in Jitter Tutorial 42: Slab: Data Processing on the GPU.

Third-Party Max externals similar to the jit.scalebias object

Maxobjects.com listing for the jit.scalebias object

People who looked at/used this object also looked at....

Errors or Clarifications

(please list things that you believe to be errors or omissions from the existing refpage)