Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<image type="CYLINDER" hfov="1.00" multires="true" tilesize="512" progressive="true" frames="24" frame="1">
<level tiledimagewidth="1233" tiledimageheight="4928">
<cylinder url="image_1.tiles/%0f/l6/%0v_%0h.jpg" />
</level>
<level tiledimagewidth="617" tiledimageheight="2464">
<cylinder url="image_1.tiles/%0f/l5/%0v_%0h.jpg" />
</level>
<level tiledimagewidth="309" tiledimageheight="1232">
<cylinder url="image_1.tiles/%0f/l4/%0v_%0h.jpg" />
</level>
<level tiledimagewidth="155" tiledimageheight="616">
<cylinder url="image_1.tiles/%0f/l3/%0v_%0h.jpg" />
</level>
<level tiledimagewidth="78" tiledimageheight="308">
<cylinder url="image_1.tiles/%0f/l2/%0v_%0h.jpg" />
</level>
<level tiledimagewidth="39" tiledimageheight="154" aspreview="true">
<cylinder url="image_1.tiles/%0f/l1/%0v_%0h.jpg" />
</level>
</image>
|
|
|
Source code |
1 2 3 4 5 6 7 |
<image type="CYLINDER" hfov="1.00" frames="24" frame="1"> <cylinder url="image_1.jpg" /> <cylinder url="image_2.jpg" /> <cylinder url="image_3.jpg" /> .... <cylinder url="image_24.jpg" /> </image> |
|
|
Source code |
1 2 3 4 5 |
<image type="CYLINDER" hfov="1.00" frames="24" frame="1" multires="true" tilesize="4000">
<level tiledimagewidth="XXX" tiledimageheight="XXX">
<cylinder url="image_%f.jpg" />
</level>
</image>
|
frames and hotspots are independent of each other,
Quoted
"how to attach a hotspot to the first frame of vr-object?".
|
|
Source code |
1 2 3 4 5 |
<action name="update_hotspots"> if(image.frame == 1, set(hotspot[...].visible,true), set(hotspot[...].visible,false)); if(image.frame == 2, ...); ... </action> |
maybe have a look at the xml files from the Aircraft examples here:
http://krpano.com/examples/objects/
|
|
Source code |
1 |
onclick="looktohotspot(get(name)); loadpano(home3d.xml, null, MERGE, BLEND(1));"/> |
the events that control the object movement and disable the default movements must be set back to default,Now, the question is how to make spot to be led to the 3D tour?
not the properties of a spot,which properties of the spot should i change and where do i find them
|
|
Source code |
1 2 3 4 5 6 7 |
set(control.mousetype, moveto); set(control.zoomtocursor, false); set(control.mousespeed,10); set(events.onmousedown, null); set(events.onmouseup, null); set(events.onidle, null); set(events.onviewchange, null); |
sorry, I'm not sure if I understand how you mean that, but if you want open a pano or an object as layer 'over' the other pano or object, then this is not possible,Whether and can pano open in the appendix as the Plug-in over all appendix? Whether it will work with the XML a file, instead of a file of the main appendix.
|
|
Source code |
1 |
inc(image.frame,1,get(image.frames),1); |