there is a unit vector p (x _ 1)
to find the vector Q (x _ 1 ~ y _ 1 ~ Z1)
p and Q are perpendicular to each other, and the cross product of p and Q is perpendicular to the Y axis.
how to find Q?
there is a unit vector p (x _ 1)
to find the vector Q (x _ 1 ~ y _ 1 ~ Z1)
p and Q are perpendicular to each other, and the cross product of p and Q is perpendicular to the Y axis.
how to find Q?
Previous: Linux can't compile libevent, keeps reporting errors, but I have openssl installed
Next: A problem of onload and onresize in Chrome's BOM event
I want to make a model with 3dmax and load using ThreeJS . Given the mapping rules, the map image resource is later loaded image or canvas, can replace the map and re-render with one click. because the model is not a simple square or other regular g...
ask the gods how to achieve this kind of effect ...
as the title, I load 3D models to the page through webGL, but the location, size, angle and so on of some models are not very suitable. I want to do a script for automatic normalization and standardization of 3D models at the front end. My current think...
threejs needs to call too many js when building a scene, how to load it on demand? tried requirejs, but didn t feel quite in demand. for example, to build a material, you need to import about 10 + js, but this material is not used initially (such a...
the code to load the gltf file is as follows: function loadGLTF(path, fileName) { var loader = new THREE.GLTFLoader(); loader.load(`${path}${fileName}.gltf`, function (gltf) { let object = gltf.scene; object.scale.set...
I want to embed the demo of threejs into a div, and then change the size of the renderer to put it in my other pages. It turns out that after the size of the renderer has changed, the ray pickup seems to have gone wrong. was originally renderer.setSiz...
The code is as follows. After introducing the model using ColladaLoader, I don t know how to use Geometry or how to get the size of the model. var loader = new THREE.ColladaLoader(); var mesh; loader.load("dae LuckyStrike luckystrike.dae", f...
recently learned three.js , made a demo, page runs normally , but the browser s console will have warning and three.js itself introduced to print logs, how to turn off three.js log printing without affecting other log output? ...