Adding a room/panorama to the virtual tour
panorama
Each scene in the tour is added by adding and opening statement of: <panorama> and closing statement for it: </panorama>.
All the functions within these statements relate to the room/panoramic scene. It is good practice to clearly mark your xml file to let you know where each room/panoramic scene starts and ends.
This code below represents all tags you will need to create a full virtual tour.
<!-- ************* Room 1 ************* -->
<panorama>
<frameId>livingroom</frameId>
<roomTitle>Living Room</roomTitle>
<frameComment>Nothing</frameComment> <imageThumbnail>Thumbnails/livingroom.png</imageThumbnail>
<imageThumbnailtxt>Living Room</imageThumbnailtxt>
<imageThumbnailAltTag>Living Room</imageThumbnailAltTag>
<roomOverview><html><body>This is the text for the scene overview</body></html></roomOverview>
<roomOverviewHeight>180</roomOverviewHeight>
<mapRoom_btn_PosX>606</mapRoom_btn_PosX>
<mapRoom_btn_PosY>260</mapRoom_btn_PosY>
<mapRoomAltTag>Living room</mapRoomAltTag>
<roomRadarStartAngle>1</roomRadarStartAngle>
<startX>-2</startX>
<startY>0</startY>
<startAuto>0.5</startAuto>
<startDelay>10000</startDelay>
<zoomMin>2.8</zoomMin>
<zoomMax>6</zoomMax>
<zoomStart>2.8</zoomStart>
<zoomSteps>0.1</zoomSteps>
<stepsKeyboard>1</stepsKeyboard>
<stepsMouse>50</stepsMouse>
<cubic>
<front>panoparams/livingroom/front.jpg</front>
<right>panoparams/livingroom/right.jpg</right>
<back>panoparams/livingroom/back.jpg</back>
<left>panoparams/livingroom/left.jpg</left>
<bottom>panoparams/livingroom/bottom.jpg</bottom>
<top>panoparams/livingroom/top.jpg</top>
</cubic>
</panorama>
frameId
<frameId>livingroom</frameId>
This is the id of the panorama.
roomTitle
<roomTitle>The Living Room</roomTitle>
This is the name of the room/panoramic scene and will appear under the movie window to let the user know the name of the room they are in.
frameComment
<frameComment>Nothing</frameComment>
Darrell what's this?
cubic
<cubic>
<front>panoparams/livingroom/front.jpg</front>
<right>panoparams/livingroom/right.jpg</right>
<back>panoparams/livingroom/back.jpg</back>
<left>panoparams/livingroom/left.jpg</left>
<bottom>panoparams/livingroom/bottom.jpg</bottom>
<top>panoparams/livingroom/top.jpg</top>
</cubic>
This tag controls where the panorama is loaded from. Each panorama is made up from 6 cubes faces.











