3 Star 0 Fork 0

mirrors_Glavin001 / serverless-3d-rendering

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Getting Started

Read the article Serverless 3D WebGL rendering with ThreeJS.

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

View a 3D model in browser

First, you'll need a .glTF (or .GLB) formatted 3D model to render. Here's one you can use.

https://serverless-3d-rendering.vercel.app?model={URL}

Example:

https://serverless-3d-rendering.vercel.app?model=/DamagedHelmet.glb

Render a 2D image of a 3D model

https://serverless-3d-rendering.vercel.app/api/render?model={URL}

Example:

https://serverless-3d-rendering.vercel.app/api/render?model=https://serverless-3d-rendering.vercel.app/DamagedHelmet.glb

This image below was rendered serverlessly when this page was loaded through the API listed above: Server side rendered image

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/mirrors_Glavin001/serverless-3d-rendering.git
git@gitee.com:mirrors_Glavin001/serverless-3d-rendering.git
mirrors_Glavin001
serverless-3d-rendering
serverless-3d-rendering
main

搜索帮助