Specification of camera perspectives in a room file

The following code demonstrates how to specify different camera perspectives in a room file.


01 <?xml version="1.0" encoding="ISO-8859-1"?>
02 
03 <room scriptid="room1" scriptfile="room1.bsh">
04   <camera>
05     <perspective id="0" fov="45.0">
06       <position x="7.19" y="9.91" z="45.95"/>
07       <rotation x="10.9" y="0.0"/>
08       <clipping near="0.1" far="2000.0"/>
09     </perspective>
10     <perspective id="1" fov="45.0">
11       <position x="12.25" y="7.96" z="25.51"/>
12       <rotation x="10.9" y="-103.1"/>
13       <clipping near="0.1" far="2000.0"/>
14     </perspective>
15     <perspective id="2" fov="45.0">
16       <position x="-6.16" y="0.62" z="10.4"/>
17       <rotation x="45.3" y="-206.3"/>
18       <clipping near="0.1" far="2000.0"/>
19     </perspective>
20   </camera>
21 </room>
Java2html