Page 1 of 2

Boids 3D

Posted: Wed Oct 05, 2011 8:26 am
by Robin
I made another Boids implementation. Completely 3D this time. Click and drag your mouse around to change the viewing point. The blue square below is the ground, I made it for extra orientation.

Have fun!

Re: Boids 3D

Posted: Wed Oct 05, 2011 2:08 pm
by Taehl
That looks pretty cool, but it only runs at 15 FPS for me. Also, the boids tend to collide and jerk around a lot.

Image

Re: Boids 3D

Posted: Wed Oct 05, 2011 2:32 pm
by GijsB
Robin wrote:I made another Boids implementation. Completely 3D this time. Click and drag your mouse around to change the viewing point. The blue square below is the ground, I made it for extra orientation.

Have fun!
umm the sides of the 'window' are out of my screen and there was no escape button?

Re: Boids 3D

Posted: Wed Oct 05, 2011 4:18 pm
by Robin
Taehl wrote:That looks pretty cool, but it only runs at 15 FPS for me.
Yeah, bad performance is a problem. You can reduce the number of boids if it is a problem (first line of love.load(), first parameter).
Taehl wrote:Also, the boids tend to collide and jerk off a lot.
FIFY. But yeah, some parameters could probably be tweaked a bit. I also haven't implemented FOV, mainly because I can't work out how that works in 3D space.
GijsB wrote:the sides of the 'window' are out of my screen
Ah, yes. You need a screen of more than 800x800. Sorry 'bout that.
GijsB wrote:there was no escape button?
I know? Alt+F4 still works, though. ;)

Re: Boids 3D

Posted: Thu Oct 06, 2011 8:55 am
by miko
Robin wrote:I made another Boids implementation. Completely 3D this time. Click and drag your mouse around to change the viewing point. The blue square below is the ground, I made it for extra orientation.

Have fun!
Nice! I do have fun with love 0.7.2, but with 0.8 it is awfully slooooow :(

Re: Boids 3D

Posted: Thu Oct 06, 2011 9:30 am
by StoneCrow
I love it!
Add zooming and a more relaxing colour scheme and ill marry it :neko:
I love the way they swim around together, reminds me of gliders in the game of life a little.

Re: Boids 3D

Posted: Thu Oct 06, 2011 9:59 pm
by TechnoCat
StoneCrow wrote:I love it!
Add zooming and a more relaxing colour scheme and ill marry it :neko:
I love the way they swim around together, reminds me of gliders in the game of life a little.
I just made a CUDA implementation of Conway's Game of Life. :3

Re: Boids 3D

Posted: Thu Oct 06, 2011 10:04 pm
by Taehl
Not to thread-hijack, but how is CUDA, by the way?

Re: Boids 3D

Posted: Fri Oct 07, 2011 12:51 am
by TechnoCat
Taehl wrote:Not to thread-hijack, but how is CUDA, by the way?
damn easy.

Re: Boids 3D

Posted: Fri Oct 07, 2011 2:58 pm
by T-Bone
Runs fine on my comp. Looks really cool! Are you supposed to be able to do something except look around?