You are not logged in.

  • "tksharpless" started this thread

Posts: 68

Location: Philadelphia, Pennsylvania

Occupation: Retired S/W engineer

  • Send private message

1

Saturday, May 22nd 2010, 2:50am

Sending view parameters back to website

Hi

I'm pretty ignorant about how krpano communicates user actions back to the the website. But I am thinking of an application to recreate a view, chosen by the user, at high resolution on the originating server. That would mean capturing projection type, view direction, fov, etc. at the moment when the user clicks 'print', and passing those data along with the source pano to a 'backend' app that would render the printable image. I envision this as a way to sell prints, for example on 360 Cities, so eventually the backend app would send the picture off to some service site to be printed and mailed.

Is getting these data from the user's PC a complete fantasy, or a perfectly routine operation, or something between?

Regards, Tom

2

Tuesday, May 25th 2010, 2:43pm

Hi,

it's possible,
you can get/read every parameter/variable out of krpano by the javascript get() interface,
and then communicate in any way to server,

e.g. have a look to the javascript examples,

best regards,
Klaus