GeoserverTerrainProvider problem

Hi,
Yesterday, I’ve just solved image pyramid problem in geoserver
Now, I have another one
I’ve tried to follow this tutorial https://github.com/kaktus40/Cesium-GeoserverTerrainProvider
In order to display my own srtm data (inside geoserver) with cesium
But unfortunately I can’t display it through my web browser

Here is my full code :

@import url(Cesium/Widgets/widgets.css);
  #cesiumContainer {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      margin: 0;
      overflow: hidden;
      padding: 0;
      font-family: sans-serif;
  }

  body {
      padding: 0;
      margin: 0;
      overflow: hidden;
  }

Is there anything wrong?

Thank You

Hello, I think there is 2 problems:
- first you should define an Imagery Layer to "dress" Earth
- Maybe you've got a CORS issue with your application server (http://en.wikipedia.org/wiki/Cross-origin_resource_sharing and http://enable-cors.org/ ) . To resolve this issue, you need a web server to host your html file.

“Dress” Earth? I don’t get it (after several hours googling and I haven’t found it, LOL XD)

For CORS issue, that was clear, I’ve used internal proxy for my own server

The
problem is since I’ve tried cesium for the first time until now, I’ve got a
couple of ambiguity between the DOM parse and the javascript itself

This terrain provider cannot call the srtm data from geoserver, and I don’t have any idea how it could be

I wrote :

var canvas = document.getElementById(’

for DOM method

I’ve changed it from the original one :

var canvas = document.getElementById(’@conteneurCesium’);

So where is the conteneurCesium parse id was embed?

cesiumContainer’);

another
example, I’ve tried to make SceneModePicker, but I don’t know how to parse the “Scene Intense” inside my code to be generated with SceneModePicker, and where can I find the “Intense” of the scene example?

I want to learn about cesium a lot, although I’m still newbie on javascript…

Thanks anyway

My bad, in my sample code I forgot @conteneurCesium. You wrote the good version.
My example in geoserverTerrainProvider was created from scratch for personal reasons. Maybe it will be easier for you to use a widget or a viewer (http://cesiumjs.org/Cesium/Build/Documentation/Viewer.html)

Yeah, maybe I need to see it directly from one example of geoserver terrain provider, would make it easier for me to learn from that
Hope someone here can show me such kind of example like that

I’ve tried the viewer but the scene mode picker still not displaying, I’ll catch it up to solve this later, after I’ve done with this terrain provider problem

Ok,

it seems that your imageryprovider (`OpenStreetMapImageryProvider``, bing, webmap, google…) was not configured or cannot reach the imagery source. Maybe a CORS issue? I saw that you use firefox. Can you see in firebug windows if imagery datas can be reached?

`