Day & Night Transition in a Virtual tour.  

Share your tips and tricks here or get help with any Panotour problem!
No bug reports (of any kind) in this forum!
no avatar
Destiny
Moderator
 
Posts: 7886
Likes: 6 posts
Liked in: 228 posts
Joined: Mon Apr 26, 2010 11:55 pm
Info

by Destiny » Thu Feb 07, 2013 10:51 pm

Octavias... Did you run your cub face through an editing software and then save it again..? It looks like you have lightened up one of your faces ... There is a way to avoid this when editing your nadir face.. I will send you an email on how to achieve this.. Do you have Photoshop...

Destiny...

no avatar
Destiny
Moderator
 
Posts: 7886
Likes: 6 posts
Liked in: 228 posts
Joined: Mon Apr 26, 2010 11:55 pm
Info

by Destiny » Thu Feb 07, 2013 10:52 pm

emm.. This might be so since technology changes, but even so, I would not exceed 96 dpi since its more the standard for most users.. Some still use older monitors where 72dpi which was the standard for many years.. Most photo editing software still defaults a 96dpi for web hosted content.

http://en.wikipedia.org/wiki/Dots_per_inch

Destiny..

klausesser wrote:
Destiny wrote:Remember, no monitor can see more than 96 dpi

Sorry, Destiny: you´re wrong.

My Apple 30" 2560x1600 px has 100dpi.
Apple´s 15" MacBook Pro Retina (2880 x 1800) has around 220ppi.
NEC MD205MG-1 2560x2048 @ 20.1 has 163dpi

There´s a growing number of displays which definitely exceeds 96dpi/ppi.

best, Klaus

User avatar
klausesser
Member
 
Posts: 8836
Likes: 5 posts
Liked in: 64 posts
Joined: Mon May 22, 2006 12:18 am
Location: Duesseldorf, Germany
Info

by klausesser » Fri Feb 08, 2013 11:50 am

Octavias wrote:
Octavias wrote:It worked! Destiny you are amazing! Thank you so much for your help!

This is what i have so far. There is a square of some sort that pops up when the blend happens, any ideas why? also how do i get my navigation menu in there?

http://www.acmbphotography.com/Day%20and%20Night%20test/Destinykrpanoblend.html

Thanks in advance!

- Max

That's the link to my panorama, would you kindly take a look please? Do you have any idea why that weird square shows up when the transition happens?

Everyone's help is highly appreciated!

I can´t see any "weird squares" in your panorama. If you´re talking about the visible seams between cubefaces during the transition: that´s a question of the settings.

Klaus
Simplicity is the keynote of all true elegance. Coco Chanel

User avatar
klausesser
Member
 
Posts: 8836
Likes: 5 posts
Liked in: 64 posts
Joined: Mon May 22, 2006 12:18 am
Location: Duesseldorf, Germany
Info

by klausesser » Fri Feb 08, 2013 11:54 am

Destiny wrote:It looks like you have lightened up one of your faces ....

Nothing to do with that. It´s fading in movement a dark image into a brighter image - or vice versa.

best, Klaus
Simplicity is the keynote of all true elegance. Coco Chanel

User avatar
aaronpriest
Member
 
Posts: 191
Likes: 4 posts
Liked in: 2 posts
Joined: Fri Mar 16, 2012 4:23 am
Location: Lee, Maine, USA
Info

by aaronpriest » Mon Feb 11, 2013 3:17 am

klausesser wrote:Here´s one with real images ;) : http://360impressions.de/LTKuppelBlend/krpano.swf

best, Klaus

THAT is awesome! :-)

User avatar
klausesser
Member
 
Posts: 8836
Likes: 5 posts
Liked in: 64 posts
Joined: Mon May 22, 2006 12:18 am
Location: Duesseldorf, Germany
Info

by klausesser » Mon Feb 11, 2013 1:54 pm

aaronpriest wrote:
klausesser wrote:Here´s one with real images ;) : http://360impressions.de/LTKuppelBlend/krpano.swf

best, Klaus

THAT is awesome! :-)

Thx! :cool:

best, Klaus
Simplicity is the keynote of all true elegance. Coco Chanel

no avatar
Destiny
Moderator
 
Posts: 7886
Likes: 6 posts
Liked in: 228 posts
Joined: Mon Apr 26, 2010 11:55 pm
Info

by Destiny » Mon Feb 11, 2013 11:50 pm

...And a BIG thank you to Klaus-KRPANO for developing this plugin and making it incredibly simple to use...

http://krpano.com/examples/blendcubes720/

Destiny...

User avatar
Octavias
Member
 
Topic author
Posts: 139
Likes: 2 posts
Liked in: 1 post
Joined: Wed Dec 12, 2012 11:00 pm
Location: Brooklyn NY
Info

by Octavias » Tue Feb 19, 2013 4:31 am

Hey guys!

Sorry for not responding for so long! i was extremely busy with my other work.

I am hoping to shoot some new panoramas this weekend and try the day and night transition again!

Big thanks to Destiny and Klaus!

- Max
"The whole point of taking pictures is so that you don’t have to explain things with words."
http://www.acmbphotography.com/ - website
https://www.facebook.com/ACMBPhotography - facebook
https://www.facebook.com/MaxBolotovPhotography

no avatar
jacobus182
Member
 
Posts: 24
Likes: 0 post
Liked in: 0 post
Joined: Thu Mar 21, 2013 2:27 pm
Location: London UK
Info

by jacobus182 » Fri Mar 29, 2013 8:27 pm

Hi Destiny

Do you mind sharing the files with me

Destiny wrote:Hi.. Ok, I will try to share and make sure its understandable and doable for all users.

To achieve this in the most simple way you need to create your tour and save-as krpano.swf

This code below is all krpano code but edited by me.

Later when you understand how it all works you can save-as any name but doing it this way all you need to do is replace the krpano.swf with yours and also replace the cube faces naming them as they are so their maintains correlation between the xml code. I have also provided a screen shot of the file structure. Simple and easy to understand.

I can send the files to anyone who asks for it, providing a zipped copy of this template setup.. If you need your tour to be in a table rather than as a full screen, I will send you a table structure. Also, if you need a menu set, you can just copy and past a set from any xml code but make sure you provide the full url and a folder with the menu graphics.

Destiny..

This is the test blend transition link..
http://members.westnet.com.au/dps/krpanoblend/Destinykrpanoblend.html


This is the striped to barebones html source code..

