1 / 9

먹고 먹히는 플로킹 : 포식자와 먹이

먹고 먹히는 플로킹 : 포식자와 먹이. (GEMS2-3.11 장 ). 규칙 추가 생존 (Survival) : 먹이가 보이면 먹이 쪽으로 향하고 , 포식자가 보이면 도망간다 개별 보이드의 차이 Predators and Prey 난수 이용 보이드마다 약간씩 다른 특성 부여 각 보이드는 일종의 개성 같은 것을 가지게 됨 좀 더 생명체와 유사한 행동을 취하게 하기 위한 것 CBoid::SeeEnemies() – 보이는 보이드가 적인가 판단 CBoid::FindFood() – 보이는 보이드가 먹이인가 판단.

keanu
Download Presentation

먹고 먹히는 플로킹 : 포식자와 먹이

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 먹고 먹히는 플로킹 :포식자와 먹이 (GEMS2-3.11장)

  2. 규칙 추가 • 생존 (Survival) : 먹이가 보이면 먹이 쪽으로 향하고, 포식자가 보이면 도망간다 • 개별 보이드의 차이 • Predators and Prey • 난수 이용 보이드마다 약간씩 다른 특성 부여 • 각 보이드는 일종의 개성 같은 것을 가지게 됨 • 좀 더 생명체와 유사한 행동을 취하게 하기 위한 것 • CBoid::SeeEnemies() –보이는 보이드가 적인가 판단 • CBoid::FindFood() –보이는 보이드가 먹이인가 판단

  3. 여러 종류의 보이들 • 매 • 빠르게 움직인다 • 더 멀리 본다 • 참새를 잡아 먹는다 • 참새 • 평균 속도 • 평균 시야 • 파리를 잡아 먹는다 • 파리 • 느리게 움직인다 • 멀리 보지 못한다 • 먹히기만 한다 • 임의적으로 재생산된다

More Related