1 Aug 2009 01:47
Re: nona -t
Yuval Levy <google <at> levy.ch>
2009-07-31 23:47:43 GMT
2009-07-31 23:47:43 GMT
Bruno Postle wrote:
> This is a bug and should go in the tracker.
>
> I suspect that Enblend -> use alternative Enblend/Enfuse program is
> similarly broken.
>
actually it is more than a bug. It's a mess.
I've been working on Andrew's nona-gpu branch as this is the next
feature we want to release. I studied all of his commit and understood
pretty quickly that he neatly self-contained everything in nona and that
we need a way to make it accessible from the Hugin GUI, i.e. pass the -g
switch (which is similar to passing the -t switch). I figured out that
by looking at how Hugin handles similar switches I can drill through the
different stages and implement the missing code.
First I decided where to put the choice. The GPU is a system-wide
choice, so it makes sense to put it in the preferences (as opposed to
put it in the nona options on the stitcher tab, which I also considered
because I thought I could use example code from there). On the stitcher
tab I found that some option go into the project file (and are
saved/implemented). others *should* go into the makefile.
To debug my work, I mutilated Andrew's nona (sorry Andrew). Where he
inserted his code with
case 'g':
useGPU = 1;
(Continue reading)
RSS Feed