You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what is the "cam" parameter, how do i get a full list of all available cameras, what happens if i have several and what would their other names be, etc.
The text was updated successfully, but these errors were encountered:
Currently openFrameworks has inadequate support for specifying the current camera. The best way to do it now is by experimentation with the id field in the grabbers.xml file.
<grabbers>
<!-- listing grabbers until core has better support -->
<grabbername="cam"id="0"width="640"height="480"/>
<grabbername="cam1"id="1"width="640"height="480"/>
<grabbername="cam2"id="2"width="640"height="480"/>
</grabbers>
The id is used to set the camera number. The name is not currently used (as setting the camera by name is not yet supported in oF -- although we're working on it).
p.s. the "name" (e.g. cam or cam1) is used in the osc command. Currently this xml file simply creates a nameable link between the hardware index and a name that is easy to remember.
I see that an OSC message like this will create a sink called "cam" for an existing layer:
/livedraw/layers/new CAM_LAYER_MINI_0 810 100 80 60, /livedraw/layers/CAM_LAYER_MINI_0/A/input/sink cam
what is the "cam" parameter, how do i get a full list of all available cameras, what happens if i have several and what would their other names be, etc.
The text was updated successfully, but these errors were encountered: