同步操作将从 tengge1/ShadowEditor 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
English / 中文
Windows
、Linux
和Mac
;支持桌面版和Web版。3ds
, 3mf
, amf
, assimp
(anim), awd
, babylon
, binary
, bvh
(anim), collada
, ctm
, draco
, fbx
(anim), gcode
, gltf
(gltf
和glb
, anim), js
(anim), kmz
, lmesh
(anim), md2
, mmd
(pmd
和pmx
, anim), nrrd
, obj
, pcd
, pdb
, ply
, prwm
, sea3d
(anim), stl
, vrm
, vrml
, vtk
, X
. (anim)表示支持动画。javascript
、着色器程序
和json
,具有智能提示。gltf
、obj
、ply
、stl
、Collada
、DRACO
模型。iframe
中。English
、中文
、繁體中文
、日本語
、한국어
、русский
、Le français
。下面的软件仅在从源码编译时才需要。
tdm-gcc
、MinGW-w64
或MinGW
。请保证gcc
可以通过命令行访问)注意 版本号仅供参考。
你可以使用git下载源码。
git clone https://github.com/tengge1/ShadowEditor.git
在国内,由于github
比较慢,可以使用gitee。
git clone https://gitee.com/tengge1/ShadowEditor.git
make proxy
设置go语言和nodejs代理。make
构建服务端和Web端。build/config.toml
,修改数据库host和port设置。make run
启动服务端。现在你可以访问:http://localhost:2020
。scripts
文件夹中的set_proxy.bat
。scripts
文件夹中的build.bat
。build
文件夹中的config.toml
,修改数据库host和port配置。build
文件夹中的ShadowEditor.exe
。现在你可以访问:http://localhost:2020
。./scripts/service_linux/shadoweditor.service
,设置正确的路径。make service
安装shadoweditor
服务。sudo systemctl start shadoweditor
启动服务。sudo systemctl enable shadoweditor
设置开机自启动。scripts/service_win
文件夹中的install.bat
。scripts/service_win
文件夹中的service.reg
,设置AppDirectory
为build
文件夹的绝对路径。scripts/service_win
文件夹中的service.reg
。Windows服务管理器
,启动ShadowEditor
服务。需要把模型贴图等资源压缩成一个zip包,而且入口文件不能嵌套文件夹。服务端会解压上传的zip包到./build/public/Upload/Model
文件夹,并在MongoDB _Mesh
表里添加一条记录。
基本几何体都支持多层嵌套。可以添加一个组
(在几何体菜单中),然后在场景树状图上,将多个模型拖动到组
上。
编辑config.toml
文件,将authority.enabled
设置为true
。默认管理员用户名是admin
,密码是123456
。
asm.js 已被禁用,因为脚本调试程序已连接。请断开调试程序的连接,以启用 asm.js。
的错误。完整错误:asm.js 已被禁用,因为脚本调试程序已连接。请断开调试程序的连接,以启用 asm.js。 ammo.js (1,1) SCRIPT1028: SCRIPT1028: Expected identifier, string or number ShadowEditor.js (3948,8) SCRIPT5009: 'Shadow' is not defined。
解决方法:腾讯浏览器不支持使用Emscripten
编译的ammo.js
(WebAssembly),建议换成谷歌浏览器或火狐浏览器。
数据结构和客户端都没变,只需要把文件夹./ShadowEditor.Web/Upload/
复制到build/public/Upload/
即可。
感谢以下开源项目。
https://github.com/golang/go
https://github.com/BurntSushi/toml
https://github.com/dgrijalva/jwt-go
https://github.com/dimfeld/httptreemux
https://github.com/inconshreveable/mousetrap
https://github.com/json-iterator/go
https://github.com/mozillazg/go-pinyin
https://github.com/otiai10/copy
https://github.com/sirupsen/logrus
https://github.com/spf13/cobra
https://github.com/spf13/viper
https://github.com/urfave/negroni
https://go.mongodb.org/mongo-driver
https://github.com/facebook/react
https://github.com/mrdoob/three.js
https://github.com/rollup/rollup
https://github.com/babel/babel
https://github.com/eslint/eslint
https://github.com/rollup/rollup-plugin-babel
https://github.com/rollup/rollup-plugin-commonjs
https://github.com/rollup/rollup-plugin-json
https://github.com/rollup/rollup-plugin-node-resolve
https://github.com/egoist/rollup-plugin-postcss
https://github.com/rollup/rollup-plugin-replace
https://github.com/tweenjs/tween.js
https://github.com/JedWatson/classnames
https://github.com/d3/d3-dispatch
https://github.com/i18next/i18next
https://github.com/js-cookie/js-cookie
https://github.com/facebook/prop-types
https://github.com/codemirror/CodeMirror
https://github.com/jquery/esprima
https://github.com/tschw/glslprep.js
https://github.com/zaach/jsonlint
https://github.com/acornjs/acorn
https://github.com/kripken/ammo.js
https://github.com/dataarts/dat.gui
https://github.com/toji/gl-matrix
https://github.com/squarefeet/ShaderParticleEngine
https://github.com/mrdoob/stats.js
https://github.com/mrdoob/texgen.js
https://github.com/yomotsu/VolumetricFire
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。