Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Position Based Dynamics (PBD) ๊ตฌํ˜„

์ด ์ €์žฅ์†Œ๋Š” Mรผller et al. (2007) Position Based Dynamics์˜ ํ•ต์‹ฌ ์•„์ด๋””์–ด๋ฅผ ์ž‘์€ ์˜ˆ์ œ๋กœ ๊ตฌํ˜„ํ•œ ํ”„๋กœ์ ํŠธ์ž…๋‹ˆ๋‹ค.

ํฌํ•จ ๋‚ด์šฉ

  • ์ž…์ž ์‹œ์Šคํ…œ (ParticleSystem)
  • ๊ฑฐ๋ฆฌ ์ œ์•ฝ (DistanceConstraint)
  • ๋ฐ˜๋ณต ํˆฌ์˜ ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ (PBDSimulator)
  • ์ฝ˜์†” ์ฒด์ธ ๋ฐ๋ชจ (examples/chain_demo.py)
  • ์›น ๊ธฐ๋ฐ˜ ์ƒํ˜ธ์ž‘์šฉ ์˜ท๊ฐ(Cloth) ๋ฐ๋ชจ (examples/interactive_cloth.html)

์‹คํ–‰

1) ์ฝ˜์†” ๋ฐ๋ชจ

python examples/chain_demo.py

2) ์ƒํ˜ธ์ž‘์šฉ Cloth ๋ฐ๋ชจ (๋ธŒ๋ผ์šฐ์ €)

cd examples
python -m http.server 8000

๋ธŒ๋ผ์šฐ์ €์—์„œ http://localhost:8000/interactive_cloth.html์„ ์—ฝ๋‹ˆ๋‹ค.

์กฐ์ž‘๋ฒ•:

  • ๋งˆ์šฐ์Šค ๋“œ๋ž˜๊ทธ: ์ฒœ์„ ์žก์•„๋‹น๊ธฐ๊ธฐ
  • r: ์ดˆ๊ธฐ ์ƒํƒœ ๋ฆฌ์…‹

ํ…Œ์ŠคํŠธ

pytest -q

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages