You are not logged in.

Destiny

Trainee

  • "Destiny" started this thread

Posts: 61

Location: Australia

Occupation: Primary School Teacher and Freelance Photographer

  • Send private message

1

Wednesday, November 4th 2015, 10:24am

Blend or Merge Options...

Hi.. I have some code that work well but.. The Blend between panos is a flick, not a nice Merge between the two..

I have tried a few options from this forum but nothing seems to work..

Does anyone have any ideas on adding code to my code to allow for a better Blend between panos.. I need it to go from pano 15 to pano 16...

<action name="step6">
oninterrupt(break);
loadscene(pano15);
lookto(get(panoview.h), get(panoview.v), get(panoview.fov), smooth(100,50,20));
delayedcall(0, step7() );
</action>


Thank you

Destiny..
Sometimes I might come across as being stupid; But I have an IQ of 137 *tongue*

Tuur

Sage

Posts: 3,839

Location: Netherlands

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

  • Send private message

Destiny

Trainee

  • "Destiny" started this thread

Posts: 61

Location: Australia

Occupation: Primary School Teacher and Freelance Photographer

  • Send private message

3

Thursday, November 5th 2015, 7:40am

Hi Tuur...

Thank you for your input. I already tried that code option but I could not get the blend to work.. It still jumps to the next pano.. I tried a variation of the code, mixing it around and merging lines...

I am beginning to think that my load next pano code is not right.. But that works fine..

I will just keep playing around with it.. See how I go...

Destiny...

<action name="step6">
oninterrupt(break);
loadscene(pano15);
set(ptblendmode, 'BLEND(2, easeInCubic)');
lookto(get(panoview.h), get(panoview.v), get(panoview.fov), smooth(100,50,20));
delayedcall(0, step7() );
</action>
Sometimes I might come across as being stupid; But I have an IQ of 137 *tongue*

Destiny

Trainee

  • "Destiny" started this thread

Posts: 61

Location: Australia

Occupation: Primary School Teacher and Freelance Photographer

  • Send private message

4

Thursday, November 5th 2015, 12:55pm

Hi.. Using other code below, I get the Blend to the next pano working fine but I cannot use that code since I have a delay in my project..

mainloadscene(pano26);

lookto(-38.250000, 65.700000, 90.000000, smooth(100,50,20));


mainloadscene(pano28);

lookto(27.900000, 28.800000, 90.000000, smooth(100,50,20));


Everything works fine with my current code, except for the transition blend.. At the moment I also have to endure the white flash between panos, but that is the krpano viewer which should be fixed soon, I hope..

This is a dummy test using the above code in action.. The transition to the next pano works as you can see, but.. not so easy to get it to work with my current code...

http://www.destinyvirtualtours.com/dummy…Transition.html

Destiny...
Sometimes I might come across as being stupid; But I have an IQ of 137 *tongue*

5

Thursday, November 5th 2015, 2:00pm

Hi,

have a look at the syntax and the blend parameter of the loadscene action:
http://krpano.com/docu/actions/#loadpano

The 'mainloadscene' action is something custom from Panotour, but inside that action there must be a normal loadscene() call.

Best regards,
Klaus

Destiny

Trainee

  • "Destiny" started this thread

Posts: 61

Location: Australia

Occupation: Primary School Teacher and Freelance Photographer

  • Send private message

6

Friday, November 6th 2015, 7:20am

arrr, Yes! I see that now. I wondered how that basic code actually worked.. I kept thinking.. How on earth does that work etc.. However, it still does not fix my issue.. But now I can see the linked code, I can tinker with it.. There is probably a very easy fix but I need to find it...

Thank you

Destiny...
Sometimes I might come across as being stupid; But I have an IQ of 137 *tongue*

Destiny

Trainee

  • "Destiny" started this thread

Posts: 61

Location: Australia

Occupation: Primary School Teacher and Freelance Photographer

  • Send private message

7

Friday, November 6th 2015, 9:04am

Hard to get the Blend right.. The White Flash is not so nice on first view but gets better.. The transition between panos is not as nice as the other link, but I cannot get that option to work with my coded Tour..

http://members.westnet.com.au/dps/MetalT…nomousTour.html

Its only a demo but its the process that I wanted...

Destiny....
Sometimes I might come across as being stupid; But I have an IQ of 137 *tongue*

Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

8

Friday, November 6th 2015, 2:48pm

Hi!

Does this white flash occur on other tours you made or just when you're trying to use this "autotour" code?

Visually it seems that there's some excessive white layer which is turned visible/invisible for some reason. The background behind the pano is onviously black as it normally is. Or maybe the "preview" images are missing?

Btw, what do guys from PTP forum say about this?
Regards,

Alexey

Destiny

Trainee

  • "Destiny" started this thread

Posts: 61

Location: Australia

Occupation: Primary School Teacher and Freelance Photographer

  • Send private message

9

Friday, November 6th 2015, 8:09pm

The White Flash is a known issue on the krpano side.. Its apparently on the to be fixed list.. I do not know all there is to know about it..

I have had no comment on the PTP side... They are GUI orientated where as krpano is code orientated. That is why I cam here.. My issue is code..

Destiny...
Sometimes I might come across as being stupid; But I have an IQ of 137 *tongue*

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

10

Saturday, November 7th 2015, 12:56pm

Hi!
perhaps i understand incorrect your "white flash, while transition" but
if you mean that "white flash" blink while blend/transition, then it happening if you set wmode=opague or tnasparent in html5 mode
If remove wmode settings for html5 then blend become normal, without white blink/flash

Hope it helps
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

Destiny

Trainee

  • "Destiny" started this thread

Posts: 61

Location: Australia

Occupation: Primary School Teacher and Freelance Photographer

  • Send private message

11

Saturday, November 7th 2015, 1:33pm

Hi Andrey.. Thank you for your suggestion.. I have already been down that path. That was fix I used in the old days..

The thing is, there is no wmode written into my html page since that is a Flash option and not html5... My test Tour is HTMl 5.. I am sure Klaus will find a fix for this issue in the next krpano release..

Destiny..
Sometimes I might come across as being stupid; But I have an IQ of 137 *tongue*