Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3D Flat Cartesian #31

Open
lordi opened this issue Mar 19, 2013 · 1 comment
Open

3D Flat Cartesian #31

lordi opened this issue Mar 19, 2013 · 1 comment
Assignees

Comments

@lordi
Copy link
Contributor

lordi commented Mar 19, 2013

Hi,

I'm trying to create a scene with OG_SCENE_3D_FLAT_CARTESIAN.
When I run the following minimal code from a demo directory, ogCamera complains about a missing navigation node. Am I missing something or is 3D Flat not supported yet?

Thanks,
Hannes

<!--
      Virtual Globe Demo
-->
<!DOCTYPE html>
<html>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <meta http-equiv="X-UA-Compatible" content="chrome=1">
         <script type="text/javascript" src="../../../external/closure-library/closure/goog/base.js"></script>
         <script type="text/javascript" src="../../../compiled/deps.js"></script>
         <script type="text/javascript">goog.require('owg.OpenWebGlobe');</script>
        <script type="text/javascript" src="externals/jquery-1.5.2.min.js"></script>

  <script type="text/javascript">
         function main()
         {
            ogSetArtworkDirectory("../../../art/");
            var g_context = ogCreateContextFromCanvas("canvas", true);
            var scene = ogCreateScene(g_context, OG_SCENE_3D_FLAT_CARTESIAN);
            var world = ogCreateWorld(scene);

            var imgBlueMarble500 = 
            {
               url     : ["http://www.openwebglobe.org/data/img"],
               layer   : "World500",
               service : "i3d"
            };

            ogAddImageLayer(world, imgBlueMarble500);
         }      
      </script>
    </head>
    <body onload="main()" style="background-color:#000000; overflow:hidden;">
        <canvas id="canvas"></canvas>
    </body>
</html>
@martinchristen
Copy link
Member

OG_SCENE_3D_FLAT_CARTESIAN is not supported yet. At the moment we have other priorities. This will be implemented at a later time.

@ghost ghost assigned martinchristen Mar 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants