3d dice roller

Showcase your libraries, tools and other projects that help your fellow love users.
way
Prole
Posts: 8
Joined: Thu Apr 29, 2010 3:18 pm

3d dice roller

Post by way » Mon Jul 05, 2010 5:46 am

Hello, this is a work in progress on a 3d dice roller.
Right-click plus drag rotates the view, mouse wheel zooms in and out.
Left click rolls the die under the mouse cursor.

Features already in the app:
- 3d display & physic
- lighting model & shadows
- different die types
- cute light bulb

Features planned:
- interface to add and remove die dynamically
- more dice types
- die-die collision
- sound effects
- multiple boards

Regards,
way
Attachments
dice3d.love
(41.33 KiB) Downloaded 2184 times

User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: 3d dice roller

Post by Robin » Mon Jul 05, 2010 6:45 am

Interesting. I had to disable fsaa to make it work, though.
Help us help you: attach a .love.

User avatar
Jasoco
Inner party member
Posts: 3655
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: 3d dice roller

Post by Jasoco » Mon Jul 05, 2010 8:29 pm

Interesting? This is amazing. How did you do it?

User avatar
Lap
Party member
Posts: 256
Joined: Fri Apr 30, 2010 3:46 pm

Re: 3d dice roller

Post by Lap » Mon Jul 05, 2010 11:50 pm

Extremely impressive and an amazing example of how how to do 3D in a primarily 2D engine.

User avatar
Chief
Party member
Posts: 101
Joined: Fri Mar 12, 2010 7:57 am
Location: Norway, 67° north

Re: 3d dice roller

Post by Chief » Tue Jul 06, 2010 7:59 am

Holy! This is extreme! 100% awesome!

User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: 3d dice roller

Post by kikito » Tue Jul 06, 2010 9:24 pm

You could do Alone In the Dark with this thing. Very awesome.
When I write def I mean function.

Alex22
Prole
Posts: 26
Joined: Wed Jun 02, 2010 5:42 pm

Re: 3d dice roller

Post by Alex22 » Fri Jul 09, 2010 11:59 am

That, for gods sake is the löveliest thing ever made. I can't even imagine those crazy maths you had to deal with.

User avatar
Q_x
Prole
Posts: 3
Joined: Sat Jul 10, 2010 10:34 am

Re: 3d dice roller

Post by Q_x » Sat Jul 10, 2010 10:38 am

Hi!

Really nice dice roller:D
I even altered it to have 2d6, and later 3d6

Thanks, and waiting to see a progress

Cheers,
Luke
Ö is alt + 0214

User avatar
willurd
Citizen
Posts: 76
Joined: Thu Mar 04, 2010 1:04 am
Contact:

Re: 3d dice roller

Post by willurd » Mon Jul 12, 2010 11:04 pm

Very cool :)

User avatar
Jasoco
Inner party member
Posts: 3655
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: 3d dice roller

Post by Jasoco » Wed Jul 14, 2010 5:35 am

How do you do it? I have looked at the code, but how do you do it so fast? And what are the limitations? How are you drawing images onto the polygons? My 3D "engine" is crap.

Post Reply

Who is online

Users browsing this forum: ivan and 29 guests