|
|
More interesting stuff to complement your flocking algorithms...
If I were to change anything it would be the camera angle. After a few
loops I got tired of seeing the one car that never moved (relative to the
camera). I would suggest something based on the overall pattern of cars.
Perhaps positioned 1/4 of the way from the front to the back of the pack and
looking at the centre of the pack. Or something like that.
Just an idea to help show off your excellent algorithm. Keep 'em coming :-)
"Greg M. Johnson" <"gregj;-)56590\""@aol.c;-)om> wrote in message
news:3a8ffaad@news.povray.org...
> Please find enclosed a first release of a system for modelling a race
> track with 17 cars.
> Self-intelligent actors of course favored over photorealism here.
>
> They accelerate or brake in response to what they see in front of them,
> and always steer to the clearest path in front of them. Pretty cool,
> although with the parameters set the way they are right now, it seems
> that they are a bit too eager to come to a complete stop. But hey
> that's probably how traffic jams happen--some bloke following too close
> behind, who then has to slam on his brakes!
>
> I envision getting this to the place where different racers can actually
> *compete*, albeit just for now in picking the ideal parameters for how
> close one will tolerate getting to one's neigbhor before braking/ how
> far away before accelerating....
>
> Code posted to p.b.-s.f..
>
> (Whew! I was afraid Rune was going to beat me to this. Not that we are
> in a race, but sometimes he implements better solutions to my ideas
> before i can!)
>
>
Post a reply to this message
|
|