Very recently originalsurfmex forked ruby-processing here, with the noble intent of updating it to use jruby-1.7.0, and the then latest version of processing-2.0. It was unfortunate as that was version 2.0b5, which was a bit buggy. I just cloned the forked version onto my linux box and recompiled it with version-2.0b6 which is somewhat more settled (but nowhere near current development version, where AWT has been replaced with NEWT). Anyway here is snapshot of the result of running a modified jwishy (the control panel look a bit weird because I was using openjdk).
Anyway originalsurfmex fork doesn't really do it for 3D or without modification didn't work for me. So I hacked it up myself to get 3D working after a fashion (I needed to ditch all references to online in code, got rid of overriden methods size and handleDraw in app.rb). I found I needed to include processing.opengl and possibly processing.event as well as processing.core.
More to follow.....
Experiments with ruby-processing (processing-2.2.1) and JRubyArt for processing-3.0
Sunday, 2 December 2012
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
-
▼
2012
(26)
-
▼
December
(17)
- Bezier Patch as a VBO (PShape)
- Bezier Patch in ruby-processing
- Rotating Arcs Sketch in Ruby Processing
- Context free sketch in regular ruby processing
- Exporting cf3ruby directly to 'large' pdf
- Context Free Tree in cf3ruby
- New context_free.rb (cf3ruby)
- MeshToVBO conversion ruby-processing
- Fix for ruby-processing context free
- What works what does not and may not
- Retained Shape (FBO) in Ruby Processing
- Creating a Mock Vanilla Processing Distribution
- Landscape shader in ruby-processing
- Fish-eye shader revisited with ruby-processing and...
- PShader Example in ruby-processing
- A 3D-texture example with my hacked ruby-processing
- Testing ruby-processing with processing-2.0
-
▼
December
(17)
About Me
- monkstone
- I have developed JRubyArt and propane new versions of ruby-processing for JRuby-9.1.5.0 and processing-3.2.2
If you get it working well -- please contribute sending the patch back on GitHub as a pull request.
ReplyDeleteCheers,
Jeremy
Will do, currently my version is very much at hack stage, further I would like vanilla processing-2.0 beta to settle down a bit more, may'be when 2.0b7 gets released, as there was bit of change in jogl implementation (AWT -> NEWT). Actual performance so far is very encouraging see more recent blog entries.
ReplyDelete