Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Greg 'groggy' Lehey
On Wednesday, 14 September 2016 at 21:53:43 -0400, Sean Greenslade wrote:
> On Thu, Sep 15, 2016 at 09:56:08AM +1000, Greg 'groggy' Lehey wrote:
>> On Wednesday, 14 September 2016 at 11:47:18 -0700, Michael Havens wrote:
>>> FYI- I killed hugin with the notice that I was running out of space and:
>>> $ df /
>>> Filesystem 1K-blocks Used Available Use% Mounted on
>>> /dev/sdb1   23638908 14634544   7780532  66% /
>>
>> This would suggest that you have used up nearly 8 GB of storage for
>> your panorama.  That seems excessive.  Is it really that big?
>
> That's not an unreasonable number. Hugin uses uncompressed TIFFs as
> intermediary files, so a full sphere at normal SLR focal lengths could
> have 30-60 intermediary files. Even more if you do exposure stacks. I
> routinely exceeded my 16 GiB of RAM doing 3x15000 px 3-stack blends.

Yes, but this isn't the sort of thing you do when you start off.  I've
just checked and discovered two things:

1.  On a 15136x7568 pano with 20 components (the largest I do), the
intermediate files  took up 550 MB.  It's not clear that your
intermediate files are larger, since there are more of them, but
that could easily mean 2 GB in your scenario.

During stitching, the enblend image grew to about 8 GB, and I
could easily see you heading over the 16 GB in your scenario.  But
that's (virtual) memory, not disk space.

At the end of stitching, total disk space (intermediate and final
image) grew to about 800 GB.

2.  How much space was used in /tmp or /var/tmp?  None at all!  I
don't know where I got the idea that the intermediate files go to
/tmp.  So the question remains: what is getting written to the
root file system in Michael's scenario?  Michael, can you check
next time you stitch a pano.  The log window will tell you what is
being written, and where.  Maybe it's not /tmp at all.

Greg
--
Sent from my desktop computer.
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA

-- 
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/20160915034136.GC49504%40eureka.lemis.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Sean Greenslade
On Thu, Sep 15, 2016 at 09:56:08AM +1000, Greg 'groggy' Lehey wrote:
> On Wednesday, 14 September 2016 at 11:47:18 -0700, Michael Havens wrote:
> > FYI- I killed hugin with the notice that I was running out of space and:
> > $ df /
> > Filesystem 1K-blocks Used Available Use% Mounted on
> > /dev/sdb1   23638908 14634544   7780532  66% /
> 
> This would suggest that you have used up nearly 8 GB of storage for
> your panorama.  That seems excessive.  Is it really that big?

That's not an unreasonable number. Hugin uses uncompressed TIFFs as
intermediary files, so a full sphere at normal SLR focal lengths could
have 30-60 intermediary files. Even more if you do exposure stacks. I
routinely exceeded my 16 GiB of RAM doing 3x15000 px 3-stack blends. 

--Sean

-- 
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/20160915015343.GB13924%40coach.home.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: 360 degree panorama tutorial

2016-09-14 Thread Greg 'groggy' Lehey
On Wednesday, 14 September 2016 at  9:47:48 -0700, Michael Havens wrote:
> On Monday, September 12, 2016 at 5:29:12 PM UTC-4, Michael Havens wrote:
>>
>> Do we have any tutorials on creating 360 degree panoramas with the current
>> version of hugin?
> https://www.google.com/url?q=https%3A%2F%2Fwww.360cities.net%2Fimage%2Fin-front-of-living-quarters-in-gainesville-florida-usa-paradise=D=1=AFQjCNEsr1HV2iEHjgdcHg23gBTjIPkwtg
>
> It is so easy. Stitch a series of images together with hugin

I think we have a disconnect here.  That's what I understand by
"create a (360°) panorama".

> then upload that to www.360cities.net
> .

