Forums Gallery LOGIN |REGISTER

Community Archive is read-only - Here you can view content recorded up until February 2017. To join the latest discussions visit our new forums


Boids walking through geometry

Terrain, Weather and Environment Setup, Lighting and Time of Day Setup, Object Placement, etc.


 

User avatar GShot
Skilled Developer
Skilled Developer
 
Posts: 772
Images: 2
Member since: 05.04.2010, 15:02
Location: Australia
Likes: 282

Re: Boids walking through geometry

Postby GShot » 30.10.2014, 17:59

Well it really depends on how many of them you have, the raycast frequency etc. All boids already have obstacle and terrain avoidance (including the fish) by default and it depends on the boid but they all cast around 5-10 rays every frame or so by default and it performs pretty well with 100+ boids in a scene at a time. I just did the walking on geometry part for the boids that can actually walk on things (e.g. chickens) since they can only walk on terrain by default, so I'm not sure why you would want to make the fish walk on geometry if that's what you mean :P
User avatar DGrimProductions
Executive Producer
Executive Producer
 
Posts: 4542
Member since: 27.03.2013, 15:12
Location: The netherlands
Likes: 452

Re: Boids walking through geometry

Postby DGrimProductions » 30.10.2014, 19:39

:p No enclosed like the chickens ofcourse!!
Last edited by DGrimProductions on 30.10.2014, 21:57, edited 1 time in total.
★★★★ General (seriously i talk to much)
ME ARE DADDY!! :)
User avatar CollinBishop
Crytek Staff Member
Crytek Staff Member
 
Posts: 6360
Member since: 05.11.2011, 11:47
Location: Frankfurt, Germany
Likes: 1178

Re: Boids walking through geometry

Postby CollinBishop » 30.10.2014, 20:06

Awesome work. Do you plan on sharing your dev work on boids?
User avatar bobby57
Just getting started
Just getting started
 
Posts: 16
Member since: 18.10.2014, 21:22
Likes: 0

Re: Boids walking through geometry

Postby bobby57 » 30.10.2014, 22:28

Hi GShot

I have the same version as you EaaS 2997. But I do not have the same options you show in the video.
Entity Properties for Chickens1 I have only 5 selections under Boid. From count to model.
Have you added the raycast options and walk on geometry/water somehow?
Boids look to work really well in the video. :)
User avatar CollinBishop
Crytek Staff Member
Crytek Staff Member
 
Posts: 6360
Member since: 05.11.2011, 11:47
Location: Frankfurt, Germany
Likes: 1178

Re: Boids walking through geometry

Postby CollinBishop » 30.10.2014, 22:29

bobby57 wrote:Hi GShot

I have the same version as you EaaS 2997. But I do not have the same options you show in the video.
Entity Properties for Chickens1 I have only 5 selections under Boid. From count to model.
Have you added the raycast options and walk on geometry/water somehow?
Boids look to work really well in the video. :)


He programmed them in. Then recompiled. It is not a standard setup.
User avatar bobby57
Just getting started
Just getting started
 
Posts: 16
Member since: 18.10.2014, 21:22
Likes: 0

Re: Boids walking through geometry

Postby bobby57 » 30.10.2014, 22:46

Oh I see. Well good job with it, hope to be able to utilize it someday. Cheers.
User avatar GShot
Skilled Developer
Skilled Developer
 
Posts: 772
Images: 2
Member since: 05.04.2010, 15:02
Location: Australia
Likes: 282

Re: Boids walking through geometry

Postby GShot » 31.10.2014, 07:01

I will share it as soon as I can :) It is currently only implemented for chicken boids so I'll have to implement it for other boids as well both in c++ and lua. I'm a little busy these days but I'll try to post the c++ code, a compiled CryGameSDK.dll (for people who aren't programmers) and the boid lua files this weekend.
User avatar GShot
Skilled Developer
Skilled Developer
 
Posts: 772
Images: 2
Member since: 05.04.2010, 15:02
Location: Australia
Likes: 282

Re: Boids walking through geometry

Postby GShot » 18.11.2014, 19:13

If anyone is still interested, here are the files to make the chicken boids walk on geometry as seen in the video:
https://www.dropbox.com/s/orwxbgyqosh54 ... f.zip?dl=0

I haven't had time to do this for other boids (frogs, turtles etc.) yet so I'll put those up as I go but the same code should work for them too if you're interested in getting this to work for those as well!
User avatar Harrykotiej
Just getting started
Just getting started
 
Posts: 1
Member since: 11.01.2017, 11:20
Likes: 0

Re: Boids walking through geometry

Postby Harrykotiej » 21.04.2017, 15:46

@Gshot
I love it! Do you still have the files somewhere?
I would love to learn how you did this for educational purposes. :)