Re: [hugin-ptx] Feature requests for Multiblend 2.0?

2021-02-21 Thread Bob Campbell
Now that I’ve got a working 2020 build for mac, I can take a shot at building 
multiblend.  


> On Feb 15, 2021, at 5:28 AM, Monkey  wrote:
> 
> Anyone on Mac OS who can check if it compiles if I email a link to the source?
> 
> On Friday, 12 February 2021 at 16:50:06 UTC bugbear...@gmail.com wrote:
> True as far as it goes.
> 
> An OS will manage virtual memory, swapping data between RAM and Disc as 
> needed, normally in pages of some fixed size.
> 
> However, if the application is "naive", some worst case behaviour can emerge. 
> Imagine an application that routinely access the first byte of a page,
> and then accessed the first byte of every other page before re-accessing the 
> first byte of the first page again.
> The application is not addressing many BYTES, but it will thrash the virtual 
> memory badly. A typical image rotate will have this behaviour on either 
> source of destination.
> 
> What you're aiming for is locality of accesses, where multiple accesses all 
> fall within a page. For raster graphics this can be achieved by accessing 
> data in a tiled way, so that adjacent pixels in both X and Y are "near". This 
> can be done WITHOUT a tiled virtual memory system, you just need to access 
> the data in a tiled order.
> 
> This can be done by finding the pseudo-tile T a (x,y) coord is in (simple 
> divide X, Y by the the tile size), calculate the tile base address of the 
> tile T (T * tile_bytes) and then work out the offset of the data from the 
> tile base (x and y modulo tile side, then multiply the new Y by tile side).
> 
> I has a fancy 2D Object browser on SunOs that was thrashing, and by simply 
> implementing "address_of_object()" as outlined above, the memory behaviour 
> was immaculate.
> 
>BugBear
> 
> 
> -- 
> A list of frequently asked questions is available at: 
> http://wiki.panotools.org/Hugin_FAQ 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "hugin and other free panoramic software" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to hugin-ptx+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/hugin-ptx/78e53b5c-9b93-46e8-a098-07c83e610358n%40googlegroups.com
>  
> .

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/14155AFE-B804-42DB-9E8C-C919E67E433C%40gmail.com.


Re: [hugin-ptx] New release for mac?

2021-02-21 Thread Bob Campbell
Well, I don’t have it all packaged up nicely, but here’s a tarball of the build:
http://you-rebel-scum.com/hugin/hugin_test.tar 


Untar’s a hugin_test folder.  You may need to move, remove, or zip up the Hugin 
folder in your Applications area for it to get the correct binaries, though.


> On Feb 21, 2021, at 4:05 PM, dgjohnston  wrote:
> 
> Hi Bob … I have a MacBook Pro (15-inch, Mid 2012) running Catalina 10.15.7, 
> Intel Core i7 16GB memory, Intel HD Graphics 4000 1536 MB.
> 
> If you need some additional testing of you build I would be willing to test 
> it for you.
> 
> Don Johnston
> 
>> On Feb 21, 2021, at 1:59 PM, Bob Campbell > > wrote:
>> 
>> Well, I was able to get it built, finally, and tested it out on three 
>> different macs:
>> iMac Retina 5K 2019, Catalina 10.15.7, Radeon Pro 570X
>> Mac Mini Late 2012, Catalina 10.15.7, Intel HD 4000
>> MacBook Pro Late 2011, High Sierra 10.13.6, Intel HD 3000 (the discreet 
>> nvidia chip on this is burned out, so it’s using the onboard Intel gfx chip)
>> 
>> To get it to build and link correctly, though, I had to update openmp to 
>> version 11.1.0 (instead of 11.0.1).
>> 
>> 
>> All worked, I’m glad to say, including the hidpi GL preview on the iMac!  
>> 
>> Unfortunately, I still have the problem on the iMac where PTBatcherGUI 
>> starts the stitching batch job, but nothing happens.  I’ve added Hugin, 
>> PTBatcherGUI, and HuginStitchProject to Full Disk Access in the 
>> Privacy/Security Prefs, but nothing happens.  Oddly, it works fine on the 
>> mac mini with all the same (as far as I can tell) security settings.
>> PTBatcherGUI on the iMac just opens the stitching window, but nothing 
>> happens in the window.
>> 
>> 
>> 
>>> On Feb 19, 2021, at 6:31 PM, jmuc...@gmail.com  
>>> mailto:jmucc...@gmail.com>> wrote:
>>> 
>>> Guys,
>>> 
>>> Thanks for working on this. I too find the missing previews on retina 
>>> screens very hard to work around.
>>> 
>>> Based on the comments on the release-notes page, (namely "Fixes fast 
>>> preview on HiDPI screens under GTK+3 and MacOS"), it seems like was able to 
>>> compile it on a Mac, no? 
>>> 
>>> On Wednesday, 17 February 2021 at 17:20:35 UTC-5 Niklas Mischkulnig wrote:
>>> timoth...@gmail.com  
>>> schrieb am Mittwoch, 17. Februar 2021 um 12:43:51 UTC+1:
>>> How's the build for this going? I'm finding the display issues on hidpi 
>>> screens on the previous version a challenge and hoping we could have even a 
>>> mac alpha soon to try
>>> 
>>> I've updated the dependencies and pushed that to the repository so that it 
>>> can be compiled with the current Xcode version. But I haven't had time to 
>>> look why the Hugin GL Preview doesn't work.
>>>  
>>> On Monday, 8 February 2021 at 18:12:22 UTC Bob Campbell wrote:
>>> When building exiv2.  Maybe because I have the build target set to 10.13?  
>>> I’m building exiv2-0.27.2 - haven’t checked if that’s the most recent 
>>> release.
>>> 
>>> repository/lib/libiconv.dylib doesn't exist for me after building the 
>>> dependencies, it should use the system version. I ran otool -L 
>>> lib/libexiv2.dylib and it has indeed linked against 
>>> /usr/lib/libiconv.2.dylib.
>>> Maybe changing the deployment target caused another configuration change 
>>> when building gettext (which then built libiconv, I'm don't actually know 
>>> why it doesn't in my case).
>>> 
>>> If you're not actually intending to build a binary for distribution, you 
>>> could also simply not set -DMAC_SELF_CONTAINED_BUNDLE=ON in Hugin's cmake 
>>> and install all dependencies via Homebrew (or MacPorts), so treating it 
>>> like a "normal" Linux build and following INSTALL_cmake.
>>> 
>>> Niklas
>>> 
>>> 
>>> -- 
>>> A list of frequently asked questions is available at: 
>>> http://wiki.panotools.org/Hugin_FAQ 
>>> --- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "hugin and other free panoramic software" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to hugin-ptx+unsubscr...@googlegroups.com 
>>> .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/hugin-ptx/d47c913c-6338-4b57-b1b2-0413819f2f89n%40googlegroups.com
>>>  
>>> .
>> 
>> 
>> -- 
>> A list of frequently asked questions is available at: 
>> http://wiki.panotools.org/Hugin_FAQ 
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "hugin and other free panoramic software" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to hugin-ptx+unsubscr...@googlegroups.com 
>> 

Re: [hugin-ptx] New release for mac?

2021-02-21 Thread dgjohnston
Hi Bob … I have a MacBook Pro (15-inch, Mid 2012) running Catalina 10.15.7, 
Intel Core i7 16GB memory, Intel HD Graphics 4000 1536 MB.

If you need some additional testing of you build I would be willing to test it 
for you.

Don Johnston

> On Feb 21, 2021, at 1:59 PM, Bob Campbell  wrote:
> 
> Well, I was able to get it built, finally, and tested it out on three 
> different macs:
> iMac Retina 5K 2019, Catalina 10.15.7, Radeon Pro 570X
> Mac Mini Late 2012, Catalina 10.15.7, Intel HD 4000
> MacBook Pro Late 2011, High Sierra 10.13.6, Intel HD 3000 (the discreet 
> nvidia chip on this is burned out, so it’s using the onboard Intel gfx chip)
> 
> To get it to build and link correctly, though, I had to update openmp to 
> version 11.1.0 (instead of 11.0.1).
> 
> 
> All worked, I’m glad to say, including the hidpi GL preview on the iMac!  
> 
> Unfortunately, I still have the problem on the iMac where PTBatcherGUI starts 
> the stitching batch job, but nothing happens.  I’ve added Hugin, 
> PTBatcherGUI, and HuginStitchProject to Full Disk Access in the 
> Privacy/Security Prefs, but nothing happens.  Oddly, it works fine on the mac 
> mini with all the same (as far as I can tell) security settings.
> PTBatcherGUI on the iMac just opens the stitching window, but nothing happens 
> in the window.
> 
> 
> 
>> On Feb 19, 2021, at 6:31 PM, jmuc...@gmail.com  
>> mailto:jmucc...@gmail.com>> wrote:
>> 
>> Guys,
>> 
>> Thanks for working on this. I too find the missing previews on retina 
>> screens very hard to work around.
>> 
>> Based on the comments on the release-notes page, (namely "Fixes fast preview 
>> on HiDPI screens under GTK+3 and MacOS"), it seems like was able to compile 
>> it on a Mac, no? 
>> 
>> On Wednesday, 17 February 2021 at 17:20:35 UTC-5 Niklas Mischkulnig wrote:
>> timoth...@gmail.com  
>> schrieb am Mittwoch, 17. Februar 2021 um 12:43:51 UTC+1:
>> How's the build for this going? I'm finding the display issues on hidpi 
>> screens on the previous version a challenge and hoping we could have even a 
>> mac alpha soon to try
>> 
>> I've updated the dependencies and pushed that to the repository so that it 
>> can be compiled with the current Xcode version. But I haven't had time to 
>> look why the Hugin GL Preview doesn't work.
>>  
>> On Monday, 8 February 2021 at 18:12:22 UTC Bob Campbell wrote:
>> When building exiv2.  Maybe because I have the build target set to 10.13?  
>> I’m building exiv2-0.27.2 - haven’t checked if that’s the most recent 
>> release.
>> 
>> repository/lib/libiconv.dylib doesn't exist for me after building the 
>> dependencies, it should use the system version. I ran otool -L 
>> lib/libexiv2.dylib and it has indeed linked against 
>> /usr/lib/libiconv.2.dylib.
>> Maybe changing the deployment target caused another configuration change 
>> when building gettext (which then built libiconv, I'm don't actually know 
>> why it doesn't in my case).
>> 
>> If you're not actually intending to build a binary for distribution, you 
>> could also simply not set -DMAC_SELF_CONTAINED_BUNDLE=ON in Hugin's cmake 
>> and install all dependencies via Homebrew (or MacPorts), so treating it like 
>> a "normal" Linux build and following INSTALL_cmake.
>> 
>> Niklas
>> 
>> 
>> -- 
>> A list of frequently asked questions is available at: 
>> http://wiki.panotools.org/Hugin_FAQ 
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "hugin and other free panoramic software" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to hugin-ptx+unsubscr...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/hugin-ptx/d47c913c-6338-4b57-b1b2-0413819f2f89n%40googlegroups.com
>>  
>> .
> 
> 
> -- 
> A list of frequently asked questions is available at: 
> http://wiki.panotools.org/Hugin_FAQ 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "hugin and other free panoramic software" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to hugin-ptx+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/hugin-ptx/BDB44D64-DDA2-4858-8653-9D52182C234E%40gmail.com
>  
> .

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To 

Re: [hugin-ptx] New release for mac?

2021-02-21 Thread Bob Campbell
Well, I was able to get it built, finally, and tested it out on three different 
macs:
iMac Retina 5K 2019, Catalina 10.15.7, Radeon Pro 570X
Mac Mini Late 2012, Catalina 10.15.7, Intel HD 4000
MacBook Pro Late 2011, High Sierra 10.13.6, Intel HD 3000 (the discreet nvidia 
chip on this is burned out, so it’s using the onboard Intel gfx chip)

To get it to build and link correctly, though, I had to update openmp to 
version 11.1.0 (instead of 11.0.1).


All worked, I’m glad to say, including the hidpi GL preview on the iMac!  

Unfortunately, I still have the problem on the iMac where PTBatcherGUI starts 
the stitching batch job, but nothing happens.  I’ve added Hugin, PTBatcherGUI, 
and HuginStitchProject to Full Disk Access in the Privacy/Security Prefs, but 
nothing happens.  Oddly, it works fine on the mac mini with all the same (as 
far as I can tell) security settings.
PTBatcherGUI on the iMac just opens the stitching window, but nothing happens 
in the window.



> On Feb 19, 2021, at 6:31 PM, jmuc...@gmail.com  wrote:
> 
> Guys,
> 
> Thanks for working on this. I too find the missing previews on retina screens 
> very hard to work around.
> 
> Based on the comments on the release-notes page, (namely "Fixes fast preview 
> on HiDPI screens under GTK+3 and MacOS"), it seems like was able to compile 
> it on a Mac, no? 
> 
> On Wednesday, 17 February 2021 at 17:20:35 UTC-5 Niklas Mischkulnig wrote:
> timoth...@gmail.com  
> schrieb am Mittwoch, 17. Februar 2021 um 12:43:51 UTC+1:
> How's the build for this going? I'm finding the display issues on hidpi 
> screens on the previous version a challenge and hoping we could have even a 
> mac alpha soon to try
> 
> I've updated the dependencies and pushed that to the repository so that it 
> can be compiled with the current Xcode version. But I haven't had time to 
> look why the Hugin GL Preview doesn't work.
>  
> On Monday, 8 February 2021 at 18:12:22 UTC Bob Campbell wrote:
> When building exiv2.  Maybe because I have the build target set to 10.13?  
> I’m building exiv2-0.27.2 - haven’t checked if that’s the most recent release.
> 
> repository/lib/libiconv.dylib doesn't exist for me after building the 
> dependencies, it should use the system version. I ran otool -L 
> lib/libexiv2.dylib and it has indeed linked against /usr/lib/libiconv.2.dylib.
> Maybe changing the deployment target caused another configuration change when 
> building gettext (which then built libiconv, I'm don't actually know why it 
> doesn't in my case).
> 
> If you're not actually intending to build a binary for distribution, you 
> could also simply not set -DMAC_SELF_CONTAINED_BUNDLE=ON in Hugin's cmake and 
> install all dependencies via Homebrew (or MacPorts), so treating it like a 
> "normal" Linux build and following INSTALL_cmake.
> 
> Niklas
> 
> 
> -- 
> A list of frequently asked questions is available at: 
> http://wiki.panotools.org/Hugin_FAQ 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "hugin and other free panoramic software" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to hugin-ptx+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/hugin-ptx/d47c913c-6338-4b57-b1b2-0413819f2f89n%40googlegroups.com
>  
> .

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/BDB44D64-DDA2-4858-8653-9D52182C234E%40gmail.com.