You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: