3D Rendering Engine using Quaternions (Raycasting!)

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
xXxMoNkEyMaNxXx
Party member
Posts: 206
Joined: Thu Jan 10, 2013 6:16 am
Location: Canada

3D Rendering Engine using Quaternions (Raycasting!)

Post by xXxMoNkEyMaNxXx »

Here is my first project on Love 2D. I will be adding physics 'n' stuff too! :awesome:
There are so many controls, just start pressing buttons :P

Controls include:
Reset: r
Move: WASD+LShift+Space
Camera: QE+Arrowkeys+Rclick
FOV: io

If you want more or less parts, change 'n' on line 175 of main.lua.
Attachments
3D Engine 0.4.love
Raycasting!
(7.79 KiB) Downloaded 343 times
Last edited by xXxMoNkEyMaNxXx on Sun Jan 13, 2013 3:57 am, edited 4 times in total.
User avatar
xXxMoNkEyMaNxXx
Party member
Posts: 206
Joined: Thu Jan 10, 2013 6:16 am
Location: Canada

Re: 3D Rendering Engine using Quaternions

Post by xXxMoNkEyMaNxXx »

Here's the latest engine!
I am incorporating Lighting and shaders, though they are not functional yet.
I have written code for raycasting, but it doesn't seem to be producing anything.
wssmith04
Prole
Posts: 28
Joined: Sat Nov 10, 2012 9:02 pm

Re: 3D Rendering Engine using Quaternions

Post by wssmith04 »

Fantastic!!!! Wow, I need a new graphics card... I'm chugging along at 5fps... :cry:

Great work! :awesome:
--Will
User avatar
retrotails
Party member
Posts: 212
Joined: Wed Apr 18, 2012 12:37 am

Re: 3D Rendering Engine using Quaternions

Post by retrotails »

Doesn't work on Linux until you rename the '.Lua' files to have a lowercase l, '.lua'
Looks cool, doesn't run that great. Lots of complex code for this kinda stuff which is why GPUs usually take care of it, but it's an awesome demo.
User avatar
xXxMoNkEyMaNxXx
Party member
Posts: 206
Joined: Thu Jan 10, 2013 6:16 am
Location: Canada

Re: 3D Rendering Engine using Quaternions

Post by xXxMoNkEyMaNxXx »

@retrotails
ಠ_ಠ Where were you a day ago when I was raging about not knowing what to do... and all I had to do is make the extension ".lua" instead of ".Lua".

Anyway, here's Version 0.4 with modules working and RAYCASTING WOO!
Post Reply

Who is online

Users browsing this forum: No registered users and 78 guests