You are not logged in.

1

Wednesday, March 8th 2017, 6:05pm

Dissecting Blending Example

I found an example that I really like and I'm trying to break it down a bit. I downloaded it to look over the image and try to get a better understanding of what-does-what in the XML file.

Here is the example: https://krpano.com/examples/blendcubes720

I see a lot of examples and write ups regarding the slider blends, but I like the way this one transforms as you move through the image.

Is there any further documentation on how this is achieved?

Would it be possible to get an explanation of the following from the XML?

Source code

1
addcube

Source code

1
blendcubes720

Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

2

Wednesday, June 7th 2017, 4:45pm

Hi)

I'm afraid there's no special explanation of this in documentation. All this is custom-written actions. To understand what they do, you need to know Krpano docomentation very well.

addcube action calls 'addface' actions six times with different parameters (they add cube-sized hotspots).
Action 'blendcubes720' is called from 'onviewchange' event and is a bit more complex to understand.
Regards,

Alexey