Mische, Thanks! It works!
Posts by Taurus
-
-
Thank you both PanLUX and Mische!
The problem is this is my first time using Blender ...
What is "STRG+J"? Maybe "Ctrl+J"?I'm afraid I'll have to wait for detailed video instructions)
-
Hi, Mischi,
Nowhere could I find an explanation of how a 3-D model is built for multiple panoramas
In the 1st screenshot, I have marked an object that I cannot create,
and, therefore, I cannot perform the required operations
the second screenshot shows my model from two panoramas
Ps
I've never worked with Blender before)Thank you
Serge -
Try to remove that adjusthlookat(0) call to fix the problem.
Klaus, thanks, this completely solved the problem !

-
Klaus, thank you for your great work!
But there is a problem with the smooth panorama drag mode - mouse=follow
When quickly dragging a panorama, after several repetitions, sometimes an unexpected additional accelerated scrolling of the image occurs - http://vhsystem.ru/moscovsky_inter_no/Moreover, in my case, this is observed in panoramas obtained from the equidistant 8000*4000 and absent in panoramas of 20000*10000
-
Jordi, fine!
since the flash died, the ability to automatically copy to the clipboard has disappeared, but this is a very convenient option when creating and debugging a virtual tour
thanks!serge
-
the 'kWS - Android Web Server' works also nicely
Hi, Klaus and colleagues
how can I start the server using the protected protocol - https so that the VR mode is turned on?SOLVED - Pro version))
-
Hi all,
I present to you a plugin for tracing and monitoring the execution of the virtual tour krpano program code
The following features are provided:
1) monitoring the values of any 6 variables
2) tracing variables, reporting events, etc.The plugin was developed "for myself" and significantly helped in the development of complex virtual tours
I present the plugin "as is"
The instruction is inside the archive
Best regards
Serge aka Taurus -
Hi, jeronicoz
I often face a similar problem
in most cases, the occurrence of bugs on the tour is due to my own mistakesI advise you to carefully study your program code and eliminate errors that might not be critical in previous versions of the viewer, but became an obstacle to the normal operation of the tour after the viewer upgrade
you will succeed!
-
Hi, Klaus
Yes, I already understood the problem
see example now
Thank youCode
Display More<krpano> <plugin name="list_cont" type="container" keep="true" align="center" zorder="90" maskchildren="true" width="calc:stagewidth * 0.9" height="calc:stageheight * 0.9" bgcolor="0xffaaaa" bgalpha="0.5" enabled="true" /> <plugin name="p4Scroll" url="0_3100.png" keep="true" parent="list_cont" align="center" scale="0.2" alpha="1" autoalpha="true" zorder="90" enabled="true" capture="true" handcursor="true" ondown="scrollDown()" onup="scrollUP()" onloaded="set(_plan_ratio, calc(plugin[p4Scroll].imagewidth/plugin[p4Scroll].imageheight)); set(screen_ratio, calc(stagewidth/stageheight)); if (_plan_ratio LT screen_ratio, set(plugin[p4Scroll].scale, calc(stageheight * 0.9 / plugin[p4Scroll].imageheight)); , set(plugin[p4Scroll].scale, calc(stagewidth * 0.9 / plugin[%1_%2].imagewidth)); );" /> <action name="scrollDown" > showlog(true);trace(!!!!DOWN);copy(prew_x, mouse.x);scrollDn2(); </action> <action name="scrollDn2" > trace(mouse.x,/,mouse.stagex); if(plugin[p4Scroll].pressed, delayedcall(0.0, scrollDn2());) </action> <action name="scrollUP" > sub(mous_delta, mouse.x, prew_x); if(mous_delta != 0, set(dir_x, calc(mous_delta GT 0 ? -1 : 1 ));trace(!!!!UP_prew_x=,prew_x,/,mouse.x=,mouse.x,/,mous_delta=,mous_delta,/,dir_x=,dir_x); slide_list(get(activeplan), get(dir_x)); , trace(!!!!UP_prew_x=,prew_x,/,mouse.x=,mouse.x,/,mous_delta=,mous_delta,/,dir_x=,dir_x);toggle_plan();); </action> </krpano> -
Hi, Klaus and colleagues
help solve the problem with coordinates on mobile devices android
after pressing the mouse button (touching the screen with a finger), the coordinate values along the x axis appear in the log
on the computer works correctly, on the smartphone - noCode
Display More<plugin name="p4Scroll" url="green.png" keep="true" parent="stage" align="center" width="50%" height="50%" alpha="0.9" autoalpha="true" zorder="100" enabled="true" capture="true" handcursor="true" ondown="scrollDown()" onup="scrollUP()" /> <action name="scrollDown" > showlog(true);trace(!!!!DOWN);copy(prew_x, mouse.x);scrollDn2(); </action> <action name="scrollDn2" > trace(mouse.x,/,mouse.stagex); if(plugin[p4Scroll].pressed, delayedcall(0.0, scrollDn2());) </action> <action name="scrollUP" > sub(mous_delta, mouse.x, prew_x); if(mous_delta != 0, set(dir_x, calc(mous_delta GT 0 ? -1 : 1 ));trace(!!!!UP_prew_x=,prew_x,/,mouse.x=,mouse.x,/,mous_delta=,mous_delta,/,dir_x=,dir_x); slide_list(get(activeplan), get(dir_x)); , trace(!!!!UP_prew_x=,prew_x,/,mouse.x=,mouse.x,/,mous_delta=,mous_delta,/,dir_x=,dir_x);toggle_plan();); </action>Thanks
-
-
Klaus, thanks for the clarification
unfortunately, in the documentation this topic is described very little -
-
Hello colleagues!
Thanks to Klaus for the great work!by applying this code
Code
Display More<include url="%SWFPATH%/plugins/combobox.xml" /> <events name="combo_refresh" keep="true" onloadcomplete="layer[cb1].selectItem(get(scene[get(xml.scene)].name))" /> <action name="create_box"> addComboboxLayer(cb1, vtour); set(layer[cb1].align, 'leftbottom'); set(layer[cb1].keep, true); set(layer[cb1].x, 20); set(layer[cb1].y, 20); layer[cb1].addItem(get(scene[get(xml.scene)].name)); for(set(box_cnt,0), box_cnt LE scene.count, inc(box_cnt), create_box2(get(box_cnt))); </action> <action name="create_box2"> layer[cb1].addItem(get(scene[%1].name), loadscene(get(scene[%1].name)) ); </action>
I found that the combobox on my tour did not work, showing such warningsCodeWARNING: Unknown action: cb.loadstyle WARNING: Unknown action: cb.createarray WARNING: Unknown action: layer[cb1].additem WARNING: Unknown action: layer[get(cbname)].scrollarea.update
By sequentially deleting parts of the program, I defined a module that prevented the operation of the combo box
then I found a conflicting piece of code in this module, it turned out to be an action, counting the coordinates of the hotspot insertion
this action is taken from the example, which is contained both in the original assembly of 1.14 pr15, and in earlier versionsCode
Display More<action name="calc_pos_from_hfov_yaw_pitch_roll"> calc(deg2rad, Math.PI / 180.0); <!-- calc the hotspot size --> calc(hfov, 0.5 * (%1) * deg2rad); Math.tan(hfov); set(width, calc(hfov * 1000)); set(height, 'prop'); <!-- calc the ath, atv and rotate settings --> calc(yaw, -(%2) * deg2rad); calc(pitch, (%3) * deg2rad); calc(roll, -(%4) * deg2rad); Math.cos(ch, yaw); Math.sin(sh, yaw); Math.cos(ca, pitch); Math.sin(sa, pitch); Math.cos(cb, roll); Math.sin(sb, roll); Math.atan2(yaw, calc(cb*sh - sb*sa*ch), calc(ca*ch)); Math.atan2(roll, calc(sb*ch - cb*sa*sh), calc(cb*ca)); Math.asin(pitch, calc(cb*sa*ch + sb*sh)); calc(ath, yaw / deg2rad); calc(atv, pitch / deg2rad); calc(rotate, roll / deg2rad); </action>
in order for the combo box to work fine, I had to change the names of the variables ch, sh, ca, sa, cb, sbdeveloping very complex virtual tours, I try to make sure that there are no conflicts with the old code in the new program modules, and I succeed
However, from time to time there are situations that are shown above
I believe that the documentation for the krpano should have a list of reserved words etc -
-
Hello Klaus!
thank you for your excellent workI want to draw your attention to the following
Code
Display More<action name="act1" > txtadd(txt1, 'aaaa', ',', 'bbbb'); trace(%0,/,txt1); act2(get(txt1)); </action> <action name="act2" > trace(%0,/,%1); </action> INFO: act1/aaaa,bbbb INFO: act2/aaaabbbbThe first action executes the call of the second action with the transfer of one text parameter
Parameter parsing is wrong
Perhaps this is a bug?Thank you
------------------------------------------------------------------------------------------
SOLVED : '%1' -
Dear Aldo, do you plan to make such a plugin for HTML5?
-
-