PlaneProjection
is this Deep Zoom 'tile pyramid visualizer'...![](http://1.bp.blogspot.com/_Ba76y6K7kvs/Sek55GAhO-I/AAAAAAAAA4s/tvt7dT9VnCY/s400/deepzoomtilepyramid-blog.png)
[fullsize image] [try it out]
Rather than just play around with the
RotationX
and RotationY
properties, GlobalOffsetZ
is used to 'push back' the larger images to sit 'behind' the smaller, foremost imageCenterOfRotation
is set toGlobalOffsetZ * -1
so that all the images rotate around the same pointRotationY
is then used to rotate them all together
Here are some diagrams to explain what that all means:
Firstly, each 'layer' in a Deep Zoom image is double the the size of the previous one (height/width) so when they three layers are rendered on top of each other, you can clearly see the size differences:
![](http://2.bp.blogspot.com/_Ba76y6K7kvs/SelBQwAXe9I/AAAAAAAAA40/eiqP2IUhDlw/s400/PlaneProjection-0.png)
However when we apply the
PlaneProjection
to move the larger images along the Z axis (ie. in/out of the page) we can create the effect that all three images are the 'same size'. ![](http://2.bp.blogspot.com/_Ba76y6K7kvs/SelBRVMl0OI/AAAAAAAAA48/o58QhZeeYeo/s400/PlaneProjection-1.png)
Altering the
PlaneProjection
attributes listed about let's us zoom and rotate the pyramid to get a totally useless but kinda cool looking view of a Deep Zoom tile pyramid...UPDATE: For those without Silverlight 3.0 installed, I've recorded (my first!) screencast demo (sorry it's in Flash - something to figure out another time...)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.