ramazanalic / kml-samples

Automatically exported from code.google.com/p/kml-samples
0 stars 0 forks source link

Camera Node FOV controls #213

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Applies to all Google Earth

This enhancement allows for the definition of Field of View (FOV) frustum
controls for Google Earth's Camera.

There are no workarounds. Google Earth currently offers control of FOV, but
only when matching an existing camera's frustum in a PhotoOverlay node.

We (3dnature.com) propose that the ViewVolume syntax from PhotoOverlay
could be adopted without alteration:
  <ViewVolume>
    <leftFov>0</leftFov>                <!-- kml:angle180 -->
    <rightFov>0</rightFov>              <!-- kml:angle180 -->
    <bottomFov>0</bottomFov>            <!-- kml:angle90 -->
    <topFov>0</topFov>                  <!-- kml:angle90 -->
    <near>0</near>                      <!-- double -->
  </ViewVolume>

Even if these values aren't currently used by GE, adding them to the KML
spec and instructing GE to tolerate or ignore them would allow them to be
gradually deployed so that when GE does finally adopt them, there is
already usable data out there employing them.

Original issue reported on code.google.com by xenonofa...@gmail.com on 9 Dec 2008 at 6:14

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 11 Dec 2008 at 11:34

GoogleCodeExporter commented 8 years ago
The main issue here is an ability to control a distance to the near plane of 
the 
viewing frustum. Seems they have it default to 100 meters, which is too large 
for great 
number of first-camera applications.

Original comment by Alexande...@gmail.com on 18 Feb 2010 at 5:49