Hallo Horst, sorry wenn ich deine Nerven gerade etwas stapaziert. Danke schon mal für deine Hilfe.
So sieht das File aus dem Editor herraus aus:
$this->cacheCode('[php]','<krpano version="1.17.4">
<!-- the skin -->
<include url="skin/defaultskin.xml" />
<!-- view settings -->
<view hlookat="0" vlookat="0" maxpixelzoom="1.0" fovmax="150" limitview="auto" />
<preview url="bea-ohr_fertig.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="9550" tiledimageheight="9550">
<cube url="bea-ohr_fertig.tiles/mres_%s/l5/%v/l5_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="4776" tiledimageheight="4776">
<cube url="bea-ohr_fertig.tiles/mres_%s/l4/%v/l4_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="2388" tiledimageheight="2388">
<cube url="bea-ohr_fertig.tiles/mres_%s/l3/%v/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1194" tiledimageheight="1194">
<cube url="bea-ohr_fertig.tiles/mres_%s/l2/%v/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="598" tiledimageheight="598">
<cube url="bea-ohr_fertig.tiles/mres_%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="bea-ohr_fertig.tiles/mobile_%s.jpg" />
</mobile>
</image>
</krpano>
')
Das hier ist in dem LittlePlanet Beispiel:
$this->cacheCode('[php]','<!--
krpano - little planet intro example
-->
<krpano>
<!-- pano image -->
<preview url="../../panos/p3/preview.jpg" />
<image>
<cube url="../../panos/p3/pano_%s.jpg" />
</image>
<!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->
<view stereographic="true"
fisheye="1.0"
fov="155"
fovtype="VFOV"
fovmax="150"
hlookat="-60"
vlookat="77"
/>
<!-- fisheye and little planets projections are needing more cpu rendering performance,
to reduce the cpu need and get better performance and frame rate, switch to Flash9
rendering while in fisheye/littleplanet/stereographic mode -->
<display flash10="off" details="24" />
<!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view -->
<events onloadcomplete="delayedcall(2.0, normalview());" />
<action name="normalview">
tween(view.hlookat, -40, 2.5, easeInOutQuad);
tween(view.vlookat, -35, 2.5, easeInOutQuad);
tween(view.fov, 85, 2.5, easeInOutQuad);
tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
wait(2.7);
set(display.flash10, on);
showtext('krpano[br]little planet intro example', infostyle)
</action>
<!-- showtext() textstyle -->
<textstyle name="infostyle"
origin="center" edge="center" yoffset="-39" textalign="center" background="false" border="false"
fontsize="40" textcolor="0xFFFFFF" bold="false" effect="glow(0xFFFFFF,0.7,4,2);glow(0x000000,1,4,2);dropshadow(3,45,0x000000,2,0.6);"
showtime="3.0" fadeintime="1.0" fadetime="1.0"
/>
</krpano>
')
Habe das jetzt als xml File:
$this->cacheCode('[php]','<!--
krpano - little planet intro example
-->
<krpano>
<!-- pano image -->
<preview url="bea-ohr_fertig.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="9550" tiledimageheight="9550">
<cube url="bea-ohr_fertig.tiles/mres_%s/l5/%v/l5_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="4776" tiledimageheight="4776">
<cube url="bea-ohr_fertig.tiles/mres_%s/l4/%v/l4_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="2388" tiledimageheight="2388">
<cube url="bea-ohr_fertig.tiles/mres_%s/l3/%v/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1194" tiledimageheight="1194">
<cube url="bea-ohr_fertig.tiles/mres_%s/l2/%v/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="598" tiledimageheight="598">
<cube url="bea-ohr_fertig.tiles/mres_%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="bea-ohr_fertig.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->
<view stereographic="true"
fisheye="1.0"
fov="155"
fovtype="VFOV"
fovmax="150"
hlookat="-60"
vlookat="77"
/>
<!-- fisheye and little planets projections are needing more cpu rendering performance,
to reduce the cpu need and get better performance and frame rate, switch to Flash9
rendering while in fisheye/littleplanet/stereographic mode -->
<display flash10="off" details="24" />
<!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view -->
<events onloadcomplete="delayedcall(2.0, normalview());" />
<action name="normalview">
tween(view.hlookat, -40, 2.5, easeInOutQuad);
tween(view.vlookat, -35, 2.5, easeInOutQuad);
tween(view.fov, 85, 2.5, easeInOutQuad);
tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
wait(2.7);
set(display.flash10, on);
showtext('krpano[br]little planet intro example', infostyle)
</action>
<!-- showtext() textstyle -->
<textstyle name="infostyle"
origin="center" edge="center" yoffset="-39" textalign="center" background="false" border="false"
fontsize="40" textcolor="0xFFFFFF" bold="false" effect="glow(0xFFFFFF,0.7,4,2);glow(0x000000,1,4,2);dropshadow(3,45,0x000000,2,0.6);"
showtime="3.0" fadeintime="1.0" fadetime="1.0"
/>
</krpano>
')
Aber der Bildschirm bleibt schwarz... :-(
Irgendwie hab ich nen Konten im kopf...