Here is my first project on Love 2D. I will be adding physics 'n' stuff too!
There are so many controls, just start pressing buttons
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.
3D Rendering Engine using Quaternions (Raycasting!)
- xXxMoNkEyMaNxXx
- Party member
- Posts: 206
- Joined: Thu Jan 10, 2013 6:16 am
- Location: Canada
3D Rendering Engine using Quaternions (Raycasting!)
- Attachments
-
- 3D Engine 0.4.love
- Raycasting!
- (7.79 KiB) Downloaded 348 times
Last edited by xXxMoNkEyMaNxXx on Sun Jan 13, 2013 3:57 am, edited 4 times in total.
- xXxMoNkEyMaNxXx
- Party member
- Posts: 206
- Joined: Thu Jan 10, 2013 6:16 am
- Location: Canada
Re: 3D Rendering Engine using Quaternions
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.
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
Fantastic!!!! Wow, I need a new graphics card... I'm chugging along at 5fps...
Great work!
Great work!
--Will
- retrotails
- Party member
- Posts: 212
- Joined: Wed Apr 18, 2012 12:37 am
Re: 3D Rendering Engine using Quaternions
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.
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.
- xXxMoNkEyMaNxXx
- Party member
- Posts: 206
- Joined: Thu Jan 10, 2013 6:16 am
- Location: Canada
Re: 3D Rendering Engine using Quaternions
@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!
ಠ_ಠ 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!
Who is online
Users browsing this forum: Google [Bot] and 4 guests