|
From: Pierre J. <ja...@re...> - 2011-01-04 04:38:07
|
Fabien, Juut a short note: I did a quick look at your source directory. I am noticing that you are using an LPGL license v3 and you as well amend it. It's your project but, it might be more useful if you used an MIT x11/Modified BSD/NCSA permissive license (like OFX itself)? http://www.gnu.org/licenses/license-list.html#Expat (at least for the core library, someone might have a reason for GPL- e.g. for a useful example.cpp or a specialized codec...) Reason is some companies don't accept to use LPGL licensed code as it becomes too complicated with their legal dept. It's also becoming more common these days to just offer dual-licensing -- http://en.wikipedia.org/wiki/Multi-licensing (choose your own) so it doesn't have to become a religion. Pierre On 12/21/2010 2:10 PM, Pau Gargallo wrote: > Fabien, > > thanks for the answer and the pointer to your plug-ins, they will be > very useful. > > After catching the kOfxStatFailed when fetching the images the > examples work fine. I'll send a patch with the changes I've made. > > I'm using the last version of Nuke on a 64bits linux, but I've > compulsively tried a bunch of versions from the Foundry's ftp, to see > if the error happened only some of them. As it turned out, it was not > a version problem but an oversight in the example. > > cheers, > pau > > > > On Tue, Dec 21, 2010 at 5:10 PM,<fab...@fr...> wrote: > >> Hi, >> The default examples are not really great. >> Effectively, nuke often returns an empty image (I don't know why) and you have to return an error. And nuke does the process again, with a good image... >> We have created an open source project for openfx plugins and a library to batch a graph of openfx nodes. The project is still under early development, but you can found a bunch of plugin examples, simple or advanced ones. >> https://github.com/tuttleofx/TuttleOFX/tree/master/plugins/image/process >> There is no documentation, so if you have any question, don't hesitate to ask me. >> To build see INSTALL.scons (the bjam version is no more used and so not up to date). >> >> Regards, >> Fabien Castan >> >> PS: which version of nuke are you using ? There is many openfx bug fixes in nuke>= 6.0. >> >> ----- Mail Original ----- >> De: "Pau Gargallo"<pau...@gm...> >> À:ope...@li... >> Envoyé: Mardi 21 Décembre 2010 13h01:37 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne >> Objet: [Openfx-developer] Openfx examples in Nuke, problems and fixes >> >> Hi all, >> >> I'm new to OpenFX. I've downloaded the headers and examples, compiled >> them and loaded them into Nuke without problems. The problems arrive >> when I actually use the plug-in examples. They work properly as long >> as you do not move the sliders too much. But as soon as you move a >> slider (any of them) a bit to fast, Nuke crashes. I've tried multiple >> combinations of Nuke and OpenFX versions both on linux and mac, and >> had always the same crash. >> >> The problem seems to be that the render method in the examples does >> not check the validity of the source image. The call >> >> gEffectHost->clipGetImage(myData->sourceClip, time, NULL,&sourceImg); >> >> in line 667 of the basic.cpp example, is sporadically returning >> kOfxStatFailed, but the return value is ignored. >> >> What is the proper way to handle such failure? >> Should the code in the examples be modified to handle this? >> >> Thanks in advance, >> pau >> >> ------------------------------------------------------------------------------ >> Lotusphere 2011 >> Register now for Lotusphere 2011 and learn how >> to connect the dots, take your collaborative environment >> to the next level, and enter the era of Social Business. >> http://p.sf.net/sfu/lotusphere-d2d >> _______________________________________________ >> Openfx-developer mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/openfx-developer >> >> > ------------------------------------------------------------------------------ > Forrester recently released a report on the Return on Investment (ROI) of > Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even > within 7 months. Over 3 million businesses have gone Google with Google Apps: > an online email calendar, and document program that's accessible from your > browser. Read the Forrester report:http://p.sf.net/sfu/googleapps-sfnew > _______________________________________________ > Openfx-developer mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openfx-developer > > |