Namespaces

Variants
Actions

suckah

From Cycling '74 Wiki
(Difference between revisions)
Jump to: navigation, search
(Errors or Clarifications)
 
Line 92: Line 92:
 
==Errors or Clarifications==
 
==Errors or Clarifications==
 
(please list things that you believe to be errors or omissions from the existing refpage)
 
(please list things that you believe to be errors or omissions from the existing refpage)
* In the existing refpage it states that output is 3 ints for the RGB values of the pixel at the specified coordinate. This is only true when the compatibility attribute has been set to 1. suckah defaults to outputting RGBA float values in the range 0. - 1. The compatibility attribute (default = 0) allows you to switch to legacy 0 - 255 integer output, while the outputalpha attribute (default = 1) allows you to disable alpha reporting.
+
* In the existing refpage it states that output is 3 ints for the RGB values of the pixel at the specified coordinate. This is only true when the compatibility attribute has been set to 1 and the outputalpha attribute has been set to 0. suckah defaults to outputting RGBA float values in the range 0. - 1. The compatibility attribute (default = 0) allows you to switch to legacy 0 - 255 integer output, while the outputalpha attribute (default = 1) allows you to disable alpha reporting.
  
  
 
[[Category:Jitter Refpage extensions jit.(U - Z), suckah]]
 
[[Category:Jitter Refpage extensions jit.(U - Z), suckah]]
 
[[Category:Refpage extensions]]
 
[[Category:Refpage extensions]]

Latest revision as of 23:42, 3 July 2013

Contents

[edit] suckah online refpage

[edit] Using the suckah object

Suckah can be used much like the eyedropper tool in photoshop to grab the current color value of any screen pixel. This is useful in creating color palates from images, chromakeying, color tracking, UI design, and more.

[edit] suckah Tutorials

  • Jitter Tutorial 10: Chromakeying, introduces the application of suckah in chromakeying. The suckah object sits on top of the pwindow displaying the source video, allowing you to click directly on the color you want to key out.
  • Jitter Tutorial 25: Tracking the Position of a Color in a Movie, offers a method of combining suckah with the jit.findbounds object to track colored objects. Note that this functionality is not built in to the tutorial patch, but is in the text portion of the tutorial reference.

[edit] suckah Tips and Workarounds

  • Placing suckah on top of a jit.pwindow is a useful and intuitive way to get information about the color value of a particular pixel.
  • suckah can easily be used like an eyedropper tool, allowing you to quickly create palates or alter the appearance of your UI. This patch gives a simple example:
-- Pasted Max Patch, click to expand. --
  • An alternative method for getting pixel values from a matrix is to send the "getcell" message to a jit.matrix. This patch uses the mouse-over capability of the jit.pwindow object to emulate the click-to-output behavior of suckah.
-- Pasted Max Patch, click to expand. --

[edit] Third-Party Max externals similar to the suckah object

Maxobjects.com listing for the suckah object

[edit] People who looked at/used this object also looked at....

[edit] Errors or Clarifications

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

  • In the existing refpage it states that output is 3 ints for the RGB values of the pixel at the specified coordinate. This is only true when the compatibility attribute has been set to 1 and the outputalpha attribute has been set to 0. suckah defaults to outputting RGBA float values in the range 0. - 1. The compatibility attribute (default = 0) allows you to switch to legacy 0 - 255 integer output, while the outputalpha attribute (default = 1) allows you to disable alpha reporting.