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

Re : error arrayindexoutofboundexception: 0

There does not appear to be a problem with the out array. It could be thatSerial.list()is returning a zero length array so that [0] will be out of bounds. Try printing Serial.list.lengthif it shows...

View Article


Re : is anything wrong my code?

so what errors are printed on the console? there must be something.what does myMovie get set to? is it null?

View Article


Re : is anything wrong my code?

also operating system? processing version? .mov is generally a quicktime format. can you try something else?

View Article

loadTable and maximum rows

Hi, when I use loadTable to, er, load a table, but a very large one, I'm getting several messages like this one:Note: setting maximum row count to 1,310,720 (resize took 58 ms)and while 58ms is not...

View Article

Re : loadTable and maximum rows

I found in Table.java a setRowCount() function taking a number. You can set it to avoid several expansions of the data table during the reading.

View Article


Re : new shader() supporting geometry shaders?

Hi,while going through PShape's javadoc I found this function, PShape getTessellation() here, with no other information. Does anyone know something about it?Cheers

View Article

Pgraphics buffer low quality / PGraphics vector buffer?

Hi, i have a serious problem and i need some help please.I am making generated booklet, a little book. Book is designed as spreads (two pages together) i then intend to print it as saddle stitch. So...

View Article

Re : Dinamically setting the points of a bezierVertex in a PShape

Hi Benj, thanks for your replies.I just want to be able to make it bigger in a simple way and not using scale(). I have some other simpler shapes, not using bezier vertexs, and I can easily change the...

View Article


Re : new shader() supporting geometry shaders?

The getTessellation method returns null in the core PShape class and isn't overridden in the extended PShapeSVG and PShapeOBJ classes, however it is overridden in the PShapeOpenGL class. There is a lot...

View Article


Re : Pgraphics buffer low quality / PGraphics vector buffer?

Ive found how increase quality, by increasing PGraphics buffer size and render data there then. But its like half solution because now i generate instead of 500kb per page 25MB per page, because its...

View Article

Re : Dinamically setting the points of a bezierVertex in a PShape

thanks that's helpful.  the bit about having access to the original vertices and not the 20 new ones was clear from your first post.  my bad on not getting that and providing a useless answer.  still,...

View Article

I want to draw a PGraphics to screen without bilinear filtering

Every time Processing gets updated, I have to come up with a different solution for this.I have a small (say 320x240) PGraphics as an off-screen buffer to draw on. Then I want to stretch this PGraphics...

View Article

Re : Dinamically setting the points of a bezierVertex in a PShape

Hi again, Benj, and thanks again for your reply.Indeed, it'd be a good idea implement the setBezierVertex myself, but if I did that, I'd have to create a new shape everytime I want to draw it, by...

View Article


Re : Using GLSL shaders

Hi all!thanks for your examples and explanations!The source code above doesn't work anymore with Processing 2.0, as the PShader specifications have changed a bit (for instance, PShader.FLAT doesn't...

View Article

How can I make a beat detector?

I'm trying to make a game similar to Super Hexagon, and I want people to be able to use headphones. I'm using this method to play the music:import minim.*;AudioPlayer player1;Minim minim1;minim1=new...

View Article


Re : How can I make a beat detector?

http://code.compartmental.net/tools/minim/manual-beatdetect/

View Article

Recording video from webcam and using it as a Movie object

I have researched the forums and didn't find a decisive solution for this problem:I want to record a few videos (each 5 seconds long or so) from a webcam,at the beginning of the sketch,and then later...

View Article


Re : Dinamically setting the points of a bezierVertex in a PShape

*awesome* video.  quite a trip.  yeah.  had i had known you were doing that complicated of a thing, i may not have even tried to help!  i definitely do not have the knowledge base to think about a way...

View Article

Re : Dinamically setting the points of a bezierVertex in a PShape

Thanks for the effort anyway! Appreciate it ;)

View Article

Re : LWJGL Renderer

Hello, the LWJGL-based renderer was not included in the final 2.0 release because it needs to be updated to make it work with the core classes (PGL, PGraphicsOpenGL, etc), which went through some...

View Article
Browsing all 1768 articles
Browse latest View live