0

I'm searching for free partial panorama viewer. It should be placed in somewhere in the page and it should be customizable (openSource?). So far i found pan0.net but it only supports 360 and i have priority for non 360...

JackLeo
  • 4,579
  • 9
  • 40
  • 66

2 Answers2

0

I recently created one where you can loop an image around horizontal 360 but it does not distort in 3d perspective. Let me know if that's what you are looking for: Web Design Panorama

Miro
  • 8,402
  • 3
  • 34
  • 72
  • it looks nice, yet how it would act when given partial (for e.a. 270 degrees) photo? i need that with given attribute to flash it would stop when encountering side. (simple pan). Currently i'm using pan0.net – JackLeo Jan 08 '11 at 10:50
0

I just edited pan0 sources adding

if (camera.rotationY < minRA)
    camera.rotationY = minRA;

if (camera.rotationY > maxRA)
    camera.rotationY = maxRA;

to

private function calcCameraRotation()

and naturally

private var minRA: Number = -180;
private var maxRA: Number = 180;

by the parameters. And

if (loaderInfo.parameters.maxRA)
    maxRA= loaderInfo.parameters.maxRA;

if (loaderInfo.parameters.minRA)
    minRA= loaderInfo.parameters.minRA;

to

private function processParameters()

Sure it makes it non 360 only but few if's and that would be good. But for me it does the job.

JackLeo
  • 4,579
  • 9
  • 40
  • 66