Here is the patch that I have proposed earlier.
It basically adds two things:
1. it includes a new drag mode in the fast preview for mosaic
panoramas where instead of changing orientation parameters it changes Tr
parameters
2. it keeps consistency in images on rolling when Tr parameters are
non zero (for yaw and pitch consistency cannot be preserved for non-zero
Tr parameters)
Basically I've added a option choice in the drag tab in the fast preview
window where the user can choose between normal and mosaic mode.
I know this is not the perfect way to switch between these modes as
ideally it should be in some upper level or maybe even automatic.
Also what is still needs to be done is that while in mosiac mode the
manual changing of orientation parameters (yaw, pitch, roll) needs to be
switched to manual changes of Tr parameters. Also maybe some interface
for changing the TrZ parameter as now only TrY and TrX parameters are
changed.
The system works in a simple manner. It uses the previous implementation
of finding the angles that correspond to the points on the screen, and
so I'm using these angles to determine the correspondent points on the
virtual plane and then calculate the shift.
For the keeping of consistency in rolling the corresponding AngleStore
class and its move method were changed to handle TrX and TrY parameters.
I could have also easily added the TrZ parameter, however this would
help much.
Best,
Darko
I meant wouldn't help much
Thanks, it builds here (centos4 Linux) but I get a segfault when I
open the fast preview window. It may be a local problem, I'll try
again with a clean tree tomorrow.
--
Bruno
With a clean build it is now fine.
Using a project with lots of XYZ shifts that would normally get scrambled in Drag mode: If I select 'mosaic' in Drag mode then left-mouse moves the photos around, and right-mouse rotates around the centre as expected.
Well done, this is a very useful patch.
--
Bruno
--
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 hugi...@googlegroups.com
To unsubscribe from this group, send email to hugin-ptx+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
Best,
Darko
It is probably ok as is, but I'm not sure if it needs the option to
switch modes. My understanding is that rotating the scene makes no
sense when there are XYZ offsets, similarly XY translation makes no
sense when there are no XY offsets. I think I need to do some
tests, but I don't know when.
>A suggestion for changing Z. maybe left-clicking and scroll wheel up and
>down?
Altering the panorama field of view has a similar effect.
--
Bruno
It is probably ok as is, but I'm not sure if it needs the option to switch modes. My understanding is that rotating the scene makes no sense when there are XYZ offsets, similarly XY translation makes no sense when there are no XY offsets. I think I need to do some tests, but I don't know when.
I've committed it, as I couldn't have (easily) stitched the mosaic sent to the list a couple of days ago without it.
I still think that maybe it should switch automatically instead of having a pull-down menu, but there is no reason why it can't be part of the trunk until then.