Pure OpenGL 2D texture binding in processing 2.0
Hello, I found a strange trick while trying to bind texture: I'm loading an image ( and ONLY one, this will be important for the following ) in setup(): size( 1280, 768, OPENGL); // then opengl...
View ArticleRe : Pure OpenGL 2D texture binding in processing 2.0
Complete code:import javax.media.opengl.GL2;import processing.opengl.Texture;import java.nio.ByteBuffer;GL2 gl; PGraphicsOpenGL pgl;PImage resource;void setup() { size( 1280, 768, OPENGL); pgl =...
View ArticleRe : playing a sound file on a mac 10.6.8 with processing 2.01
Yes I tried a different mp3 file and it seems to play fine. so is there a way to convert mp3 files that do not work into mp3 files that do work?
View ArticleCarried nodes along to music Rhythm
Hi, I am making the game that along to the rhythm of music carried rectangulars are coming, remove rectangulars. but I don't know about how to make the carride rectangulars According to the rythm of...
View ArticleRe : Carried nodes along to music Rhythm
I already moved this topic from Programming Questions recently. No need to delete a thread and re-create it, even less with the same error in placement. If you want to bring attention to your request,...
View ArticleRe : Detect silence while recording audio.
Hi,Here's what I ended up writing.import ddf.minim.*;import ddf.minim.analysis.*;Minim minim;AudioInput audioIn;AudioRecorder recorder;BeatDetect beat;int savedTime;int silenceTime = 5000; void...
View ArticleRe : Pure OpenGL 2D texture binding in processing 2.0
Hi,Wanted to try your trick but can't get this to work, it returns "The function loadMatrix() does not exist."If commenting the line loadMatrix();i get a square with a vertical gradient from white to...
View ArticleRe : Pure OpenGL 2D texture binding in processing 2.0
Sorry Makio,I forgot about the second tab...Here is the code to add:float[] projMatrix = new float[16];float[] mvMatrix = new float[16];void loadMatrix() { gl.glMatrixMode(GL2.GL_PROJECTION);...
View Articlereceiving OpenGL error msg
When trying to run any of the examples on the Processing 2 page for createShape() I get the following:OpenGL error 1282 at bot beginDraw() : invalid operationOpenGL error 1282 at bot endDraw() :...
View ArticleRe : Minim Library using external Microphone
I get the impression you're able to make processing respond to the internal microphone, how are you doing that?sorry I can't help with your actual problem, good luck!
View Articlemaking a pdf-file
Hello there,I am a total beginner at this. The last time I programmed something was in the 1990's and in Basic.My main interest is 2D vector-art from the 60's and 70's.I saw the recodeproject and would...
View ArticleVideo playlist not incrementing!
Please someone help I cannot understand. Every single example I have used that other users say is working for them does nothing for myself. I can not get an index to increment and play the next video...
View ArticleRe : Video playlist not incrementing!
Both local variables mt & md are of float data-type. It means they possibly have a fractional part which isn't zero!Rather than use the imprecise float, try the safer int out:final Movie myFilm =...
View ArticleRe : making a pdf-file
Have you read the page about recording PDF?Can you show your code? Or, if too complex, a simple one reproducing what you do.
View ArticleRe : making a pdf-file
For now, here's a PDF recording example from another post: // http://forum.processing.org/topic/pdf-export-shapes-misaligned import processing.pdf.*; final static boolean RECORD = true; final static...
View ArticleRe : making a pdf-file
From what I have understood, aaronboumans wants to put to PDF this specific picture (from the link he submitted)and the sketch code which is supplied on that page. This may have seem trivial task to...
View Articlesound interaction and slow movie problem
Hello,I have the recent version (2.0.1)I'm creating a school project in which I want to create an interaction with sound. My idea is to have a movie when nothing happens (normal.mov) and the other...
View ArticleRe : sound interaction and slow movie problem
Why are you doing 2 readings? There's 1 in draw() and another 1 in movieEvent()?
View ArticleMinim: Choppy on Build
I'm having an unusual problem with Minim: when I run my program from within Processing, the sound works just fine. When I build for Linux and then run, the program works fine, but the sound is really...
View Article