Sie sind nicht angemeldet.

deadbead

Anfänger

  • »deadbead« ist der Autor dieses Themas

Beiträge: 9

Wohnort: Russia, Saint-Petersburg

  • Nachricht senden

1

Donnerstag, 26. Mai 2011, 21:09

BLEND Error

Hello!

I use javascript interface:

If I load pano without BLEND param - all ok

Quellcode

1
krpano().call("loadpano(../b58m/i.xml,null,IGNOREKEEP);");


but i add BLEND param - loaded blackscreen ((

Quellcode

1
krpano().call("loadpano(../b58m/i.xml,null,IGNOREKEEP,BLEND(1));");


The work exaple http://v360.ru/v/b5fl-t-2145/

Help me please!

2

Freitag, 27. Mai 2011, 17:49

your syntax is a little incorrect. it should be,

pano().call("loadpano(../b58m/i.xml,null,IGNOREKEEP|BLEND(1));"); or
pano().call("loadpano(../b58m/i.xml,null,IGNOREKEEP|MERGE|BLEND(1));");

use a | instead of a , to separate those commands.

deadbead

Anfänger

  • »deadbead« ist der Autor dieses Themas

Beiträge: 9

Wohnort: Russia, Saint-Petersburg

  • Nachricht senden

3

Freitag, 27. Mai 2011, 21:08

Mmm..... from documentation example

Quellcode

1
loadpano('%SWFPATH%/pano.xml', null, MERGE, BLEND(2));


I try use your method

Quellcode

1
pano().call("loadpano(../b58m/i.xml,null,IGNOREKEEP|BLEND(1));");

but then BLEND param was ignored...

4

Freitag, 27. Mai 2011, 23:04

i see i was not correct. use still use the | to separate only the flags only if there are more than 1 but since you are only using 1 your code should work. i have just never used it via the js interface.