home

Topics Topics Edit Profile Profile Help/Instructions Help Register Register  
Search Last 1 | 3 | 7 Days Search Search Tree View Tree View  

Html code for param name or is there ...

The Panorama Factory Forum » The Panorama Factory FAQ » Html code for param name or is there another way? « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Mario Restrepo
New member
Username: Mario

Post Number: 4
Registered: 11-2006
Posted on Monday, November 26, 2007 - 7:17 pm:   Edit PostDelete Post

Hello PF.

Thanks for the great software. I have been using Panorama Factory successfully for some time now.

However I am now stitching almost full shperical panos, meaning the are 360, but not necessarily a full 180 vertically, in this case I have the zenith, but not the nadir.

What is the best way to display them using PF? I prefer not to put a patch over the nadir. Is there some place within PF that I can set it up so the user can pan straight up to the zenith, but yet still only pan around the nadir that is not included with the pano, without using a patch, and without creating distortion near the nadir of the pano?

If it comes down to using param attributes in the object, let me know. I have attempted to use param name tilt max and min with no success.

Maybe you can push me in the correct direction.

Thank you.

(Message edited by mario on November 26, 2007)
Top of pagePrevious messageNext messageBottom of page Link to this message

Mario Restrepo
New member
Username: Mario

Post Number: 5
Registered: 11-2006
Posted on Tuesday, November 27, 2007 - 10:25 am:   Edit PostDelete Post

http://www.bajavt.com/practice/panowithtopandbottomcaps.html

I hope this link might make my question easier to understand.

On this link you can see that I would not want the viewer to see the tripod. Is there a way to control how far the viewer can tilt down? I would like the viewer to be able to see straight up, but not straight down.

Thank you very much!!!

Mario
Top of pagePrevious messageNext messageBottom of page Link to this message

John Strait
Moderator
Username: Jstrait

Post Number: 342
Registered: 5-2001
Posted on Tuesday, November 27, 2007 - 11:08 am:   Edit PostDelete Post

Hi Mario,

The Panorama Factory supports this directly. You don't need to fool around with the param attributes. All you need to do is crop your image so that it has 90 degrees field of view above the horizon and less than 90 below the horizon.

Here is in example (in QTVR and PTViewer) of an image I created with The Panorama Factory. I did not need to edit the HTML code produced by The Panorama Factory.

QTVR
PTViewer

To make this work, you have to make two small changes to the procedure described at http://www.panoramafactory.com/multirow/sphere


Step I -- Crop the rotated image to exactly 360 degrees

  1. Choose the Crop command (New image menu).
     
  2. Select Horizontally symmetric and enter the final width (3600 in the tutorial example) for W under Cropped image size.
     
  3. Enter exactly one-half of the final width (1800 for the tutorial example) as the value for H under Cropped image size. This makes the crop rectangle exactly 360 x 180 degrees.
     
  4. Use the mouse to drag the bottom edge of the crop rectangle up above the part you want to remove (the tripod in your example). Now the crop rectangle is exactly 90 degrees above the horizon but it less than 90 below the horizon.
     
  5. Click OK.

Step K -- Assign panoramic properties to the finished image

  1. Choose the Panoramic properties command (Image menu).
     
  2. Select This is a panoramic image and Spherical projection.
     
  3. Remove the checkmark from Vertically symmetric.
     
  4. Enter 90 for Above under Vertical field of view (degrees). Leave Below blank.
     
  5. Enter 360 for HFOV under Horizontal field of view (degrees). The Panorama Factory will automatically calculate Below for you.
     
  6. Click OK.

Finally, export the finished image normally.


Hope this helps!

Top of pagePrevious messageNext messageBottom of page Link to this message

Mario Restrepo
New member
Username: Mario

Post Number: 6
Registered: 11-2006
Posted on Wednesday, November 28, 2007 - 1:35 pm:   Edit PostDelete Post

Hi John,

Thanks for all this excellent info. I have added a couple of steps that were necesary for me to accomplish these tasks. I think you and others would want to know about them. The are in the text below in bold.

Step I -- Crop the rotated image to exactly 360 degrees


Choose the Crop command (New image menu).

Select Horizontally symmetric and enter the final width (3600 in the tutorial example) for W under Cropped image size.

Enter exactly one-half of the final width (1800 for the tutorial example) as the value for H under Cropped image size. This makes the crop rectangle exactly 360 x 180 degrees.

Here, click on the image to see the crop box adjust. Next check the fixed horizon line box so the horizon line remains fixed when you crop.

Use the mouse to drag the bottom edge of the crop rectangle up above the part you want to remove (the tripod in your example). Now the crop rectangle is exactly 90 degrees above the horizon but it less than 90 below the horizon.

Click OK.

Step K -- Assign panoramic properties to the finished image


Choose the Panoramic properties command (Image menu).

Select This is a panoramic image and Spherical projection.

Here a window pops up and forces me to enter a number for the HFOV. I entered 360.

Remove the checkmark from Vertically symmetric.

Enter 90 for Above under Vertical field of view (degrees). Leave Below blank.

Here, the Below box was filled in for me incorrectly. So I filled in the correct number (VFOV-90) but then my 360 in the HFOV box changed. So I set the HFOV to 360 again, and learned that the next thing to click on is the ok button. If you click on anything else, like the image, or the inside another part of the window, the numbers change again and you have to start over, or the final pano comes out distorted.

Enter 360 for HFOV under Horizontal field of view (degrees). The Panorama Factory will automatically calculate Below for you.

Click OK.

I don't know if I added unneccesary steps, but I had to do this to make it work for me. Thanks John! Good luck all.

Here it is:
http://www.bajavt.com/panofactory/pfcropped90above5.html

Mario

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Administration Administration Log Out Log Out   Previous Page Previous Page Next Page Next Page