<html>
<head>
<title>Destiny krpano blend test setup</title>
</head>
<style>
body{ font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#FFFFFF; background-color:#000000; margin:0; padding:0; }
* html, * html body{ overflow: hidden; }
a{ color:#FFFFFF; text-decoration:underline; }
a:hover{ color:#AAAAAA; text-decoration:underline; }
</style>
<body>

<div id="krpanoDIV"></div>

<script type="text/javascript" src="swfkrpano.js"></script>

<script type="text/javascript">

var swf = createswf("krpano.swf","krpanoSWFObject","100%","100%");
swf.addVariable("xml","krpano.xml");
swf.embed("krpanoDIV");

</script>

</body>
</html>


This is xml code

<krpano onstart="start();">

<view hlookat="180" vlookat="0" fovtype="HFOV" fov="100" fovmin="70" fovmax="120" />


<action name="addface">
addhotspot(%1);
set(hotspot[%1].url, %2);
set(hotspot[%1].ath, %3);
set(hotspot[%1].atv, %4);
set(hotspot[%1].width, 1000);
set(hotspot[%1].height, 1000);
set(hotspot[%1].distorted, true);
set(hotspot[%1].enabled, false);
set(hotspot[%1].visible, false);
set(hotspot[%1].alpha, 0.0);
set(hotspot[%1].details, 16);
set(hotspot[%1].zorder, %1);
</action>


<action name="addcube">
addface(face_%1_F, %1_f.jpg, 0, 0);
addface(face_%1_L, %1_l.jpg, -90, 0);
addface(face_%1_R, %1_r.jpg, +90, 0);
addface(face_%1_B, %1_b.jpg, +180, 0);
addface(face_%1_Z, %1_u.jpg, 0, -90);
addface(face_%1_N, %1_d.jpg, 0, +90);
</action>


<action name="setalpha">
set(%1.alpha, %2);
if(%1.alpha == 0.0, set(%1.visible,false), set(%1.visible,true));
</action>


<action name="setcubealpha">
setalpha(hotspot[face_%1_F], %2);
setalpha(hotspot[face_%1_L], %2);
setalpha(hotspot[face_%1_R], %2);
setalpha(hotspot[face_%1_B], %2);
setalpha(hotspot[face_%1_Z], %2);
setalpha(hotspot[face_%1_N], %2);
</action>


<action name="start">
addcube(blue);
addcube(grey);
</action>


<action name="blendcubes720">
set(overlap, 30); <!-- set overlapping/blending range in degrees -->

mul(edge1, overlap, 0.5);
sub(edge2, 360, edge1);
add(edge3, 360, edge1);
sub(edge4, 720, edge1);

mod(pan, view.hlookat, 720);
if(pan LT 0, add(pan,pan,1440);mod(pan,pan,720); );

if(pan GT edge2,
if(pan LT edge3,
sub(blend,pan,edge2);
div(blend,blend,overlap);
,
set(blend,1);
);
if(pan GT edge4,
sub(blend,pan,edge4);
div(blend,blend,overlap);
sub(blend,1,blend);
);
,
if(pan LT edge1,
add(blend,pan,edge1);
div(blend,blend,overlap);
sub(blend,1,blend);
,
set(blend,0);
);
);

sub(blend2, 1.0, blend);
setcubealpha(blue, get(blend));
setcubealpha(grey, get(blend2));
</action>


<events onviewchange="blendcubes720();" />


</krpano>

no avatar
Destiny
Moderator
 
Posts: 7886
Likes: 6 posts
Liked in: 228 posts
Joined: Mon Apr 26, 2010 11:55 pm
Info

by Destiny » Fri Mar 29, 2013 10:17 pm

Hi.. You have it here... Just copy it and past it into where I proved the headings location...

Destiny...

jacobus182 wrote:Hi Destiny

Do you mind sharing the files with me

no avatar
jacobus182
Member
 
Posts: 24
Likes: 0 post
Liked in: 0 post
Joined: Thu Mar 21, 2013 2:27 pm
Location: London UK
Info

by jacobus182 » Fri Mar 29, 2013 10:20 pm

Question

Do i use only krpano for this or must the swf file be made on ptp?

no avatar
jacobus182
Member
 
Posts: 24
Likes: 0 post
Liked in: 0 post
Joined: Thu Mar 21, 2013 2:27 pm
Location: London UK
Info

by jacobus182 » Sat Mar 30, 2013 3:33 pm

can the full sceen and buttons still be used?

no avatar
Destiny
Moderator
 
Posts: 7886
Likes: 6 posts
Liked in: 228 posts
Joined: Mon Apr 26, 2010 11:55 pm
Info

by Destiny » Sun Mar 31, 2013 1:42 am

Hi Jacob...

Its best to use the krpano demo as your base template. Create your own tour and replace the swf file so the demo has gone.. Create cube faces of your two tours and name them same as the demo so you do not have to edit the code and then replace the demo cube faces for your own.. You can also create a menu set on a dummy tour and then copy the xml code and past it into the xml file in the krpano demo. Make sure you put your licences into the tour, which will be generated when you make a dummy tour to get your menu code. You will be able to full screen and zoom but be aware that this has restrictions. The cube faces are not that big, or it will not run smoothy.., so the zoom level is limited.. When you full screen, depending on your monitor size will determine the quality of the image seen...

Destiny...

no avatar
tamiro
Member
 
Posts: 179
Likes: 12 posts
Liked in: 2 posts
Joined: Sun Oct 16, 2011 1:06 pm
Location: Israel
Info

by tamiro » Tue Apr 02, 2013 9:24 am

interesting discussion

did you see this project?

http://www.panoramablog.eu/media/dubai/burj_al_arab/index.html

it's look like transition 4-5 panos in one project

it's can be done it PTP to?
Last edited by tamiro on Tue Apr 02, 2013 9:27 am, edited 1 time in total.

no avatar
Destiny
Moderator
 
Posts: 7886
Likes: 6 posts
Liked in: 228 posts
Joined: Mon Apr 26, 2010 11:55 pm
Info

by Destiny » Tue Apr 02, 2013 9:30 am

Hi.. Yes, its like this recent post. http://www.kolor.com/forum/p114238-today-09-54-14#p114238
Same kind of thing.. Its seems to be set to auto goto next pano giving this effect.. There is also code to make sure the transition begins at the same point...

Destiny..

no avatar
tamiro
Member
 
Posts: 179
Likes: 12 posts
Liked in: 2 posts
Joined: Sun Oct 16, 2011 1:06 pm
Location: Israel
Info

by tamiro » Tue Apr 02, 2013 9:41 am

Destiny wrote:Hi.. Yes, its like this recent post. http://www.kolor.com/forum/p114238-today-09-54-14#p114238
Same kind of thing.. Its seems to be set to auto goto next pano giving this effect.. There is also code to make sure the transition begins at the same point...

Destiny..

tanx
the transition is very smooth in the Dubai project

and im looking the code for this "transition begins at the same point"
like in klausesser project in here http://360impressions.de/LTKuppelBlend/krpano.swf

but i want to do it with more than 2 pano

Tamir
Last edited by tamiro on Tue Apr 02, 2013 11:48 am, edited 1 time in total.

no avatar
jacobus182
Member
 
Posts: 24
Likes: 0 post
Liked in: 0 post
Joined: Thu Mar 21, 2013 2:27 pm
Location: London UK
Info

by jacobus182 » Tue Apr 02, 2013 10:41 am

Destiny wrote:Hi Jacob...

Its best to use the krpano demo as your base template. Create your own tour and replace the swf file so the demo has gone.. Create cube faces of your two tours and name them same as the demo so you do not have to edit the code and then replace the demo cube faces for your own.. You can also create a menu set on a dummy tour and then copy the xml code and past it into the xml file in the krpano demo. Make sure you put your licences into the tour, which will be generated when you make a dummy tour to get your menu code. You will be able to full screen and zoom but be aware that this has restrictions. The cube faces are not that big, or it will not run smoothy.., so the zoom level is limited.. When you full screen, depending on your monitor size will determine the quality of the image seen...

Destiny...

Thanks

I got it to work, you guys are the best

no avatar
teddy
Member
 
Posts: 76
Likes: 0 post
Liked in: 0 post
Joined: Tue Nov 13, 2012 5:15 am
Info

by teddy » Wed Apr 03, 2013 6:46 am

Octavias
Very nice panorama. You take the photos by day and whats next steps?

Thank you,

User avatar
Octavias
Member
 
Topic author
Posts: 139
Likes: 2 posts
Liked in: 1 post
Joined: Wed Dec 12, 2012 11:00 pm
Location: Brooklyn NY
Info

by Octavias » Thu Apr 04, 2013 2:32 am

Hey guys,

well that's the trick. for it to have a smoother transition you need the shoot to be pretty much from the some nodal point and the same place. So you gonna have to do some markers so you come back and shoot the same panorama at night. Then make sure when you stick them you align them so they start at proximity the same place. After that there is a whole lot to follow what Destiny said haha. I still till this day can't get rid of that one weird square. Even in "klausesser project in here [url=http://360impressions.de/LTKuppelBlend/krpano.swf\]http://360impressions.de/LTKuppelBlend/krpano.swf\"[/url] you can see a big blue square outline when teh transition happens. I have no idea how to get rid of it. And i will have to read this whole thread again to see if there is an answer for my navigation menu problem!
"The whole point of taking pictures is so that you don’t have to explain things with words."
http://www.acmbphotography.com/ - website
https://www.facebook.com/ACMBPhotography - facebook
https://www.facebook.com/MaxBolotovPhotography

no avatar
Destiny
Moderator
 
Posts: 7886
Likes: 6 posts
Liked in: 228 posts
Joined: Mon Apr 26, 2010 11:55 pm
Info

by Destiny » Thu Apr 04, 2013 2:52 am

Hey Octavias.. can you send me your images.. I would like to find out why... ZIP it a email them..

Destiny...

User avatar
Octavias
Member
 
Topic author
Posts: 139
Likes: 2 posts
Liked in: 1 post
Joined: Wed Dec 12, 2012 11:00 pm
Location: Brooklyn NY
Info

by Octavias » Thu Apr 04, 2013 10:46 pm

I just sent you an e-mail,

Thanks!
"The whole point of taking pictures is so that you don’t have to explain things with words."
http://www.acmbphotography.com/ - website
https://www.facebook.com/ACMBPhotography - facebook
https://www.facebook.com/MaxBolotovPhotography

User avatar
klausesser
Member
 
Posts: 8836
Likes: 5 posts
Liked in: 64 posts
Joined: Mon May 22, 2006 12:18 am
Location: Duesseldorf, Germany
Info

by klausesser » Thu Apr 04, 2013 11:08 pm

Octavias wrote:Even in "klausesser project in here [url=http://360impressions.de/LTKuppelBlend/krpano.swf\]http://360impressions.de/LTKuppelBlend/krpano.swf"[/url] you can see a big blue square outline when teh transition happens. I have no idea how to get rid of it.

There will hardly be a way with night/day change. You can´t REALLY blend TOTALLY without having gaps of too bright or too dark areas.
Borders would need to get intensely feathered.

best, Klaus

PS: the visibility of blending depends on the motif.
Last edited by klausesser on Thu Apr 04, 2013 11:11 pm, edited 1 time in total.
Simplicity is the keynote of all true elegance. Coco Chanel

no avatar
Destiny
Moderator
 
Posts: 7886
Likes: 6 posts
Liked in: 228 posts
Joined: Mon Apr 26, 2010 11:55 pm
Info

by Destiny » Fri Apr 05, 2013 1:09 am

Sorry, you are wrong.. It works fine if displayed in the right way..

Destiny...

klausesser wrote:
Octavias wrote:Even in "klausesser project in here [url=http://360impressions.de/LTKuppelBlend/krpano.swf\]http://360impressions.de/LTKuppelBlend/krpano.swf"[/url] you can see a big blue square outline when teh transition happens. I have no idea how to get rid of it.

There will hardly be a way with night/day change. You can´t REALLY blend TOTALLY without having gaps of too bright or too dark areas.
Borders would need to get intensely feathered.

best, Klaus

PS: the visibility of blending depends on the motif.

no avatar
Destiny
Moderator
 
Posts: 7886
Likes: 6 posts
Liked in: 228 posts
Joined: Mon Apr 26, 2010 11:55 pm
Info

by Destiny » Fri Apr 05, 2013 1:10 am

Sent you an email back using your images.. For me its working fine...

Destiny...

Octavias wrote:I just sent you an e-mail,

Thanks!

User avatar
klausesser
Member
 
Posts: 8836
Likes: 5 posts
Liked in: 64 posts
Joined: Mon May 22, 2006 12:18 am
Location: Duesseldorf, Germany
Info

by klausesser » Fri Apr 05, 2013 10:38 am

Destiny wrote:Sorry, you are wrong.. It works fine if displayed in the right way..

i´ll send you a link for downloading my images - prove it! ;):cool:

best, Klaus

Here they are: www.klausesser.de/N_D.zip

Everybody is invited to try!
Last edited by klausesser on Fri Apr 05, 2013 11:45 am, edited 1 time in total.
Simplicity is the keynote of all true elegance. Coco Chanel

PreviousNext

Who is online

Users browsing this forum: No registered users and 1 guest

cron