上一页 1 2 3 4 5 6 7 ··· 14 下一页
摘要: 来源:http://my.csdn.net/dengfumawebGL开源库Three.JS网站:http://mrdoob.github.io/three.js/GLGE网站:http://www.glge.org/SceneJS网站:http://scenejs.org/CubicVR网站:ht 阅读全文
posted @ 2020-05-08 13:43 灏月天染 阅读(86) 评论(0) 推荐(0) 编辑
摘要: https://www.pano2vr8.com/%E4%BA%86%E8%A7%A3pano2vr/ http://victu360.com/krpano_school https://krpano.com/home/ http://www.krpano360.com/ http://victu3 阅读全文
posted @ 2020-05-06 10:33 灏月天染 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 射线类,用于检测交互 const rayCaster = new Raycaster(); 二维坐标,需要转换成空间坐标 const vector2 = new THREE.Vector2(); e为事件的对象 vector2.x = (e.clientX / window.innerwidth) 阅读全文
posted @ 2020-03-03 23:59 灏月天染 阅读(1597) 评论(0) 推荐(0) 编辑
摘要: 1.使用https://gero3.github.io/facetype.js/ 2.上传字体,会自动转换成json 阅读全文
posted @ 2020-03-01 20:45 灏月天染 阅读(530) 评论(0) 推荐(0) 编辑
摘要: 1.安装ColladaToGltf.exe 2. @echo off cd C:\Users\wangc04\Desktop\daeconverting\ColladaToGltfcollada2gltf-bin.exe -f C:\Users\wangc04\Desktop\daeconverti 阅读全文
posted @ 2020-02-28 17:34 灏月天染 阅读(242) 评论(0) 推荐(0) 编辑
摘要: threejs设置阴影有三个注意点 1.只有支持阴影的灯光才可以 pointLight,spotlight,directionallight 2.添加摄像机辅助器 THREE.CameraHelper 查看阴影摄像机的相关设置 light.shadow.camera.left //此四项值为阴影投射 阅读全文
posted @ 2020-02-28 13:21 灏月天染 阅读(2230) 评论(0) 推荐(0) 编辑
摘要: 1.设计原则为文件夹名字可以依据资源来命名,静态资源统一命名 ps:路径中绝对和相对路径,依据server.js本身的位置而言 const http = require("http"); const url = require("url"); const fs = require("fs"); co 阅读全文
posted @ 2020-02-26 09:27 灏月天染 阅读(440) 评论(0) 推荐(0) 编辑
摘要: em大小依据父元素的字体大小的倍数 rem大小依据与根元素,即html标签的font-size大小 阅读全文
posted @ 2020-02-17 15:03 灏月天染 阅读(118) 评论(0) 推荐(0) 编辑
摘要: reduce为数组中每一个元素执行回调函数,不包括被删除或未被赋值的 https://www.jianshu.com/p/e375ba1cfc47 阅读全文
posted @ 2020-02-11 15:00 灏月天染 阅读(933) 评论(0) 推荐(0) 编辑
摘要: 将多个参数的函数,转换成单参数函数链 以add()()()举例 function add(){ 使用数组保存参数 let _args = Array.prototype.slice.call(arguments); let _adder = function(){ _args.push(...arg 阅读全文
posted @ 2020-02-11 13:42 灏月天染 阅读(219) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 14 下一页