← Back

ofxArtnet

github.com/hiroyuki/ofxArtnet · @hiroyuki
OF 0.11 Hardware Interface

ultra simple artnet addon for openFrameworks

72 32 Last commit 4y ago Created 14y ago

Forks

Forks pushed to more recently than hiroyuki/ofxArtnet itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

nicowesse/ofxArtnet by @nicowesse · ★ 0 · pushed 1y ago
cyberboy666/ofxArtnet by @cyberboy666 · ★ 2 · pushed 2y ago
antimodular/ofxArtnet by @antimodular · ★ 0 · pushed 3y ago
roymacdonald/ofxArtnet by @roymacdonald · ★ 0 · pushed 4y ago

README

ofxArtnet



Join the chat at https://gitter.im/hiroyuki/ofxArtnet

openframeworks addon for ArtNet

Note: This addon is seperate from the old version which uses libartnet. In case you still need the old version, please checkout the legacy branch.

Overview

<img src="https://art-net.org.uk/wp-content/uploads/2016/09/Art-Net-banner-e1474475270322.png">

ofxArtnet allows the sending and recieving of Art-Net data within OpenFrameworks.

Basic Usage

Sending simple data over ArtNet.

Initialize an FBO and ArtNet Sender

``C++ ofFbo sendData; ofxArtnetSender artnet;

Allocate the frame buffer and ArtNet sender

C++ string targetIp = "127.0.0.1"; int width = 170; int height = 1; int internalformat = GL_RGB; sendData.allocate(width, height, internalformat); artnet.setup(targetIP);

Draw to the frame buffer and send to artnet

C++ sendData.begin(); ofClear(0); ofSetColor(color); ofDrawRectangle(0, 0, sendData.getWidth(), 1); sendData.end();

// Convert the frame buffer to ofPixels ofPixels data; sendData.readToPixels(data);

// Send the pixel data over Artnet artnet.sendArtnet(data);
``

Documentation



See Wiki for Documentation

Examples



Send Data over ArtNet Send Threaded Data Over ArtNet

Dependencies

ofxNetwork

Get this addon

HTTPS
SSH