hello Antoine,
i'm trying to test pof. i'm following the instructions, but i have some problems.
for the standalone project : I cd in the exampleStandalone folder, not in the example folder as advertised in the documentation.
make give this error :
In file included from src/main.cpp:2:0: src/testApp.h:9:19: fatal error: ofxPd.h: Aucun fichier ou dossier de ce type #include "ofxPd.h"
using the codeblock workspace, i had to simlink /home/chnry/of/of_v0.8.4_linux64_release/libs/openFrameworksCompiled/project/linux64 to /home/chnry/of/of_v0.8.4_linux64_release/libs/openFrameworksCompiled/project/linux but in the end, i had the same error.
building as pd externals, make gives :
In file included from src/ofApp.cpp:7:0: ../../../addons/ofxPof/src/pofBase.h: In constructor ‘pofBase::pofBase(_class*)’: ../../../addons/ofxPof/src/pofBase.h:30:50: error: cast from ‘pofBase*’ to ‘unsigned int’ loses precision [-fpermissive] snprintf(selfname,16 , "pof%x", (unsigned int)this); ^ make[1]: *** [obj/linux64/Release/src/ofApp.o] Erreur 1 make[1]: quittant le répertoire « /home/chnry/of/of_v0.8.4_linux64_release/addons/ofxPof/buildExternal » make: *** [Release] Erreur 2
i'm running ubuntu linux (14.04)
cheers cyrille
Le 26/03/2015 14:29, Antoine Rousseau a écrit :
Hi all,
my name is Antoine Rousseau (sourceforge/github/puredata/codelab : ant1r). I'm using Pd since 2000, to build musical and visual machines (see http://metalu.net and al1ant1.free.fr http://al1ant1.free.fr).
I wrote moonlib externals long time ago. (BTW maybe I will have some time one day to update these libs ; will it be possible I have an access to the sourceforge for this purpose ?)
I'm happy to announce the publication of a new project : Pof = Pd + openFrameworks : https://github.com/Ant1r/ofxPof
It consists of pd externals written in OF bringing mid-level openGL functions (and some additional utilities), so you can build an app entirely in pd patchs, and get it working for every OF-supported OSes (Linux/OSX/Win/Android/IOS) with the help of ofxPd (https://github.com/danomatika/ofxPd).
Of course Pof has similarities with Gem ; one of the main differences is that the rendering is done by a parallel thread, to avoid audio clicking ; this is done by copying the pd tree to a specific rendering tree. This has some implications on the pd tree : in Pof you cannot render the same object multiple times.
Multitouch events are also managed by the rendering thread, using an optimized inverted tree, for an event at a given place to be captured by the last drawn object at this place. The touch management is (for now) only meaningful in a 2D design : depth (z) is not taken into account.
Being written in C++/OF, tons of tedious work are made easy ; that's why some utilities I needed for the work I did were written into Pof : threaded file downloading, XML/JSON support, file utils.
This project has only been tested on Linux (Ubuntu 12.04 32bit) and Android for the moment. An Android patch player APK file and a built pof.pd_linux are available for download in the releases github tab (https://github.com/Ant1r/ofxPof/release). Contributions are welcome to have it running on more systems.
I hope this will contribute to make the Pd ecosystem even stronger !
Regards
-- Antoine Rousseau <ant1rousseau1@gmail.com mailto:ant1rousseau1@gmail.com> http://www.metalu.net/ http://www.metaluachahuter.com/compagnies/al1-ant1/ http://al1ant1.free.fr
Pd-dev mailing list Pd-dev@lists.iem.at http://lists.puredata.info/listinfo/pd-dev