ebeaufay / ultraglobe Goto Github PK
View Code? Open in Web Editor NEWA globe in threejs with OGC WMS imagery, OGC 3dtiles and elevation
License: GNU General Public License v3.0
A globe in threejs with OGC WMS imagery, OGC 3dtiles and elevation
License: GNU General Public License v3.0
This is a very impressive library Emeric. Thank you for this.
I appreciate that the maths involved here is non trivial and am still struggling to grok PanController._update()
.
When looking down on terrain in a 'plan' view, panning left right in large circular motions adds camera rotation. Is there a way to prevent this?
OGC i3s is wildly used in government agencies, so it's good to support this 3d data source.
I'm trying to follow the tutorial to start up a project, yet it throws error and renders nothing with example code.
code:
<template>
<canvas id='map'></canvas>
</template>
<script setup>
import { Map } from '@jdultra/ultra-globe/dist/ultraglobe.min.js';
import { onMounted } from 'vue';
let map;
onMounted(() => {
map = new Map({ divID: 'map' });
})
</script>
<style scoped>
#map {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
}
</style>
dependencies:
"dependencies": {
"@jdultra/ultra-globe": "^4.2.4",
"vue": "^3.4.21"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.4",
"vite": "^5.1.6"
}
hello,first, it is a great projection!
I3SLayer support "Point" layerType now, can it support other layer type? such as "IntegratedMesh"、“3DObject”...
It's hard for me to research how to render other i3s layer type use threejs.
Look forward to your reply
While running npm run dev
I am getting following error:
TypeError: cli.isMultipleCompiler is not a function
Hi and thanks again for making this library available!
I've been working towards integrating the Google Tiles version in a Typescript + NextJS app, and I've managed to make it work and have it appear on screen the same way as in your example.
However, the scrolling and zooming is way faster than in the examples: it feels as if the controls system doesn't take into account the geometry of the globe and hence they always are at "full speed" as if you are far away from the globe.
Here's a video showing the issue I'm seeing: https://youtu.be/_GUWisGyc6Q
As you can see, when you're far from the globe, the movement is as fast as you'd expect. But zooming is way too fast, and when you manage to zoom in, then panning seems to pan more than you'd expect.
My project can be found here, specifically I am setting up UltraGlobe here and here.
I'll continue investigating, but maybe you know the answer immediately?
Thank you!
Hi, thank you for this amazing project first off.
I'm trying the various examples and both on my Macbook and iPhone I can't rotate the camera, only move it around.
Is that expected?
Thank you again.
I was working on your UltraGlobe
project and was really interested in this. Also, I was working on it to load a specific area base on the latitude and longitude.
I did it like this using GoogleMap3DTileLayer.
map.moveAndLookAt(
{ x: 140.0987606112061, y: 35.625445678544715, z: 300 },
{ x: 140.0987606112061, y: 35.625445678544715, z: 170 }
);
That conversion part works perfectly.
But, It is caused to move my camera to that position instead of loading it to the 0, 0, 0.
I need to load a specific area only, I was trying to load a particular place on 0, 0, 0 as you did for Berlin.
I need to prevent loading more tiles when moving around the world and focus only on my initial loaded area.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.