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.

  • "wannabeartist" started this thread

Posts: 20

Location: Finland

Occupation: 3D Artist

  • Send private message

1

Friday, March 19th 2010, 7:07pm

Best way to "layer" 2 panos (day/night)?

Hi,

What's the best way to have 2 panos on top of each other, so that you could have for example a daytime and nighttime pano of the same place and could toggle day/night from a button?

I just got the great radar example working - is it possible/good idea to use the <scene>-tag from that example to do this?

Thanks!

2

Saturday, March 20th 2010, 4:47pm

In this ugly example I used <scene>-tags:

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
27
28
29
30
31
32
33
34
35
36
37
38
<!-- first scene/pano -->
	<scene name="scene1">

	<view hlookat ="-88.58"
	      vlookat       ="-1.64"
	      fov           ="90"
	      fovmin        ="54.634215"
	      fovmax        ="179"
	      maxpixelzoom  ="1"
	      limitfov      ="true"
	      fisheye       ="0.35"
	      fisheyefovlink="1.32"
	      stereographic ="false"
	      />

	<display details="22" />

	<preview type="CUBESTRIP" url="../unordentlich/unordentlich.tiles/preview.jpg" />

	<image type="CUBE" multires="true" tilesize="671">
		<level tiledimagewidth="2013" tiledimageheight="2013">
			<left  url="../unordentlich/unordentlich.tiles/l2_l_%0v_%0h.jpg" />
			<front url="../unordentlich/unordentlich.tiles/l2_f_%0v_%0h.jpg" />
			<right url="../unordentlich/unordentlich.tiles/l2_r_%0v_%0h.jpg" />
			<back  url="../unordentlich/unordentlich.tiles/l2_b_%0v_%0h.jpg" />
			<up    url="../unordentlich/unordentlich.tiles/l2_u_%0v_%0h.jpg" />
			<down  url="../unordentlich/unordentlich.tiles/l2_d_%0v_%0h.jpg" />
		</level>
		<level tiledimagewidth="1007" tiledimageheight="1007">
			<left  url="../unordentlich/unordentlich.tiles/l1_l_%0v_%0h.jpg" />
			<front url="../unordentlich/unordentlich.tiles/l1_f_%0v_%0h.jpg" />
			<right url="../unordentlich/unordentlich.tiles/l1_r_%0v_%0h.jpg" />
			<back  url="../unordentlich/unordentlich.tiles/l1_b_%0v_%0h.jpg" />
			<up    url="../unordentlich/unordentlich.tiles/l1_u_%0v_%0h.jpg" />
			<down  url="../unordentlich/unordentlich.tiles/l1_d_%0v_%0h.jpg" />
		</level>
	</image>
</scene>


It's simple. *smile* You also could have a look at the slider example in the viewer folder.
0100011101101100011001010110100101100011 0110100000100000011010110110110001100001 0111010001110011011000110110100001110100 0110010101110100001011000010000001001010 0111010101101110011001110110010100101110 0010000001000101011000110110100001110100 0010000001101010011001010111010001111010 0111010000101110

3

Saturday, March 20th 2010, 9:16pm

Hi,

yes, either use loadpano() or loadscene() with the KEEPVIEW flag,
e.g.

Source code

1
loadscene(pano1, null, MERGE|KEEPVIEW, BLEND(1));


or do it like here in the Slider example (example included in the current download package)

best regards,
Klaus

  • "wannabeartist" started this thread

Posts: 20

Location: Finland

Occupation: 3D Artist

  • Send private message

4

Sunday, March 21st 2010, 9:14am

Thanks, Klaus!

I think I'm gonna have to try the slider example - very cool! *cool*

Tangent12

Trainee

Posts: 89

Location: Liverpool, UK

Occupation: Application Developer

  • Send private message

5

Wednesday, March 31st 2010, 8:00pm

Multires

Hi All,

Thanks for the Slider example Klaus.
I was wondering how to convert the XML to accommodate a multires pano; can it be done?
Looking at slider.xml it references the the individual faces but in a multires they are tiles.

Any ideas anyone?

Thanks

T12
Liverpool based panoramic photography, virtual tour and
web media organisation specialising in high quality web experiences.

6

Thursday, April 1st 2010, 11:26am

Hi,
I was wondering how to convert the XML to accommodate a multires pano; can it be done?
Looking at slider.xml it references the the individual faces but in a multires they are tiles.
this is a special example, the cubefaces are included as hotspots,
this allows fading them,

