Sie sind nicht angemeldet.

Suchergebnisse

Suchergebnisse 1-5 von insgesamt 5.

Dienstag, 30. Oktober 2012, 14:00

Forenbeitrag von: »Sam Granger«

HTML5 plugin rendering

Thanks, that'd be nice - I can't really use a <plugin> due to not being able to set ath/atv. Looking forward to seeing this in the next version! :)

Dienstag, 30. Oktober 2012, 13:49

Forenbeitrag von: »Sam Granger«

HTML5 plugin rendering

It is a hotspot, but setting accuracy in <hotspot> doesn't do the trick here. IE: <krpano> <hotspot name="label17" url="/layouts/trainstation/clients/tjs/panorama/plugins/sortable.js" alturl="/layouts/trainstation/clients/tjs/panorama/plugins/sortable.js" enabled="true" ath="-79" atv="9" keep="true" edge="lefttop" accuracy="0" todo="1" label="Pompen" id="7" subjects="{"87":"Kennis brandstoffen 1"}"/> </krpano> Also tried using accuracy="1" Still blurry however. Hotspot files are included via an ...

Freitag, 26. Oktober 2012, 11:13

Forenbeitrag von: »Sam Granger«

HTML5 plugin rendering

I'm creating a JS plugin for my Panorama. However, text appears to be rather blurry sometimes when I rotate my pano (Safari, Mac). I have found the cause, it's due to the webkit-transform values not being rounded. IE: webkit-transform: translate(217.09142528458045px, 225.4742243902969px) I tried doing a Math.round around the WebKitPoint's in the krpanoiphone.js file without any luck (the values just weren't being rounded). Maybe that was the wrong place to do so, but the code is a little hard to...

Mittwoch, 25. Juli 2012, 11:57

Forenbeitrag von: »Sam Granger«

How to dynamically add a hotspot to current scene, and keep in that current scene only?

Hey Andrey :) I knew about keep false, which indeed does the trick with removing the hotspot when I change scene, however when I come back to the scene where I added it, it's also still disappeared (I want it to be kept, but only for that current scene). Cheers, Sam

Mittwoch, 25. Juli 2012, 10:25

Forenbeitrag von: »Sam Granger«

How to dynamically add a hotspot to current scene, and keep in that current scene only?

I have a xml with various scenes and hotspots. I currently have functionality to add hotspots dynamically. However, how can I have it so that my dynamically added hotspot stays in the scene I added it to, so that when I go to a different scene, I can't see the hotspot, but when I go back it's there again? Sample action that I'm currently using: Quellcode 1 2 3 4 5 6 7 8 9 10 11 12 13 <action name="addlocation"> removelocation(get(location)); removehotspot(get(location)); addhotspot(get(location)...