Browse Source

Update default surfaces (add video and fbo sources to surfaces)

master
Krisjanis Rijnieks 11 years ago
parent
commit
9388a5c757
  1. 152
      example/bin/data/defaultSurfaces.xml

152
example/bin/data/defaultSurfaces.xml

@ -2,137 +2,179 @@
<surface>
<vertices>
<vertex>
<x>250.000000000</x>
<y>34.000000000</y>
<x>26.396118164</x>
<y>223.170288086</y>
</vertex>
<vertex>
<x>374.000000000</x>
<y>201.000000000</y>
<x>241.000000000</x>
<y>118.000000000</y>
</vertex>
<vertex>
<x>535.000000000</x>
<y>35.000000000</y>
<x>213.630920410</x>
<y>352.926849365</y>
</vertex>
</vertices>
<texCoords>
<texCoord>
<x>0.101999998</x>
<y>0.335999995</y>
<x>0.251666665</x>
<y>0.090000004</y>
</texCoord>
<texCoord>
<x>0.328000009</x>
<y>0.689999998</y>
<x>0.449999988</x>
<y>0.696666658</y>
</texCoord>
<texCoord>
<x>0.705999970</x>
<y>0.393999994</y>
<x>0.870000005</x>
<y>0.173333332</y>
</texCoord>
</texCoords>
<source>
<source-type>image</source-type>
<source-name>image1.jpg</source-name>
<source-name>image5.jpg</source-name>
</source>
</surface>
<surface>
<vertices>
<vertex>
<x>24.396121979</x>
<y>259.170288086</y>
<x>84.709846497</x>
<y>462.636596680</y>
</vertex>
<vertex>
<x>250.000000000</x>
<y>34.000000000</y>
<x>293.630920410</x>
<y>228.926849365</y>
</vertex>
<vertex>
<x>214.630920410</x>
<y>282.926849365</y>
<x>33.396121979</x>
<y>271.170288086</y>
</vertex>
</vertices>
<texCoords>
<texCoord>
<x>0.251666665</x>
<y>0.090000004</y>
<x>0.981523871</x>
<y>0.471785098</y>
</texCoord>
<texCoord>
<x>0.449999988</x>
<y>0.696666658</y>
<x>0.245601788</x>
<y>0.110941604</y>
</texCoord>
<texCoord>
<x>0.870000005</x>
<y>0.173333332</y>
<x>0.662217021</x>
<y>0.714698017</y>
</texCoord>
</texCoords>
<source>
<source-type>image</source-type>
<source-name>image5.jpg</source-name>
<source-type>fbo</source-type>
<source-name>Custom FBO Source</source-name>
</source>
</surface>
<surface>
<vertices>
<vertex>
<x>75.709846497</x>
<y>450.636596680</y>
<x>510.148498535</x>
<y>97.815002441</y>
</vertex>
<vertex>
<x>214.630920410</x>
<y>282.926849365</y>
<x>372.000000000</x>
<y>434.000000000</y>
</vertex>
<vertex>
<x>24.396121979</x>
<y>259.170288086</y>
<x>159.000000000</x>
<y>158.000000000</y>
</vertex>
</vertices>
<texCoords>
<texCoord>
<x>0.981523871</x>
<y>0.471785098</y>
<x>0.331067860</x>
<y>0.732035518</y>
</texCoord>
<texCoord>
<x>0.245601788</x>
<y>0.110941604</y>
<x>0.782209992</x>
<y>0.181442097</y>
</texCoord>
<texCoord>
<x>0.662217021</x>
<y>0.714698017</y>
<x>0.877761841</x>
<y>0.894570410</y>
</texCoord>
</texCoords>
<source>
<source-type>image</source-type>
<source-name>image4.jpg</source-name>
<source-type>video</source-type>
<source-name>test.mov</source-name>
</source>
</surface>
<surface>
<vertices>
<vertex>
<x>527.148498535</x>
<y>277.815002441</y>
<x>152.000000000</x>
<y>343.000000000</y>
</vertex>
<vertex>
<x>377.000000000</x>
<y>246.000000000</y>
</vertex>
<vertex>
<x>320.170959473</x>
<y>461.102355957</y>
<x>538.000000000</x>
<y>490.000000000</y>
</vertex>
<vertex>
<x>285.250427246</x>
<y>209.424682617</y>
<x>160.000000000</x>
<y>551.000000000</y>
</vertex>
</vertices>
<texCoords>
<texCoord>
<x>0.031067841</x>
<y>0.511202157</y>
<x>0.172656253</x>
<y>0.134333342</y>
</texCoord>
<texCoord>
<x>0.450178742</x>
<y>0.116164304</y>
<x>0.480374992</x>
<y>0.134333342</y>
</texCoord>
<texCoord>
<x>0.543386877</x>
<y>0.609848201</y>
<x>0.480374992</x>
<y>0.570833325</y>
</texCoord>
<texCoord>
<x>0.172656253</x>
<y>0.570833325</y>
</texCoord>
</texCoords>
<source>
<source-type>image</source-type>
<source-name>none</source-name>
<source-type>video</source-type>
<source-name>test.mov</source-name>
</source>
</surface>
<surface>
<vertices>
<vertex>
<x>509.000000000</x>
<y>50.000000000</y>
</vertex>
<vertex>
<x>629.000000000</x>
<y>383.000000000</y>
</vertex>
<vertex>
<x>276.000000000</x>
<y>358.000000000</y>
</vertex>
</vertices>
<texCoords>
<texCoord>
<x>0.500000000</x>
<y>0.000000000</y>
</texCoord>
<texCoord>
<x>1.000000000</x>
<y>1.000000000</y>
</texCoord>
<texCoord>
<x>0.000000000</x>
<y>1.000000000</y>
</texCoord>
</texCoords>
<source>
<source-type>fbo</source-type>
<source-name>Custom FBO Source</source-name>
</source>
</surface>
</surfaces>

Loading…
Cancel
Save