doing the same with multiresolution panos is not possible yet,
but it will in one of the next versions,

best regards,
Klaus

Tangent12

Trainee

Posts: 89

Location: Liverpool, UK

Occupation: Application Developer

  • Send private message

7

Thursday, April 1st 2010, 8:06pm

Thanks for letting me know Klaus, it saves me trying to get something working that is impossible at this point in time.

I look forward to that feature in a future release.

Thanks.

T12
Liverpool based panoramic photography, virtual tour and
web media organisation specialising in high quality web experiences.

8

Monday, September 20th 2010, 12:54pm

I was wondering if this can be implemented yet, or if it is still in the works?

Phil

Trainee

Posts: 97

Location: Texas

  • Send private message

9

Wednesday, October 20th 2010, 6:18pm

doing the same with multiresolution panos is not possible yet,
but it will in one of the next versions,
Any progress on adding this feature to multiresolution panos? I have a before/after interior renovation shoot coming up where this would work great because I'd like shoot it at 20-25mm.

Thanks,
Phil

10

Thursday, June 30th 2011, 11:50pm

can anyone explain how to sync the view angles? i mean when we use KEEPVIEW it will use the last viewing parameters in the loading panorama, right? but if they are not syncronised it will look somewhere else. how can i do the right alignment?
thanks
ozgur

VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

11

Friday, July 1st 2011, 1:32am

when you stitch the 2:1 images make sure each of the images are postioned in the same spot. use a tree or a wall or soemthing and make sure they are the same. then 0 degrees will be the same in both 360's and using keepview is all you will need.

12

Friday, July 1st 2011, 2:05am

that's what i thought at first. just curious about any other ways for already stitched not syncronised panoramas.
thanks for the reply.

VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

13

Friday, July 1st 2011, 4:44am

if they were already stitched it still could be done you would just have to figure out how many degrees they are off and create and action to compensate for the difference you would probably see the quick shift maybe. this link has a slider transition bar its one of my first tours i created and i did not get the tripod back into the exact same place. the effect is there but it would be so much better if they were taken from the same spot. click either one of the two bottom pieces of the pie grid to see the slider.

http://www.virtualnorthland.com/panos/nclt/

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

14

Friday, July 1st 2011, 5:19am

You can restitch one of the finished panoramas.
Restitching meaning control points on one, yielding yaw pitch and roll adjustments for one, nothing more..
There is some krpano documentation.. to adjust offsets, but it'd probably be faster just to re-output one.. should take 15 seconds.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

15

Friday, July 1st 2011, 8:56am

Just put both in a layer file in Photoshop and adjust with the offset filter.

Hans

16

Friday, July 1st 2011, 10:20am

Just put both in a layer file in Photoshop and adjust with the offset filter.

Hans
can you give more information about it?
thanks to all for reply

17

Friday, July 1st 2011, 10:34am

Just put both in a layer file in Photoshop and adjust with the offset filter.

Hans
can you give more information about it?
thanks to all for reply
now i figured it out. when you open two panoramas in different layers on top of each, in filter menu under other section there is offset. it can be shifted in horizontal or vertical directions. and can be arrange the alignment here.
thanks alot.

another question; i want the first panorama loaded. when loading finished, i want it to start to load the second panorama but not to show it. i mean when it loaded the first one, it will start to prepare the second syncronised one but not show it to the visitor. when the visitor clicked a button it will blend to other one with KEEPALL or KEEPVIEW.
how can i do that in xml codes? "onloadcomplete" event but then?

thanks
zgr

This post has been edited 1 times, last edit by "zgryet" (Jul 1st 2011, 10:44am)


VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

Posts: 148

Location: Italy

Occupation: Freelance Fotographer

  • Send private message

19

Thursday, December 12th 2013, 7:54pm

Hi,
I was wondering how to convert the XML to accommodate a multires pano; can it be done?
Looking at slider.xml it references the the individual faces but in a multires they are tiles.
this is a special example, the cubefaces are included as hotspots,
this allows fading them,

doing the same with multiresolution panos is not possible yet,
but it will in one of the next versions,

best regards,
Klaus
hi, with 16.9 version?

Posts: 148

Location: Italy

Occupation: Freelance Fotographer

  • Send private message

20

Thursday, February 20th 2014, 11:43am

with next 1.17 version?

Similar threads