Processing with Resolume SPOUT help

Just let it all out, buddy. You're among friends here.
Post Reply
MagmaF
Met Resolume in a bar the other day
Posts: 1
Joined: Sat Nov 17, 2018 20:06

Processing with Resolume SPOUT help

Post by MagmaF »

Hello everyone my names is MagmaF
I am a relatively new user to Processing and Spout and I have a little problem
I have the SpoutSender processing sketch running after creating a spoutSender
and when I am in Resolume I import the SpoutSender to the grid and Resolume Kills itself
I don´t know why It happens, Am I missing Something???
Here are my specs:
Processing v.3.4
Resolume Arena 5.0.0
Windows 10 Corei7 12GB RAM
Spout v.2.006
SpoutControls installed
Spout NDI Installed
the usbklib drivers for kinect

here is the example code

//

import spout.*;
PImage img; // image to use for the rotating cube demo
PGraphics pgr; // Graphics for demo
Spout spout;

void setup() {

// Initial window size
size(640, 360, P3D);
textureMode(NORMAL);

// Create a graphics object
pgr = createGraphics(1280, 720, P3D);

// Load an image
img = loadImage("SpoutLogoMarble3.bmp");
spout = new Spout(this);
spout.createSender("Spout Processing");
}

void draw() {

background(0, 90, 100);
noStroke();

// Draw the graphics
pushMatrix();
translate(width/2.0, height/2.0, -100);
rotateX(frameCount * 0.01);
rotateY(frameCount * 0.01);
scale(110);
TexturedCube(img);
popMatrix();

spout.sendTexture();
}
void TexturedCube(PImage tex) {

beginShape(QUADS);
texture(tex);

// +Z "front" face
vertex(-1, -1, 1, 0, 0);
vertex( 1, -1, 1, 1, 0);
vertex( 1, 1, 1, 1, 1);
vertex(-1, 1, 1, 0, 1);

// -Z "back" face
vertex( 1, -1, -1, 0, 0);
vertex(-1, -1, -1, 1, 0);
vertex(-1, 1, -1, 1, 1);
vertex( 1, 1, -1, 0, 1);

// +Y "bottom" face
vertex(-1, 1, 1, 0, 0);
vertex( 1, 1, 1, 1, 0);
vertex( 1, 1, -1, 1, 1);
vertex(-1, 1, -1, 0, 1);

// -Y "top" face
vertex(-1, -1, -1, 0, 0);
vertex( 1, -1, -1, 1, 0);
vertex( 1, -1, 1, 1, 1);
vertex(-1, -1, 1, 0, 1);

// +X "right" face
vertex( 1, -1, 1, 0, 0);
vertex( 1, -1, -1, 1, 0);
vertex( 1, 1, -1, 1, 1);
vertex( 1, 1, 1, 0, 1);

// -X "left" face
vertex(-1, -1, -1, 0, 0);
vertex(-1, -1, 1, 1, 0);
vertex(-1, 1, 1, 1, 1);
vertex(-1, 1, -1, 0, 1);

endShape();
}
Thanks for any help in advance!!!
I also would like to mention that I have al ready searched for some answer in this forum but any that i had read leaded to a solution.

User avatar
Oaktown
Resolume honorary member
Posts: 2837
Joined: Tue May 08, 2012 15:19
Location: Oakland, CA

Re: Processing with Resolume SPOUT help

Post by Oaktown »

why don't you install the most recent version of Arena 5 which is 5.1.3?

Post Reply