terrain tesselation?

67 views
Skip to first unread message

coops

unread,
Sep 13, 2012, 8:54:10 PM9/13/12
to webgl...@googlegroups.com
Hi,

I'm investigating the capabilities of webglearth.  Is there a way to improve the tesselation for terrain?  The terrain video (http://vimeo.com/29605292) seems to be giving better results than I get.

In earth.js when I enable terrain (we.scene.TERRAIN = true) and change to wire output (uncommenting the gl.LINES call) I notice the tesselation is quite coarse.  I tried changing values in the this.segPlanes_ set up by setting subdiv values to 16 instead of 8.  This did make the tesselation finer but I start getting a lot of artefacts if e.g. I set it to 32.  There's also a lot of unnecessary tesselation off in the distance.  I also looked at TERRAIN_ZOOM_DIFFERENCE but this seems relating to textures where my problem appears to be the limited tesselation.

Thanks,
Chris

Reply all
Reply to author
Forward
0 new messages