That second URL is a very roundabout way of saying the same thing.
But clearly you mean "how to animate a 360° panoarama".  There are
various software solutions, and we discussed some of them a while
back.  See
https://groups.google.com/forum/#!msg/hugin-ptx/2BRtxG3lSM4/MrLhTJedAQAJ
for one discussion.  Cartola (http://cartola.org/360/) does a lot of
this stuff, and may chip in if he sees his name mentioned.

Your URL is interesting, though.  I'll take a look.  My first
impression is that the online view is slow.

> People say you should use a fisheye lens

They do?

> but I just used my regular rectangular lens and it worked just fine.

Yes, it should.  It also has the advantage of higher resolution.  With
a fisheye lens you get the whole scene in 6 photos.

Greg
--
Sent from my desktop computer.
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA

-- 
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/20160915000709.GB49504%40eureka.lemis.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Gnome Nomad
I don't have /tmp mounted specially - just however Debian set things up.
Perhaps OP tweaked their setup. I can't imagine any Linux distro would ever
point a tmp folder at the root.

On Wed, Sep 14, 2016, 12:25 Sean Greenslade  wrote:

> On Wed, Sep 14, 2016 at 10:22:56PM +, Gnome Nomad wrote:
> > Hmm, I've used Hugin on Linux for years now and it has NEVER attempted to
> > do anything in root. It has always written temp files to /tmp, and
> remapped
> > images to the folder containing the pto file.
>
> I'm assuming the OP doesn't have /tmp mounted specially, so anything
> that goes into /tmp is going onto the root filesystem. I know some
> distros behave this way. IIRC, Fedora made /var/tmp a ramdisk but left
> /tmp a normal dir.
>
> --Sean
>
> --
> 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/20160914222506.GB4487%40coach.home
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAHuCaacoC0aEXRcY2BGS3PfwZy6a2f5NXSd%3DRDXdpPR-ix%2B6DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Sean Greenslade
On Wed, Sep 14, 2016 at 10:22:56PM +, Gnome Nomad wrote:
> Hmm, I've used Hugin on Linux for years now and it has NEVER attempted to
> do anything in root. It has always written temp files to /tmp, and remapped
> images to the folder containing the pto file.

I'm assuming the OP doesn't have /tmp mounted specially, so anything
that goes into /tmp is going onto the root filesystem. I know some
distros behave this way. IIRC, Fedora made /var/tmp a ramdisk but left
/tmp a normal dir.

--Sean

-- 
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/20160914222506.GB4487%40coach.home.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Sean Greenslade
On Wed, Sep 14, 2016 at 01:37:31PM -0700, Michael Havens wrote:
> $  TMPDIR=$PWD hugin_executor --stitching rend.pto could not open script : 
> /home/bmike1/hugintmp/rend.pto

This was just an example, clearly you'll need to modify the line to run
your specific job. See the hugin_executor man page for details on its
arguments.

The way I've shown here, the environment variable is only set for that
command invocation. If you would like to set it more permanently, add it
to your shell init (e.g. ~/.bashrc for bash).

--Sean

-- 
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/20160914222326.GA4487%40coach.home.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Gnome Nomad
Hmm, I've used Hugin on Linux for years now and it has NEVER attempted to
do anything in root. It has always written temp files to /tmp, and remapped
images to the folder containing the pto file.

On Wed, Sep 14, 2016, 10:53 Michael Havens 
wrote:

> Then I tried it from the directory  the pano is in but the results were
> the same (with the current directory).
>
> --
> 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/1836f6b3-3b6a-41a9-a9ed-4042ac3b8247%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAHuCaafptC0GLGuoWmsdwKpxtQsBS%3DW_amyMegKF50dd9WsfpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Michael Havens
Then I tried it from the directory  the pano is in but the results were the 
same (with the current directory).

-- 
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/1836f6b3-3b6a-41a9-a9ed-4042ac3b8247%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Michael Havens
$  TMPDIR=$PWD hugin_executor --stitching rend.pto could not open script : 
/home/bmike1/hugintmp/rend.pto


On Wednesday, September 14, 2016 at 3:29:17 PM UTC-4, Sean Greenslade wrote:
>
> On Wed, Sep 14, 2016 at 11:43:17AM -0700, Michael Havens wrote: 
> > I am trying to create a 360X180 panorama. As it stitches the images 
> > together though it runs out of room. Root in this system is finite. 
> /home 
> > in this system is enormous. Why does hugin stitch things together in / 
> > rather than /home. How do I get around this problem? 
>
> If I recall correctly, the only reason Hugin would write files outside 
> of your destination directory is when temporary files are written. By 
> default it uses /tmp, however you can change that with the TMPDIR 
> environment varible like so: 
>
> $ cd /home/user/pano 
> $ TMPDIR=$PWD hugin_executor --stitching rend.pto 
>
>
> --Sean 
>
>

-- 
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/7cdb7748-5ff1-4e40-b0bc-7972548a96fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Michael Havens


On Wednesday, September 14, 2016 at 4:19:15 PM UTC-4, Michael Havens wrote:
>
> Sean, would I need to enter that whenever I do a big pano?
> Or is that the, enter once and your good until the os crashes, thing?
>
>>
>>
I run linux the os never needs to be reinstalled! More like, you're good 
until you need to replace the computer! 

-- 
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/bbaf6061-9182-4f2d-bf8d-683b01f246b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Michael Havens
Sean, would I need to enter that whenever I do a big pano?
Or is that the, enter once and your good until the os crashes, thing?

On Wednesday, September 14, 2016 at 3:29:17 PM UTC-4, Sean Greenslade wrote:
>
> On Wed, Sep 14, 2016 at 11:43:17AM -0700, Michael Havens wrote: 
> > I am trying to create a 360X180 panorama. As it stitches the images 
> > together though it runs out of room. Root in this system is finite. 
> /home 
> > in this system is enormous. Why does hugin stitch things together in / 
> > rather than /home. How do I get around this problem? 
>
> If I recall correctly, the only reason Hugin would write files outside 
> of your destination directory is when temporary files are written. By 
> default it uses /tmp, however you can change that with the TMPDIR 
> environment varible like so: 
>
> $ cd /home/user/pano 
> $ TMPDIR=$PWD hugin_executor --stitching rend.pto 
>
>
> --Sean 
>
>

-- 
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/6366f74e-7bdc-443b-9784-31a438c09887%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Michael Havens
thanks shawn I really appreciate that!

-- 
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/2cf4a061-8c4f-4e69-b788-d670e7bd9787%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Sean Greenslade
On Wed, Sep 14, 2016 at 11:43:17AM -0700, Michael Havens wrote:
> I am trying to create a 360X180 panorama. As it stitches the images 
> together though it runs out of room. Root in this system is finite. /home 
> in this system is enormous. Why does hugin stitch things together in / 
> rather than /home. How do I get around this problem?

If I recall correctly, the only reason Hugin would write files outside
of your destination directory is when temporary files are written. By
default it uses /tmp, however you can change that with the TMPDIR
environment varible like so:

$ cd /home/user/pano
$ TMPDIR=$PWD hugin_executor --stitching rend.pto


--Sean

-- 
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/20160914192912.GA24730%40coach.home.
For more options, visit https://groups.google.com/d/optout.


[hugin-ptx] Re: hugin shouldn't stitch in root.

2016-09-14 Thread Michael Havens
My feeling is that te working directory ought to be a setting.

On Wednesday, September 14, 2016 at 2:43:17 PM UTC-4, Michael Havens wrote:
>
> I am trying to create a 360X180 panorama. As it stitches the images 
> together though it runs out of room. Root in this system is finite. /home 
> in this system is enormous. Why does hugin stitch things together in / 
> rather than /home. How do I get around this problem?
>

-- 
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/87597d10-c82e-4f11-adaa-b4f09a157bd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[hugin-ptx] Re: hugin shouldn't stitch in root.

2016-09-14 Thread Michael Havens
FYI- I killed hugin with the notice that I was running out of space and:
$ df /
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1   23638908 14634544   7780532  66% /

-- 
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/615725f0-118b-4d91-911e-f27ee5b8b285%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Michael Havens
I am trying to create a 360X180 panorama. As it stitches the images 
together though it runs out of room. Root in this system is finite. /home 
in this system is enormous. Why does hugin stitch things together in / 
rather than /home. How do I get around this problem?

-- 
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/5bed0f66-65f7-4d81-a900-3068bdbb1b7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[hugin-ptx] Using Hugin command line in Django web application

2016-09-14 Thread Krishn Bera
I am making a Django web application which can be used to make and render 
180 or 360 degree panoramic images. The user will need to upload multiple 
DSLR images which will be stitched in backend and rendered as panoramic 
image on web page. I have no idea how to integrate Hugin command line to 
Django so that it can stitch the images in server once the user uploads 
them. Can I just install Hugin on server and have a script like bash 
running on server? Will it work? Any help regarding design or 
implementation ideas would be helpful.

-- 
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/fab12566-ecae-441a-810e-f8dd4fed4267%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[hugin-ptx] Re: 360 degree panorama tutorial

2016-09-14 Thread Michael Havens
https://www.google.com/url?q=https%3A%2F%2Fwww.360cities.net%2Fimage%2Fin-front-of-living-quarters-in-gainesville-florida-usa-paradise=D=1=AFQjCNEsr1HV2iEHjgdcHg23gBTjIPkwtg

It is so easy. Stitch a series of images together with hugin then upload 
that to www.360cities.net 
.
 
People say you should use a fisheye lens but I just used my regular 
rectangular lens and it worked just fine.

On Monday, September 12, 2016 at 5:29:12 PM UTC-4, Michael Havens wrote:
>
> Do we have any tutorials on creating 360 degree panoramas with the current 
> version of hugin?
>

-- 
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/ad92aa04-8b50-43cf-a0d2-f5dcdfb881d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: Every year the same cramp? Set @api-max in hugin's plugin scripts.

2016-09-14 Thread Kornel Benko
Am Dienstag, 13. September 2016 um 09:17:06, schrieb T. Modes 

> 
> Am Mittwoch, 10. August 2016 19:55:06 UTC+2 schrieb kornel:
> >
> > This itches ... 
> >
> > See attached, master branch. 
> >
> 
> All scripts tested?

I only test/use woa,  it works.

> Does all still work? Or only updated the api-max?

Only updated api-max.

> Also why skipping several versions?

What do you mean?

Kornel

-- 
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/4510981.ggLLpLAVaj%40amd64.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: This is a digitally signed message part.


[hugin-ptx] Source code review

2016-09-14 Thread Bernd D
Is here someone, who can check the following inconsistencies in the source 
code?

1.) pano_modify.exe calculate a wrong (vertical?) FoV.

 %HUGINSDK%/hugin-hg/src/hugin_base/algorithms/nona/CalculateFOV.cpp
function hugin_utils::FDiff2D CalculateFOV::calcFOV(const PanoramaData& 
panorama):

if(fov.x<40)
{
fov.x+=1;
fov.y+=1; // [BD] I add this line, so that y is equal to x treated
};
return fov;

fov.x and fov.y must be calculated equivalent. What reason is there for the 
if statement? The gap at 40.0 make no sense. It looks like a dirty trick to 
bend the correct result to a desired result. I use always fov < 4, then it 
seems to work better with +1. But this is only a subjective impression.
 
2.)
 %HUGINSDK%\libpano-hg\math.c
function tiltForward:

 
   s = z1 / z0;
   s = z0 /(x_dest * (-sin(phi2)/cos(phi2))  + y_dest * sin(phi)/cos(phi
) + z0);


The first calculation of s is unused. Perhaps an unnoticed error.

Kind regards,
  Bernd

-- 
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/518027c7-918e-4ef0-b31d-5955f3b7e01a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.