I'd like to make an app that I can connect to Windows as a "fake" web camera -- that is, to sned my live render to services like Skype or ChatRoulette, whatever might be able to read a web cam -- handy for sharing (even with phones).
But I'm really puzzled as to where to start -- I profess a large-sized ignorance of Windows internals. Can anyone point me in a useful starting direction?
Anyone know how to get these to play nicely together?
This is what I get when runnign an existing thread:
Exception in thread "Animation Thread" java.lang.NoClassDefFoundError: javax/media/opengl/glu/GLUtessellatorCallback at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.getConstructor(Unknown Source) at processing.core.PApplet.makeGraphics(PApplet.java:1322) at processing.core.PApplet.size(PApplet.java:1149) at processing.core.PApplet.size(PApplet.java:1109) at GLBlendModes.setup(GLBlendModes.java:102) at processing.core.PApplet.handleDraw(PApplet.java:1579) at processing.core.PApplet.run(PApplet.java:1503) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: javax.media.opengl.glu.GLUtessellatorCallback at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 11 more
The examples that come with it are still tagged "import rgeom.*;" and the ones in the overview
here import the right library but still give me errors before even starting: "Cannot find anything named "RGeomerative"
I'm running Processing 1.2.1 on the brand-new 25Oct2010 geomerative. Is there some obvious trick I'm missing?
So I've been trying to get my OpenGL-based sketch to export well as an applet.
It opens fine in a browser on one machine (my laptop, running XP), but not another (my main desktop, running Win7).
Oddly, I can export from the non-working machine, and it STILL works on the other.
It doesn't work on OpenProcessing.org regardless of which machine exports it.
One thing I can see is that the applet directory doesn't include files from the data directory (and thus just zipping the applet directory and sending to to OpenProcessing doesn't work -- no big surprise there, you would think)
But since it DOES work on the (older!) laptop... why? It must be able to read the files (XML and GLSL and a font) from the "data" directory, but on the desktop (and OpenProcessing) it fails by saying that it can't find the application class at all.
Is this kind of behavior known? Is it potentially a java-version issue, or...?
(one caveat: applet export gives the wrong display size in index.html, so I've had to hand-edit the "100" to "512" -- but even if I hard-code the 512x512 size, and the index.html gets it correctly, the work/not-work behavior is the same)
OpenProcessing doesn't seem to much-like running OpenGL sketches that load GLSL (and XML) from disk. Anyone have any good suggestions on how to share such a sketch, other than just dropping a .ZIP on my own web server?
(Which I did -
HERE -- but not my favorite method)
Just wondering what sorts of workflows people follow?
Right now I'm editing Processing code within the IDE but editing XML and GLSL files in VIM. Switch back and forth is a bit awkward, but the Processing IDE refuses to open anything but .pde files... have people come up with any clean solutions? (Right now I hit "Open" then in the windows dialog I right-click my non-pde files, hit "edit with Vim" in the dialog box's context menu, then CLOSE the PDE file dialog -- relatively quick but oh-so-hacky!)