-
Notifications
You must be signed in to change notification settings - Fork 185
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
how to get contours terrain and wireframe terrain? #18
Comments
I found a solution here: https://observablehq.com/@j-devel/hello-3d-geographic-contours |
I got satellite and contours terrains from For satellite terrain:
For contours terrain:
How do I get the same size of terrain boxes? Thanks a lot. |
It seems you need to crop each terrain model horizontally along the white reference boxes so they have "the same" sizes. But, currently, we don't have this functionality in three-geo (#8 (comment)). Edit: more precisely, we already have this cropping feature for vector DEMs (disabled at this moment), but not for rgb DEMs. |
Thanks a lot for your reply @j-devel and see what I can do. |
Follow the example of https://github.com/w3reality/three-geo/tree/master/examples/editor
like:
tgeo.getTerrain(origin, radius, 12, { // onVectorDem: (mesh) => { /* just for debugging ajax */ }, onRgbDem: (meshes) => { ... } , onSatelliteMat: (mesh) => { mesh.material.wireframe = true; mesh.material.side = THREE.DoubleSide; render(); }, });
I can get satellite terrain. How can I get the other two types: contours terrain and wireframe terrain?
The text was updated successfully, but these errors were encountered: