Boids 3D

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Boids 3D

Post 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!
Attachments
boids-3d.love
(3.5 KiB) Downloaded 555 times
Help us help you: attach a .love.
User avatar
Taehl
Dreaming in associative arrays
Posts: 1025
Joined: Mon Jan 11, 2010 5:07 am
Location: CA, USA
Contact:

Re: Boids 3D

Post 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
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

Re: Boids 3D

Post 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?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Boids 3D

Post 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. ;)
Help us help you: attach a .love.
User avatar
miko
Party member
Posts: 410
Joined: Fri Nov 26, 2010 2:25 pm
Location: PL

Re: Boids 3D

Post 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 :(
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
User avatar
StoneCrow
Party member
Posts: 199
Joined: Sat Apr 17, 2010 9:31 am
Location: Wales the land of leeks and leaks
Contact:

Re: Boids 3D

Post 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.
Dull but sincere filler.
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: Boids 3D

Post 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
User avatar
Taehl
Dreaming in associative arrays
Posts: 1025
Joined: Mon Jan 11, 2010 5:07 am
Location: CA, USA
Contact:

Re: Boids 3D

Post by Taehl »

Not to thread-hijack, but how is CUDA, by the way?
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: Boids 3D

Post by TechnoCat »

Taehl wrote:Not to thread-hijack, but how is CUDA, by the way?
damn easy.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Boids 3D

Post by T-Bone »

Runs fine on my comp. Looks really cool! Are you supposed to be able to do something except look around?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest