[hugin-ptx] PTBatcherGUI single instance
I changed the debug version again. Please test it compiled as debug. (It's using wxLogDebug to output some messages. I hope to identify to lines which cause the problems.) Thomas -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups hugin and other free panoramic software group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx -~--~~~~--~~--~--~--- Index: src/hugin1/ptbatcher/BatchFrame.cpp === --- src/hugin1/ptbatcher/BatchFrame.cpp (Revision 3757) +++ src/hugin1/ptbatcher/BatchFrame.cpp (Arbeitskopie) @@ -184,10 +184,33 @@ bool change = false; bool loaded = false; +#ifndef PTBATCHER_USE_WXCONNECTION + wxString fileCommand(workingDir-GetName()+wxFileName::GetPathSeparator()+_T(.ptbatcher.command)); + bool startRemoteBatch=false; +#endif int projectCount = m_batch-GetProjectCount(); //we constantly poll the working dir for new files and wait a bit on each loop while(!m_closeThread) { +#ifndef PTBATCHER_USE_WXCONNECTION + //check if other instance is requesting update + if(wxFileName::FileExists(fileCommand)) + { + wxFFile aFile(fileCommand,wxT(r)); + wxString command; + aFile.ReadAll(command); + aFile.Close(); + startRemoteBatch=(command==wxT(RunBatch)); + m_batch-ClearBatch(); + m_batch-LoadTemp(); + loaded = true; + SetCheckboxes(); + wxRemoveFile(fileCommand); + if(!startRemoteBatch) + RequestUserAttention(); + SetStatusText(wxT()); + }; +#endif //check, if ptbt file was changed wxFileName aFile(m_batch-GetLastFile()); if(!aFile.FileExists()) @@ -296,6 +319,15 @@ m_batch-SaveTemp(); } +#ifndef PTBATCHER_USE_WXCONNECTION + if(startRemoteBatch) + { + startRemoteBatch = false; + wxCommandEvent MyEvent(wxEVT_COMMAND_TOOL_CLICKED ,XRCID(tool_start)); + AddPendingEvent(MyEvent); + }; +#endif + GetThread()-Sleep(1000); //wxFile file; //file.Create(workingDir-GetName()+wxFileName::GetPathSeparator()+_T(krneki.txt)); @@ -756,21 +788,48 @@ }*/ } +void BatchFrame::SetCheckboxes() +{ + wxConfigBase *config=wxConfigBase::Get(); + int i; + i=config-Read(wxT(/BatchFrame/DeleteCheck), 0l); + if(i==0) + XRCCTRL(*this,cb_delete,wxCheckBox)-SetValue(false); + else + XRCCTRL(*this,cb_delete,wxCheckBox)-SetValue(true); + i=config-Read(wxT(/BatchFrame/ParallelCheck), 0l); + if(i==0) + XRCCTRL(*this,cb_parallel,wxCheckBox)-SetValue(false); + else + XRCCTRL(*this,cb_parallel,wxCheckBox)-SetValue(true); + i=config-Read(wxT(/BatchFrame/ShutdownCheck), 0l); + if(i==0) + XRCCTRL(*this,cb_shutdown,wxCheckBox)-SetValue(false); + else + XRCCTRL(*this,cb_shutdown,wxCheckBox)-SetValue(true); + i=config-Read(wxT(/BatchFrame/OverwriteCheck), 0l); + if(i==0) + XRCCTRL(*this,cb_overwrite,wxCheckBox)-SetValue(false); + else + XRCCTRL(*this,cb_overwrite,wxCheckBox)-SetValue(true); + i=config-Read(wxT(/BatchFrame/VerboseCheck), 0l); + if(i==0) + XRCCTRL(*this,cb_verbose,wxCheckBox)-SetValue(false); + else + XRCCTRL(*this,cb_verbose,wxCheckBox)-SetValue(true); +}; - - - void BatchFrame::OnCheckDelete(wxCommandEvent event) { if(event.IsChecked()) { m_batch-deleteFiles = true; - wxConfigBase::Get()-Write(wxT(/BatchFrame/DeleteCheck), 1); + wxConfigBase::Get()-Write(wxT(/BatchFrame/DeleteCheck), 1l); } else { m_batch-deleteFiles = false; - wxConfigBase::Get()-Write(wxT(/BatchFrame/DeleteCheck), 0); + wxConfigBase::Get()-Write(wxT(/BatchFrame/DeleteCheck), 0l); } } @@ -780,12 +839,12 @@ if(event.IsChecked()) {
[hugin-ptx] Re: GSoC2009
Irena Damsky wrote: (hmmm.. now I'm just spamming again ha? BUT I really wanted to say I'm sorry, please ignore me and I'll go sit alone in the dark and cry) no need to be apologetic. We do not ignore potential contributors. We also don't harass them. I won't grab you out of the dark corner you're putting yourself in. I'll wait patiently for you to come out of there and will welcome you to our community if you want to join. There are plenty of interesting projects and capable mentors waiting for you. But the application deadline is April 3. And you need a working set of tools, as described in the wiki. Don't make your life hard. Grab a simple Ubuntu or Windows, set yourself up with the tools and let the fun begin. Yuv --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups hugin and other free panoramic software group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx -~--~~~~--~~--~--~---
[hugin-ptx] Re: PTBatcherGUI single instance
Nothing changed. It seems that it crashes before any wxLogDebug can be used. Anyway, I've found that the problematic assertion is in the libx11, so it can be a fault of the X.org, not your. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups hugin and other free panoramic software group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx -~--~~~~--~~--~--~---
[hugin-ptx] Call for presentations - Libre Graphics Meeting 2009
I think the message below has not yet ben forwarded here and may be relevant: Call for presentations - Libre Graphics Meeting 2009 Libre Graphics Meeting (LGM), the premiere workshop and conference for developers and enthusiasts of free software graphics, will be held May 6-9, 2009, at Ecole Polytechnique in Montreal, Quebec, Canada. LGM invites you to share your work with the community. Topics of interest include reports on major open source graphics projects, technology previews, engineering talks, power-user techniques, graphics business best practices, and general issues such as open file formats and collaboration. Interested projects and individuals should submit proposals for presentations, demonstrations, and birds-of-a-feather (BOF) sessions by visiting the talk submission page [1] at the CREATE project wiki. Proposals should be at most two paragraph abstracts and should include any special technical requirements. Individuals who already plan to attend can now register [2] free of charge at the LGM Web site. The call for participation ends April 1, so don't delay! *About Libre Graphics Meeting:* For four years, the Libre Graphics Meeting has been the premiere conference for developers, users and supporters of free software graphics applications. Developers from projects such as GIMP [3], Inkscape [4], Blender [5], Krita [6], Scribus [7], Hugin [8], Open Clipart Library [9], and the Open Font Library [10] gather to work on interoperability, shared standards, and new ideas. Work at prior LGMs has pushed the state of the art in important areas such as color management, cross-application sharing of brushes and other assets, and common formats. The face-to-face meetings and opportunities for collaboration are important to developers, but LGM offers plenty for end users as well. Tutorials, talks, and birds-of-a-feather (BOF) meetings to help free software users get the most out of their applications fill out the LGM schedule, and demonstrations from artists showcase what is possible. For more information, visit [11] To support LGM 2009's community fundraising campaign, visit [12] [1] http://create.freedesktop.org/wiki/Conference_2009/Submit_Talk [2] http://www.libregraphicsmeeting.org/2009/signup.php [3] http://www.gimp.org/ [4] http://www.inkscape.org/ [5] http://www.blender.org/ [6] http://koffice.org/krita/ [7] http://www.scribus.net/ [8] http://hugin.sourceforge.net/ [9] http://www.openclipart.org/ [10] http://www.openfontlibrary.org/ [11] http://www.libregraphicsmeeting.org/ [12] http://pledgie.com/campaigns/2926;pledgie.com/campaigns/2926 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups hugin and other free panoramic software group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx -~--~~~~--~~--~--~---
[hugin-ptx] Pano Displays
Every fall counties in the US have county fairs. This is an opportunity to show off one's work. Last year I entered and picked up Grand Champion. I'd like to do it again this year with even more wow factor. I couldn't have done it without Hugin. This year I'd like to create a cicurlar hoop about 6-8 feet across and place a panoramic inside which would allow a view to stand inside and view the pano. I would assume that it would require the panograph be cut up. What's the best way to approach this. I'm hoping to create a few philospheres as well. Dale _ Hotmail® is up to 70% faster. Now good news travels really fast. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups hugin and other free panoramic software group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx -~--~~~~--~~--~--~---
[hugin-ptx] Re:[OSX] hugin-0.8.0_beta3 released
Hi Mac users, A Hugin 0.8.0-RC3 is now available for OSX Remarks: - PTBatcherGui doesn't work yet on OSX as the (final) enblend step doesn't start. This has something to with how enblend is called. It has something to do with RunStitchPanel::StitchProject and Batch::RunNextInBatch calling Batch::OnStitch or somewhere in that area. I'm a lousy C/C++ programmer and just can't find it. (I did not even test with enfuse or hdr_merge yet, but I assume it's the same issue there). It should work the same as the stitching stuff within hugin. I recently filed it as a bug as I can't solve it. Information and binaries via my website http://panorama.dyndns.org/index.php?lang=ensubject=Hugintexttag=Hugin. (The binaries itself are, as always, served from hugin.panotools.org who kindly provide the disk space and bandwidth). And now an RC3 for MacOSX is also available. 2009/3/27 allard ka...@physics.leidenuniv.nl I built it too, and added the installer. Same URL (which is not responding at the moment) Did anybody else notice the OpenGL preview slows down sometimes because it reloads the images with every change you make? I've been seeing that off and on since the beta2 mark but it does not happen all the time. I'm not sure what's going on. At least in this build I was seeing it in the only test I did so far. Allard On Mar 26, 11:42 pm, Guido Kohlmeyer d...@gekko-design.de wrote: A test built for windows platform is available on panotools.org: http://hugin.panotools.org/testing/hugin/ As usual I prepared only a self-extracting archive without any installer. Guido --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups hugin and other free panoramic software group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx -~--~~~~--~~--~--~---
[hugin-ptx] Summer of Code Students
anybody still around/interested other than León and Lukáš who are already set up? Yuv --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups hugin and other free panoramic software group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx -~--~~~~--~~--~--~---