cesium-threejs-experiment
cesium-threejs-experiment copied to clipboard
A small example for using Three JS on Cesium to emulate a combined scene.
I couldn't figure out how to include `OBJLoader` and `MTLLoader` without modifications, so there is some stuff added to those files to work with RequireJS.
while i use the new version of three.js such as : ` import * as THREE from 'https://cdn.skypack.dev/three' ` then can not add anything of three.js object in the canvas
The function lookAt() in the Object3D in revision 88 and above of three.js has been changed, so there caught a problem that mesh can't be seen. then I modified: "centerHigh...
when i do as the readme shows, i got errors...as the title
This sample code refers to cesium-threejs-experiment,but the geometry disappeared when the camera changed. class ThreeJSPrimitive { constructor(options) { this.geometry = null; this.combineGeometry([options.geometryInstance]); var geometry = new THREE.BufferGeometry(); geometry.addAttribute('position2DHigh', new THREE.BufferAttribute(this.geometry.attributes.position2DHigh.values,...