Posts by tmhok
-
-
-
i think there is a bug with plugin! Klaus
There is no spatial effect at all on Google Chrome (76.0.3809.100 64bit) & 77.0.3865.90.
On Firefox (69.01) OK!has spatial effect -
Hi Klaus"Here a link"
I don´t see it
Thanks
Suso -
when drag a 100g psb to droplet,about a week later,there is a error
how to fix it?
-
great job!
-
video:https://www.youtube.com/watch?v=-ECdNhV80Bc
maybe krpano will consider that??
-
-
Could someone please explain to us that we still do not understand. Why the variable scope is especially helpful? I have read trying to understand, but I still do not grasp the meaning and I would like to understand how to apply the concept
thanks in advance
Ramiro
pr12Code
Display More<action name="do_crop_animation"> <!-- add attributes to the hotspot --> registerattribute(xframes, calc((imagewidth / %1) BOR 0)); registerattribute(yframes, calc((imageheight / %2) BOR 0)); registerattribute(frames, calc(xframes * yframes)); registerattribute(frame, 0); set(crop, '0|0|%1|%2'); setinterval(calc('crop_anim_' + name), calc(1.0 / %3), if(loaded, inc(frame); if(frame GE frames, if(onlastframe !== null, onlastframe() ); set(frame,0); ); mod(xpos, frame, xframes); div(ypos, frame, xframes); Math.floor(ypos); mul(xpos, %1); mul(ypos, %2); calc(crop, xpos + '|' + ypos + '|%1|%2'); , clearinterval(calc('crop_anim_' + name)); ); ); </action>
pr13Code
Display More<action name="do_crop_animation" scope="local" args="framewidth, frameheight, framerate"> <!-- define local variables --> calc(local.xframes, (caller.imagewidth /framewidth) BOR 0); calc(local.frames, xframes * ((caller.imageheight / frameheight) BOR 0)); def(local.frame, integer, 0); <!-- set the first frame --> calc(caller.crop, '0|0|' + framewidth + '|' + frameheight); <!-- do the animation --> setinterval(calc('crop_anim_' + caller.name), calc(1.0 / framerate), if(caller.loaded, inc(frame); if(frame GE frames, if(caller.onlastframe !== null, callwith(caller, onlastframe() ) ); set(frame,0); ); mod(xpos, frame, xframes); div(ypos, frame, xframes); Math.floor(ypos); mul(xpos, framewidth); mul(ypos, frameheight); calc(caller.crop, xpos + '|' + ypos + '|' + framewidth + '|' + frameheight); , <!-- stop the interval when the hotspot gets removed --> clearinterval(calc('crop_anim_' + caller.name)); ); ); </action>
-
-
you can use simple css code only in css3d mode,webgl mode do not suppot css code
-
problem occour on ios system ipad or iphone
tour include two scene ,one is videopano, one is normal spehere image。can not loadscene(normal spehere image)when Videoplayer version in pr12 or pr11,
but with Videoplayer before pr10,work。
note:when viewer version is pr12
videoplayer version one is pr12 or pr11(no ok) videoplayer version one before pr10 (ok)Code
Display More<krpano version="1.19" title="Virtual Tour"> <include url="skin/vtourskin.xml" /> <!-- customize skin settings: maps, gyro, webvr, thumbnails, tooltips, layout, design, ... --> <skin_settings maps="false" maps_type="bing" maps_bing_api_key="" maps_zoombuttons="false" gyro="true" webvr="true" littleplanetintro="false" title="true" thumbs="true" thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop="0|40|240|160" thumbs_opened="false" thumbs_text="false" thumbs_dragging="true" thumbs_onhoverscrolling="false" thumbs_scrollbuttons="false" thumbs_scrollindicator="false" thumbs_loop="false" tooltips_buttons="false" tooltips_thumbs="false" tooltips_hotspots="false" tooltips_mapspots="false" deeplinking="false" loadscene_flags="MERGE" loadscene_blend="OPENBLEND(0.5, 0.0, 0.75, 0.05, linear)" loadscene_blend_prev="SLIDEBLEND(0.5, 180, 0.75, linear)" loadscene_blend_next="SLIDEBLEND(0.5, 0, 0.75, linear)" loadingtext="loading..." layout_width="100%" layout_maxwidth="814" controlbar_width="-24" controlbar_height="40" controlbar_offset="20" controlbar_offset_closed="-40" controlbar_overlap.no-fractionalscaling="10" controlbar_overlap.fractionalscaling="0" design_skin_images="vtourskin.png" design_bgcolor="0x2D3E50" design_bgalpha="0.8" design_bgborder="0" design_bgroundedge="1" design_bgshadow="0 4 10 0x000000 0.3" design_thumbborder_bgborder="3 0xFFFFFF 1.0" design_thumbborder_padding="2" design_thumbborder_bgroundedge="0" design_text_css="color:#FFFFFF; font-family:Arial;" design_text_shadow="1" /> <!-- For an alternative skin design either change the <skin_settings> values from above or optionally include one of the predefined designs from below. --> <!-- <include url="skin/vtourskin_design_flat_light.xml" /> --> <!-- <include url="skin/vtourskin_design_glass.xml" /> --> <!-- <include url="skin/vtourskin_design_ultra_light.xml" /> --> <!-- <include url="skin/vtourskin_design_117.xml" /> --> <!-- <include url="skin/vtourskin_design_117round.xml" /> --> <!-- <include url="skin/vtourskin_design_black.xml" /> --> <!-- startup action - load the first scene --> <action name="startup" autorun="onstart"> if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); ); delayedcall(0,loadscene(get(startscene), null, MERGE)); if(startactions !== null, startactions() ); </action> <scene name="videopano" isvideopano="true" thumburl="%CURRENTXML%/video/video-1024x512-poster.jpg" title="全景视频"> <!-- include the videoplayer plugin --> <plugin name="video" url.html5="%SWFPATH%/plugins/videoplayer.js" url.flash="%SWFPATH%/plugins/videoplayer.swf" pausedonstart="true" loop="true" volume="1.0" posterurl.ios="%CURRENTXML%/video/video-1024x512-poster.jpg" videourl.ios="%CURRENTXML%/video/video-1024x512.mp4|%CURRENTXML%/video/video-1024x512.webm|%CURRENTXML%/video/iphone-audio.m4a" posterurl.no-ios="%CURRENTXML%/video/video-1920x960-poster.jpg" videourl.no-ios="%CURRENTXML%/video/video-1920x960.mp4|%CURRENTXML%/video/video-1920x960.webm|%CURRENTXML%/video/iphone-audio.m4a" /> <!-- use the videoplayer plugin as panoramic image source --> <image> <sphere url="plugin:video" /> </image> <!-- set the default view --> <view hlookat="0" vlookat="0" fovtype="DFOV" fov="130" fovmin="75" fovmax="150" distortion="0.0" /> </scene> <scene name="scene_R0010047" title="R0010047" onstart="" havevrimage="true" thumburl="panos/R0010047.tiles/thumb.jpg" lat="" lng="" heading=""> <view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" /> <preview url="panos/R0010047.tiles/preview.jpg" /> <image type="CUBE" multires="true" tilesize="512" if="!webvr.isenabled"> <level tiledimagewidth="1664" tiledimageheight="1664"> <cube url="panos/R0010047.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="768" tiledimageheight="768"> <cube url="panos/R0010047.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" /> </level> </image> <image if="webvr.isenabled"> <cube url="panos/R0010047.tiles/vr/pano_%s.jpg" /> </image> <!-- place your scene hotspots here --> </scene> </krpano>
videoplayer below pr10 demo:http://demo.blue-light.co.jp/panovideo/indexpr8.html
videoplayer pr11 or pr12 demo:http://demo.blue-light.co.jp/panovideo/
-
mwheel-touch-zooming.xml
when mouse ondown also cause onupadd callwith action in asyncloop
Code
Display More<!-- some code for layer dragging --> <action name="image_ondown_dragging"> copy(mstartx, mouse.x); copy(mstarty, mouse.y); copy(lstartx, x); copy(lstarty, y); asyncloop(pressed, calc(x, lstartx + mouse.x - mstartx); calc(y, lstarty + mouse.y - mstarty); , callwith(layer[image],onover); ); </action>
-
new theta V support 360゜spatial audio
QuoteNew VR (virtual reality) compatible spatial audio technology is adopted to this model. Enjoy a completely new, realistic experience with linked video and audio.
krpano will support this in future?
https://www.youtube.com/watch?v=xI51qNqzZSU -
bug report!
scrolltocenter action just like settocenter,you can see that in corfu vtourskin
-
Example 1 - Textfield Line/Word Breaking (XML)
This example tests the line/word-breaking algorithm of the WebGL textfields - the left text is a CSS3D element and will be rendered by the browser itself and the right one is a WebGL texture where each word was calculated and drawn by krpano. The texts should always look the same. Additionally the WebGL textfield is using oversampling and mipmapping to improve the visual quality, e.g. look the texts at different zooms and different angles.If the text is Chinese, then the webgl textfield hotspot will be a problem. Chinese is wrapped in a single character,This means that as long as there is a character to the right side, it should be wrapped。
-
pr11 bug report
Code
Display More<hotspot name="mytext" type="text" ath="0" atv="0" edge="center" distorted="true" renderer="webgl" html="Text.." css="font-family:Arial; font-size:16px; color:#000000;" vcenter="true" padding="2" wordwrap="true" bg="true" bgcolor="0xFFFFFF" bgalpha="1.0" bgborder="0" bgroundedge="0" bgshadow="" txtshadow="" mergedalpha="true" oversampling="1.0" mipmapping="false" onautosized="" />
set vcenter true
can not Automatic plugin sizing ,that make very huge width number!
-
-
-
Hmm... as written for the WebGL textfield everything needs to be processed (coded) manually. So to be able to support that, I would need to implement a special word-breaking for Chinese (or other languages), but I have no language knowledge about that and a language specific processing would be a bit out of scale...
I could only image maybe adding a feature for a 'character-wise' breaking (like the css 'word-break:break-all' setting), that means allow breaking after each character (although that might be slow to process because every character need to measured separately), but then I still don't know if that would be okay for the particular language...
mainly chineses would had that problem