HomefieldOfView | SPi-V dev

Navigation

user

Flat scene with panoelement

when i create a flat scene panoelements became very big allways

  <scene id="harita">
  <meta>
  <cameralimits fovmin="6" fovmax="1" panmin="-4" panmax="4" tiltmin="-2.9" tiltmax="2.9"/>
  </meta>
  <panoelement id="haritas" type="flat">
  <image><layer class="base" type="bitmap" src="#haritaana" /></image>
  </panoelement>

  <panoelement  id="nokta1" antialias="true">
  <image id="dot2" width="12" height="12">
  <layer class="base" type="matte"  color="202020" alphatype="bitmap" alphasrc="#dot-open"/>
  </image>
  <behavior><action event="release" type="setView" scene="pano001" pan="0" tilt="0"/></behavior>
  </panoelement>

  </scene>

is this a bug or something like this, or is it about cameralimits code?

I can not upload anything because of my internet connection, so i just can take a screenshot from project. here it is:
http://farm3.static.flickr.com/2156/2759330375_22866feffb.jpg?v=0

Re: Flat scene with panoelement

when I use uielement, it is fixed the problem. but it is making the dot image dynamic.
so i can't use both of them :(

Re: Flat scene with panoelement

If you don't specify a hfov for the panoelements, SPi-V will assume a hfov of 8 (if I recall correctly) for both elements. Play around with adding eg hfov="1" to the panoelement.

Or use uielements for both your images.