Manchester-based interactive developer, specialises in creating experimental games and general interactive niceness using Flash, Processing and all sorts.
I'm trying to export my sketch to EXE, and it... just doesn't work. I don't get any errors or anything, but when I run it I just get a grey screen. Interestingly, my app uses the JMyron video library for AR, and when I run the EXE my webcam definitely turns on (i.e. the light turns on) but I just get the grey screen.
My app uses the following libraries, could any of these make a difference?
I'm putting together an augmented reality app in Processing that needs to recognise two different AR markers.
I've got a demo up and running using SimpleARToolkit, which only supports one marker. I also found MultiARToolkit, which is a modified version of the library, that works great for multiple markers but seems really really wobbly and jittery compared to the standard library.
My app doesn't however need to see both markers at the same time, I just need to look at one or the other at once, not both.
I'm working on the assumption that it might be easier to stick with SimpleARToolkit and somehow register two markers for detection, as they don't need to be simultaneously viewable... Does anyone have any experience with this kind of thing?
Any suggestions/examples would be massively appreciated. :)
I'm creating an augmented reality installation that uses a number of external libraries (jmyron, ARtoolkit, OBJloader and a fullscreen helper), and includes a 6000 polygon textured model, rendered in OpenGL mode.
It all works brilliantly, but: after a few minutes I get an Out Of Memory error and the program halts. I've already bumped up Processing's memory allocation to 1.5GB, and this improved it a little, but I'm still getting the problem.
Interestingly, I added a handler that calls System.gc() every time I click. This seems to hold the problem at bay (as far as I can see anyway). I was considering just calling this at arbitrary time intervals, but this seems really dirty :)
What I'd rather do is optimise my project so it plays nicely, does anyone have any pointers on optimising either AR or 3D in Processing? I can post my source here if needed.