Page 1 of 1

3D Rendering Engine using Quaternions (Raycasting!)

Posted: Fri Jan 11, 2013 4:12 pm
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.

Re: 3D Rendering Engine using Quaternions

Posted: Sat Jan 12, 2013 8:06 am
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.

Re: 3D Rendering Engine using Quaternions

Posted: Sat Jan 12, 2013 1:01 pm
by wssmith04
Fantastic!!!! Wow, I need a new graphics card... I'm chugging along at 5fps... :cry:

Great work! :awesome:

Re: 3D Rendering Engine using Quaternions

Posted: Sat Jan 12, 2013 10:09 pm
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.

Re: 3D Rendering Engine using Quaternions

Posted: Sun Jan 13, 2013 3:54 am
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!