|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 |
<krpano version="1.0.8" onstart="showlog();"> <preview type="grid(cube, 20, 20, 200, 0xCCCCCC, 0xFFFFFF, 0x000000)" details="12" /> <events onviewchange="txtadd(msg,get(control.headswing),' - ',get(control.mousetype),' - ', get(view.camroll)); trace(msg);" /> <control mousetype="moveto" headswing="5.00" /> </krpano> |
Comme ça?
Quoted
mais je veux que le bloc tourne et cela ne marche qu'avec le drg3d
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
<krpano version="1.0.8" onstart="showlog();">
<preview type="grid(cube, 20, 20, 200, 0xCCCCCC, 0xFFFFFF, 0x000000)" details="12" />
<events onviewchange="tangage();" />
<control mousetype="moveto"
headswing="5.00"
/>
<plugin name="truc" url="%SWFPATH%/plugins/textfield.swf"
width="150" height="150" align="center"
css="p{color:#000000; font-family:Arial; font-weight:bold; font-size:20; margin-left:5; margin-right:5; text-align:center; }"
backgroundcolor="0xAAFFAA" roundedge="5" shadow="1" borderwidth="0" glow="4" glowcolor="0xFFFFFF"
html="[br][br][p]Salut Job[/p]"
/>
<action name="tangage">
txtadd(msg,get(control.headswing),' - ',get(control.mousetype),' - ', get(view.camroll));
trace(msg);
copy(plugin[truc].rotate,view.camroll);
trace(plugin[truc].rotate);
</action>
</krpano>
|
.. le textfield tangue au ritme de la valeur camroll...
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

: https://pame.virtualtuur.comLocation: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comLocation: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
yes!
: https://pame.virtualtuur.comLocation: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.com