You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, September 25th 2012, 11:30am

OBJECT PANORAMA for HTML5

As I have seen and sampled on the internet, object panorama's are not a problem for the ipad... so when are we going to get it?

We need this for Krpano because Krpano has some of the most advanced interactivity on the market. So why can't we do object panos on the iPad?

I am currently in talks with customers about doing catalogs and interactive product tours, and the advanced options available using krpano make it very appealing. But alas, no iPad support!

When . When . When?

This post has been edited 1 times, last edit by "nefar1ous" (Nov 1st 2012, 4:57am)


Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

2

Tuesday, September 25th 2012, 8:20pm

I need this too!
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Tuesday, September 25th 2012, 10:59pm

me three!

Posts: 1,081

Location: Russia, Kaliningrad

  • Send private message

4

Thursday, November 8th 2012, 4:46pm

Hi!
I'm already done object for html5 :)
try and test it here http://sudarchikov.com/shared/object/object.html
Regards

Andrey *thumbup*

PS - it can be run even windowed
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

5

Thursday, November 8th 2012, 7:37pm

How?? using KRPano

Tuur

Sage

Posts: 3,172

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

6

Thursday, November 8th 2012, 10:42pm

Can do but not with krpano... But you did. When i'm right ?..
Image gallery? Something?

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Posts: 1,081

Location: Russia, Kaliningrad

  • Send private message

7

Friday, November 9th 2012, 5:44am

Hi!
I share this code for free DOWNLOAD *thumbsup*
And with mousewheel zoom DOWNLOAD object2

http://sudarchikov.com/shared/object/object2.zip
demo page http://sudarchikov.com/shared/object/object.html

And if you wish you can donate and support me.
my PayPal email is: mindlessboss @ gmail dot com

Regards
Andrey *thumbup*

PS
btw - avalon isn't mine, it's www.ripemedia.com *rolleyes*
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

This post has been edited 3 times, last edit by "Sudarchikov Andrey" (Feb 22nd 2013, 9:32pm)


Tuur

Sage

Posts: 3,172

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

8

Friday, November 9th 2012, 3:07pm

great!
another beer *g* *thumbup*

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

9

Friday, November 9th 2012, 4:20pm

Sweet.
It'll will be easy to do hotspots too using a <data structure tying them to the plugin frame number so they also get added.
I think I can get that working next week.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

10

Friday, November 9th 2012, 5:31pm

Calming action... so it works on touch devices. Next to fix: A bug in the resize code.. for portrait images.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
	<action name="domouserotate">
		if(pressed,
			if(boundstart === null, 
				copy(boundstart,mouse.x);
			);
			sub(bound_temp, boundstart,mouse.x);
			Math.abs(bound_temp);
			if (bound_temp GT 9,
				set(boundhit,true);
				copy(boundstart,mouse.x);
			);
			sub(temp,oldmousex,mouse.x);
			if(temp GT 0, 
				set(temp,1);
			);
			if(temp LT 0,
				set(temp,-1);
			);
			if (boundhit === true,
				showframe(get(temp));
				set(boundhit,false);
			);
			copy(oldmousex,mouse.x);
			delayedcall(0.03,domouserotate(););
		);
	</action>
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

11

Friday, November 9th 2012, 5:37pm

hahahaha...that one really made me laugh, Andrey *g* No offens, but if I would´nt know that you are a great krpano-coder, I could believe your object-code is based on my own ;) Very interesting, that you use almost the same procedure to preload and show the object-frames *smile* On the other hand the routines for object-rotation are pretty straight forward and it´s somehow obvious what´s needed.

But still: Great job and very well coded, Andrey, as always! And it´s a really nice gesture to give this code to the community for free *thumbup*

Best regards
Nupsi

Posts: 1,081

Location: Russia, Kaliningrad

  • Send private message

12

Friday, November 9th 2012, 6:21pm

Hi! Nupsi

Quoted

Very interesting, that you use almost the same procedure to preload and show the object-frames *smile*
Hm... interesting :) you did the same? Coder see coder from faraway ;) haha

Andrey *thumbup*
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

13

Tuesday, November 27th 2012, 5:24pm

Thank you very much for your code! I will try to make some interactive area's together with this. Hope that's possible.

Thanks a lot, I needed this! If I get the money from the customer, I will also give you some ;) (can take some time, this project started in April ;)).

14

Tuesday, November 27th 2012, 5:28pm

Is it possible to zoom? Or do they get scaled automatically and is zooming not possible anymore?

I'm also curious what happens when the image is scaled and there is an interactive area on top of it. I hope that one is scaled too. ;) I'm afraid I have to ask my friend to help with that code.

Posts: 1,081

Location: Russia, Kaliningrad

  • Send private message

15

Tuesday, November 27th 2012, 5:47pm

Hi!
Yes, this example has no autoscale
It must be added

Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

16

Tuesday, November 27th 2012, 5:52pm

Then what is the action 'updateframesize'?
Or do you mean the autoscale for hotspots (interactive area's in my case ;))?
If you made one and would like to share it also, you're welcome ;).

Posts: 1,081

Location: Russia, Kaliningrad

  • Send private message

17

Wednesday, November 28th 2012, 5:11am

Hi!

Quoted

Then what is the action 'updateframesize'?
Oh, you are right. It's there, not the best but well.
Sorry :)
But have no zoom. For zoom can be used scale attribute.
Just set new scale for all frames.
It's can be

Source code

1
2
3
4
5
6
7
8
9
10
11
    <events onresize="updateframes()" onviewchange="updateframesscale()" />


    <action name="updateframesscale">
        for(set(i,0), i LT framecount, inc(i),
            txtadd(fname,frame,get(i));
            sub(temp,180,view.fov);
            div(newscale,temp,70);
            copy(plugin[get(fname)].scale,newscale);
        );
    </action>



Then it will zooming bt shift and ctrl, and maybe by two finger zooming on touch

Regards
Andrey *thumbup*
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

Posts: 1,081

Location: Russia, Kaliningrad

  • Send private message

18

Wednesday, November 28th 2012, 5:18am

one more thing
Soon will completed new draggable plugin.
Then panning will possible too. ;-)

Andrey

PS - demo updated with zooming
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

This post has been edited 1 times, last edit by "Sudarchikov Andrey" (Nov 28th 2012, 5:34am)


19

Thursday, November 29th 2012, 4:47pm

The code in your updated version is a little bit different than the code in this topic? You didn't add the 'sub' and 'div'. Is this not needed?

Thank you for changing the code. I hope I will get the resizable hotspots (interactive areas) done.

peasn

Beginner

Posts: 22

Location: Belfast, Northern Ireland

  • Send private message

20

Monday, December 10th 2012, 1:13pm

popup object vr from hotspot

Hi Guys, great work by the way. Im just wondering how I would go about loading/poping up an object panorama from a hotspot within a pano? Ive been try to work it out here but isn't really happening for me. Any pointers would me much appreciated!

Thanks
Neil