instanced-mesh
Enhanced InstancedMesh with frustum culling, fast raycasting (using a BVH), sorting, visibility, LOD, skinning and more.
파일 탐색기
최종 버전 다운로드 (.zip)- codeql-config.yml
- codeql.yml
- docs.yaml
- eslint.yml
- node.js.yml
- npm-publish.yml
- FUNDING.yml
- android-chrome-192x192.png
- android-chrome-512x512.png
- apple-touch-icon.png
- favicon-16x16.png
- favicon-32x32.png
- favicon.ico
- low_poly_space_ship.glb
- samoyed-mascot-moved.png
- samoyed-mascot.png
- site.webmanifest
- index.html
- stackblitz-package.json
- stackblitz-tsconfig.json
- stackblitz-vite.config.ts
- CodeWrapper.astro
- Example.astro
- OpenInStackblitz.astro
- stackblitz-template.ts
- types.ts
- floor.ts
- Intro.astro
- intro.ts
- random.ts
- smoke.ts
- spaceship.ts
- buffer-capacity.mdx
- lod.mdx
- multimaterial.mdx
- patch-shader.mdx
- shadow-lod.mdx
- skinning.mdx
- texture-partial-update.mdx
- 00-add-remove.mdx
- 01-Instancedentity.mdx
- 02-animation.mdx
- 03-euler.mdx
- 04-tween.mdx
- 05-custom-data.mdx
- 06-frustum-culling.mdx
- 07-sorting.mdx
- 08-raycasting.mdx
- 09-bvh-build.mdx
- 10-uniform-per-instance.mdx
- 00-introduction.mdx
- 01-installation.mdx
- 02-first-instancedmesh2.mdx
- faq.mdx
- know-issue.mdx
- performance-tips.mdx
- index.mdx
- config.ts
- index.ts
- app.ts
- index.ts
- app.ts
- index.ts
- app.ts
- index.ts
- app.ts
- index.ts
- app.ts
- index.ts
- app.ts
- index.ts
- index.ts
- app.ts
- index.ts
- app.ts
- index.ts
- [...slug].astro
- Loader.astro
- env.d.ts
- .gitignore
- astro.config.mjs
- CONTRIBUTE.md
- package-lock.json
- package.json
- tsconfig.build.json
- tsconfig.json
- createSimplifiedGeometry.ts
- random.ts
- tileLambertMaterial.ts
- tileMaterial.ts
- createEntities.ts
- customMaterial.ts
- customMaterialTextureArray.ts
- dynamicBVH.ts
- fastRaycasting.ts
- instancedMeshParse.ts
- LOD.ts
- morph.ts
- multimaterial.ts
- multimaterial_tree.ts
- overrideMaterial.ts
- remove-instance.ts
- remove-instances.ts
- shadowLOD.ts
- shadowLOD_oldbug.ts
- skeleton.ts
- sorting.ts
- template.ts
- test.ts
- trees.ts
- tween.ts
- uniforms.ts
- banner.png
- grass.jpg
- grass_normal.jpg
- js.png
- pattern.jpg
- pine.glb
- pine_low.glb
- planks.jpg
- texture.png
- tree.glb
- tree2.glb
- ts.png
- wall.jpg
- Capacity.ts
- FrustumCulling.ts
- Instances.ts
- LOD.ts
- Morph.ts
- Raycasting.ts
- Skeleton.ts
- Uniforms.ts
- GLInstancedBufferAttribute.ts
- InstancedRenderList.ts
- PropertiesOverride.ts
- SquareDataTexture.ts
- InstancedEntity.ts
- InstancedMesh2.ts
- InstancedMeshBVH.ts
- instanced_color_pars_vertex.glsl
- instanced_color_vertex.glsl
- instanced_pars_vertex.glsl
- instanced_skinning_pars_vertex.glsl
- instanced_vertex.glsl
- ShaderChunk.ts
- CreateFrom.ts
- SortingUtils.ts
- index.ts
- .gitignore
- eslint.config.js
- index.html
- LICENSE
- package-lock.json
- package.json
- README.md
- tsconfig.build.json
- tsconfig.json
- vite.config.js
🚀 설치 가이드
1. 코드 내려받기
git clone https://github.com/agargaro/instanced-mesh
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd instanced-mesh
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Node.js
쉬움 추천사전 준비물
npm install @three.ez/instanced-mesh
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
"three": "https://cdn.jsdelivr.net/npm/three/build/three.module.js",
이 명령어를 터미널에 그대로 입력해 실행하세요.
"three/addons/": "https://cdn.jsdelivr.net/npm/three/examples/jsm/",
이 명령어를 터미널에 그대로 입력해 실행하세요.
"@three.ez/instanced-mesh": "https://cdn.jsdelivr.net/npm/@three.ez/instanced-mesh/build/index.js",
이 명령어를 터미널에 그대로 입력해 실행하세요.
"bvh.js": "https://cdn.jsdelivr.net/npm/bvh.js/build/index.js"
이 명령어를 터미널에 그대로 입력해 실행하세요.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
