Loading...
Logo
Processing Forum
bdhollow's Profile
5 Posts
3 Responses
0 Followers

Activity Trend

Last 30 days

Loading Chart...

Show:
Private Message
    Hello, sort of new to processing...

    I was wondering if it is possible to use webcam in a "texture", or if not live video, a quicktime file?



    for example in the processing library, there is this texture:


      /**
     * Texture 1.
     *
     * Load an image and draw it onto a quad. The texture() function sets
     * the texture image. The vertex() function maps the image to the geometry.
     */

    PImage img;

    void setup() {
      size(640, 360, P3D);
      img = loadImage("berlin-1.jpg");
      noStroke();
    }

    void draw() {
      background(0);
      translate(width / 2, height / 2);
      rotateY(map(mouseX, 0, width, -PI, PI));
      rotateZ(PI/6);
      beginShape();
      texture(img);
      vertex (-100, -100, 0, 0, 0);
      vertex (100, -100, 0, 400, 0);
      vertex (100, 100, 0, 400, 400);
      vertex (-100, 100, 0, 0, 400);
      endShape();
    }



    I'm wondering if you can substitute the image used with a live camera and/or a quicktime



    Let me know if you have any insight, thanks a lot!
    Hi I am new to processing

    I am using moviemaker to record video.  I want the file to save to the users desktop? Is there a way to do this?



    ps.  How can I use the same key for two different commands (keypressed).  For example, I want moviemaker to start recording when the space bar is hit, and stop recording when it is hit a second time.
    I am trying to upload a sketch onto my personal website.  I have signed my applets and everything.  The sketch works if i drag the "index.html" into safari.  But when I try and put the "index.html" page onto Dreamweaver, my sketch does not work online.
    Hello, I am in need of serious help.

    I am trying to upload a sketch I wrote onto my website as a java applet in Dreamweaver.

    It won't work.  I think part of the problem is that my sketch uses the computer's microphone and webcam, and for whatever reason Dreamweaver won't run it.  Please let me know if you have any advice or suggestions

    Thank you