Has anyone acheived a Minecraft-like voxel engine?
Has anyone acheived a Minecraft-like voxel engine?
I know it's possible, I'm just not sure how it would be done. Is anyone working on something like this?
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Has anyone acheived a Minecraft-like voxel engine?
I don't think Löve would be nearly fast enough. Nor does it have the ability to warp images like Java can. The best people have been able to do in Löve 3D related is raycasting, 3D untextured polygons and a faux-textured-like dice roller. The first two which I did myself.
The problem is all the math involved and not really the drawing part. If you can create an optimized engine that can quickly calculate the location of every point for every triangle and feed it to a table for the graphics portion, you could have something. But then again, no texture warping. And math takes a lot of processor power.
Plus there's no "clipping" since there's no actual 3D support. Clipping is when two triangles intersect each other and the renderer clips the un-visible portions of the triangle.
Something like the original Star Fox or old first-generation 3D games with no texturing (Just colored shapes) could be done. And has been. In prototype form.
The problem is all the math involved and not really the drawing part. If you can create an optimized engine that can quickly calculate the location of every point for every triangle and feed it to a table for the graphics portion, you could have something. But then again, no texture warping. And math takes a lot of processor power.
Plus there's no "clipping" since there's no actual 3D support. Clipping is when two triangles intersect each other and the renderer clips the un-visible portions of the triangle.
Something like the original Star Fox or old first-generation 3D games with no texturing (Just colored shapes) could be done. And has been. In prototype form.
Re: Has anyone acheived a Minecraft-like voxel engine?
Yea I've seen your WolfenLove game, it's awesome. I hope in the next version of love they include OpenGL support or something. Has anyone written unofficial support for OpenGL yet?
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Has anyone acheived a Minecraft-like voxel engine?
http://stabyourself.net/orthorobot/
No, but LÖVE has something better than unofficial support.LaserGuns wrote:Yea I've seen your WolfenLove game, it's awesome. I hope in the next version of love they include OpenGL support or something. Has anyone written unofficial support for OpenGL yet?
Last edited by slime on Tue Aug 21, 2012 3:19 am, edited 1 time in total.
Re: Has anyone acheived a Minecraft-like voxel engine?
There's a project that's doing minecraft-voxels with Lua as the scripting language called C55 Minetest, have a look.
As for what love can do, 3d is certainly possible, but not natural in the sense that it'd be really pushing love beyond what it's intended for and you'll run into corner cases everywhere. Terraria and Minicraft are more natural.
As for what love can do, 3d is certainly possible, but not natural in the sense that it'd be really pushing love beyond what it's intended for and you'll run into corner cases everywhere. Terraria and Minicraft are more natural.
Re: Has anyone acheived a Minecraft-like voxel engine?
cheater tier: use a luajit build and an opengl ffi binding to get direct access to opengl functions and the gl context
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Has anyone acheived a Minecraft-like voxel engine?
Not the same. Orthorobot, like Fez, is orthogonal. Non-perspective. i.e. further blocks don't appear smaller. There's no depth. It's all flat.
The images wouldn't be possible in a real 3D calculated version due to no texture warping. Löve has skewing, but sadly no actual texture perspective warping. Which would be required for anything remotely Minecraftian.
Speaking of which, Minecraft has to calculate the 3D spacial location of thousands upon thousands of points every frame and then draw thousands upon thousands of warped images. Somehow Java is really really really fast at this stuff. Sadly Löve is not. How I wish Löve were as fast as Java. I know Lua. I don't know Java. I've watched Notch program a 3D game engine from scratch (Prelude of the Chambered) and I'm still amazed.
Re: Has anyone acheived a Minecraft-like voxel engine?
I don't know why, but that image manages to semifreeze Chrome, I have 1/0.5 FPS until I manage to delete its <img> tag
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Has anyone acheived a Minecraft-like voxel engine?
I've been trialling Chrome recently, it displays fine for me. Must be your hardware.Nixola wrote:I don't know why, but that image manages to semifreeze Chrome, I have 1/0.5 FPS until I manage to delete its <img> tag
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
Re: Has anyone acheived a Minecraft-like voxel engine?
I can reach 25+ pages at teh same time, but a single page with that image almost freezes everything, even if it's the only page
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 11 guests