Quantcast
Channel: Processing Forum
Browsing all 1768 articles
Browse latest View live

creating a capture button

I've got a webcam sketch, but I was wanting to make a mouse click save the image from the webcam, any help would be appreciated. I've shown my sketch bellow in case its not a good starting...

View Article


Movie.speed()

Hi,I am working on a project that requires a variable speed in video playback.  This can be achieved with Movie.speed().  I have two questions regarding it that I was hoping someone would shed a light...

View Article


Re : Trying to trigger video Filters with a touch of several buttons Need...

Why have you started a new thread?Maybe it is because you have different problems than in the old thread. If so, that's OK.But I don't see a question in your message, actually.

View Article

Re : creating a capture button

I started with one of the examples that comes with Processing added the G4P library (Select Sketch | Import Library | Add Library | G4P from the menu). I added a G4P button to the sketch, an event...

View Article

Re : Trying to trigger video Filters with a touch of several buttons Need...

Yeh it was a new question I got the buttons working now I needed help with video filters and like you said before you haven't really worked with video

View Article


Re : Trying to trigger video Filters with a touch of several buttons Need...

Sure, but "help with video filters" is a bit vague.What kind of filters?

View Article

Re : How to use pgl.drawElement ?

Hello All !I'm far from my initial question but I found the solution I was looking for ! :)It's actually possible to add custom attributes that affect Vertex & Fragment shader, and it's very easy...

View Article

How to use PShader.bind / PShader.unbind ?

Hello !Someone know what the functions PShader.bind and PShader.unbind are supposed to do ?I don't know at all... All works fine if I don't use it, and if I do nothing changed... I probably don't use...

View Article


Re : How to use PShader.bind / PShader.unbind ?

You don't normally need to use bin/unbind methods in PShader, since Processing takes care of doing that automatically. But if you are calling low-level OpenGL functions, then bind/unbind become useful,...

View Article


Re : choose your own adventure game with video transition

Hi again,Hope im not bugging anyone much with all these questions. Just, this project is due tomorrow and I'm getting kind of stumped. I made a method for nameMovie and this is how I made it look:void...

View Article

Re : choose your own adventure game with video transition

No, nameMovie is just a String you have to add to your class.

View Article

Re : choose your own adventure game with video transition

Glad to hear!I did make it as a string in my classPage but it is still not working.This is how my Class page looks now.class Page{  import processing.video.*;  Movie myMovie;  String bodyText; //string...

View Article

Re : choose your own adventure game with video transition

in Page: don't have this:      myMovie = new Movie (this, nameMovie);     myMovie.play(); have it in draw() or in keyPressed()and you don't have a String nameMovie in your class

View Article


Re : choose your own adventure game with video transition

here class Page {  String bodyText; //string used for displaying the text  PImage backImg;  int[] options;  String nameMovie;  Page( String nameMovie_, String nameImage) {    //  bodyText = theString;...

View Article

Re : choose your own adventure game with video transition

now you have to put the rest accordingly...

View Article


Re : choose your own adventure game with video transition

its now saying found one too many { characters without a } to match it.

View Article

Re : choose your own adventure game with video transition

its now saying found one too many { characters without a } to match it which doesn't make too much sense since all the brackets are there and when i add another it says cant find classPage

View Article


Re : choose your own adventure game with video transition

never mind, fixed the problem with the bracket. but in keyPressed() I am getting the error The method chooseOption(int, int) in the type test.Page is not applicable for the arguments (int). My sketch...

View Article

Re : choose your own adventure game with video transition

I think im having this error because now there is the int name in the void chooseOption on the classPage

View Article

Re : How to use PShader.bind / PShader.unbind ?

Hello Andres !Thank you for your message !I'm using custom attributes, then I need to use openGl function to enable and define the FloatBuffers.Something like that   pgl = beginPGL();  scaleLoc =...

View Article
Browsing all 1768 articles
Browse latest View live