90 Degree Pano???

This may prove to be a dumb question. If I have the intention of only displaying only 90 degrees of a panorama is this easily done with Panosalado?

re: 90 Degree Pano???

Hey there:

The short answer is "sure!". Smile

You can display full cubes, cylinders, equirectangulars & QTVR (mov) panoramas. In the XML you can then set things such as:

cameraMaximumTilt
cameraMinimumTilt
cameraMaximumPan
cameraMinimumPan
cameraMaximumZoom
cameraMinimumZoom

__________________

Patrick Cheatham
FlashPanos.com creator, Panoramic Photographer
Got PanoSalado?

re: re: 90 Degree Pano???

Hi Patrick,

Love the work!!! (and thank you for the quick response) I hope I can make my question a little more pointed and hope you can forgive me as I am a novice but very intrigued!

I would like to only display a portion of an area/room to be exact only a 90° area would be the entire "panorama". I have posted the links to two Jpegs i intend to be the entire "pano".

The jpegs will still have to wrapped or whatever complex process you've come up with to obtain that pano perspective. Is this possible? Could you tell me what programs it would take? Basically any direction would be greatly appreciated!

http://www.collaborativeevolutions.com/Petespics/Pano04_fused_copy.jpg
http://www.collaborativeevolutions.com/Petespics/Pano05_fused_copy.jpg

re: re: 90 Degree Pano???

Sorry to be so confusing... each picture would be an individual pano... not both of them combined.

re: 90 Degree Pano

No worries --

Your best bet will be to output either a full cylinder panorama, or a set of cube faces, from whatever you're using to stitch your images.

Then in the PanoSalado.xml you can just limit the pan/tilt ranges.

--
Photoshop CS3 has great photo-merge ability, but it doesn't really output images that are friendly for displaying in viewers that do perspective correction. CS4 on the other hand... Wink

A good spot for info about programs -- from free to not so free -- is at PanoTools's wiki.

http://wiki.panotools.org/

and

http://wiki.panotools.org/Software

Some things to check out might be AutoPano, PTGUI, Hugin, etc.

__________________

Patrick Cheatham
FlashPanos.com creator, Panoramic Photographer
Got PanoSalado?

Or alternatively use my

Or alternatively use my revised Cylinder.as class to only make a segment of a cylinder primative (ie. 90°)

Revised Cylinder.as class

The second param is now segmentPercent between 0 and 1 which is percentage of Cylinder to draw.
For 90° cylinder use a param of 0.25!

You could easily use this class to modify the Sphere class to do the same.

Stitching solution

Dan YOUR THE MAN!!!

If you don't mind me asking, which stitching solution do you guys use?

As expected

As expected I've become very interested in PanoSalado. I've read thru a few of the forums and have obtained some quite useful information... I seem to be lacking knowledge in the compilation area. Where would one obtain the correct knowledge to make this task easier? (suggest any google keywords possibly?) The other thing is this, Per dan_vegas's reply Ive gone ahead and download the rev_93, TortoiseSVN (used the following URL to checkout http://panosalado.googlecode.com/svn/trunk/src/) all successfully, the issue is the following.

I've obtained the code from dan_vegas post here placed the code into Flash CS3 and saved as a AS3 file named Cylinder.as

I then place the file in the root directory of PS (where PanoSalado.as resides if I'm incorrect in my root directory assumption), I follow this up by going to my command line and using the mxmlc.exe and pointing to the Cylinder.as file I receive the following error

Error: A file found in a source-path must have the same package structure '', as the definition's package, 'zephyr.objects.primitives'.

I've tried several variation of this method... I tried compiling the PanoSalado.as file with the Cylinder.as file being replaced by the new (dan_vegas) Cylinder.as file. No luck... a few others but no need to mention further. The other funny thing is that the original Cylinder.as file has a green check mark, when I move the new (dan_vegas) Cylinder.as file into the directory it has a red dot with an exclamation point in the center (obviously this is a tell tail sign to something I have no clue about)

Thank you in advance for your advice, any knowledge or direction would be greatly appreciated.

I look forward to getting more involved with this style of coding as I can easily see myself being consumed by it...

Membership Requirement

After reading a bit I believe one of my major issues is the fact I downloaded the source as a read only... I believe I must ask you to become a member?

SVN Client

Also, do you have a suggestion for an SVN Client (currently using TortoiseSVN) for Windows?

Re: Compile Errors with Partial Cylinder

Hi dasiris,

The compilation error you are receiving is that the partial cylinder needs to be put in the folder zephyr/objects/primitives/. OR, the partial cylinder class needs to have the first line of code, which says to what package it belongs revised. Actionscript has an unspoken correlation between packages and directory structure which the compiler uses to find files at compile time. If the first line of the class says "package {", then the file should go in the same directory as the file being compiled. If it says "package org.papervision3d {" the the class goes in the papervision3d subdirectory of the org subdirectory. Simple when you understand it. A pain when you don't.

So either way, just make sure the package line matches the classes location on the filesystem, or vice versa, and you will be fine.

Also, I have adding the partial cylinder class into PanoSalado on the list, so thank you for it dan_vegas, you will see it integrated into PanoSalado soon.

Zephyr

Got Source???

Thanks Zephyr,

I believe I have done that but I will try again... Am I checking out the correct source code? http://panosalado.googlecode.com/svn/trunk/

As you suggested... Player Error

As suggested, I tried the process you recommended... Unfortunately this was one of the variations I tried... I receive the following error when compiling.

C:\Pano\PS\PanoSalado.as<632>: col: 86 Error: Implicit coercion of a value of type Boolean to an unrelated type Number.

var cyl:Cylinder = new Cylinder;

C:\Pano\PS\zephyr\objects\primitives\Cylinder.as<9>: col: 18 Error: Definition com.core:Player could not be found.

import com.core.Player; (incluse an up arrow underneath the capital P in Player)

What do you make of that?

Would you also know how to resolve the version control issue I am having with TortoiseSVN.
(its that red dot with a exclamation point)

Oops, that is my fault,

Oops, that is my fault, please just remove the line of code:

import com.core.Player;

It is from my player framework.
Sorry!

Thanks Dan_Vegas

Thanks again for your input Dan_Vegas. I made the adjustments to the .as file unfortunately when I try to compile PS it responds witht the following error:

C:\Panosalado.as<632>: col: 86 Error: Implicit coercion of a value of the type Boolean to an unrelated type Number.

var cyl:Cylinder = new Cylinder(material, radius, height, segments, segments, -1, false, false, reverse );

Any clue?

Thanks and best regards!