Has anyone acheived a Minecraft-like voxel engine?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
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?

Post by Jasoco »

Nixola wrote: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
Weird. I'm on OS X and don't have that problem. Wonder why it would cause that on Windows. (Is that what you're on?) I mean it's not that extreme of a GIF. It's so low color in comparison.

It's 1.1MB and 1024x768 though. So maybe the people who linked and quoted it should change it into a URL instead of an embedded image for now.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Has anyone acheived a Minecraft-like voxel engine?

Post by Nixola »

I saw bgger and heavier .gifs without any problem, it's only that one that causes trouble
(but if it doesn't spread on the 2nd topic page it's ok)
EDIT: Yep, I'm on Windows right now
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
LaserGuns
Prole
Posts: 33
Joined: Sun Apr 29, 2012 12:55 am

Re: Has anyone acheived a Minecraft-like voxel engine?

Post by LaserGuns »

on topic please! :) lol
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Has anyone acheived a Minecraft-like voxel engine?

Post by T-Bone »

Jasoco wrote:
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.
Go and learn Java! It's really not that hard. It is very well documented, and there are tons of guides, books and tutorials. If you know one programming language, it's usually quite easy to learn another. Sure, Java is a lot more technical than Lua, but that doesn't mean that it's much more difficult. It will probably be worth it in the long run, knowing one of the more technical languages like Java, C++ or C will make you a better programmer even when you are using the simpler languages like Lua and Python, simply because you sort of understand how these languages work internally.
Last edited by T-Bone on Tue Aug 28, 2012 9:56 am, edited 1 time in total.
User avatar
ivan
Party member
Posts: 1915
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Has anyone acheived a Minecraft-like voxel engine?

Post by ivan »

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'm pretty sure Minecraft uses 3D accelerated Java bindings so once you move the geometry and textures to video memory, there aren't really that many calculations going on on the interpreted side. Lua is much more lightweight than Java so except for very specific things, I think Java would be slower in general.
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.
From what I've noticed Processing (which ironically is built on top of Java) looks like a good environment to get your feet wet with 3D.
Last edited by ivan on Mon Aug 27, 2012 12:10 pm, edited 1 time in total.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Has anyone acheived a Minecraft-like voxel engine?

Post by Nixola »

(noob speaking) What about a Lua interpreter written in java? It is slower than java (obviously), but would it (relatively) have the same advantages?
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
Xgoff
Party member
Posts: 211
Joined: Fri Nov 19, 2010 4:20 am

Re: Has anyone acheived a Minecraft-like voxel engine?

Post by Xgoff »

Nixola wrote:(noob speaking) What about a Lua interpreter written in java? It is slower than java (obviously), but would it (relatively) have the same advantages?
there are quite a few lua implementations in java actually
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Has anyone acheived a Minecraft-like voxel engine?

Post by Nixola »

Perfect, do they have the same Java's advantages in 3D and image manipulating?
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
Xgoff
Party member
Posts: 211
Joined: Fri Nov 19, 2010 4:20 am

Re: Has anyone acheived a Minecraft-like voxel engine?

Post by Xgoff »

Nixola wrote:Perfect, do they have the same Java's advantages in 3D and image manipulating?
i would think some of them would have some form of java ffi, so at the very least if it's a java library it should be possible to use it
User avatar
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?

Post by Jasoco »

T-Bone wrote:
Jasoco wrote:
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.
Go and learn Java! It's really not that hard. It is very well documented, and there are tons of guides, books and tutorials. If you know one programming language, it's usually quite easy to learn another. Sure, Java is a lot more technical than Lua, but that doesn't mean that it's much more difficult. It will probably be worth it in the long run, knowing one of the more technical languages like Java, C++ or C will make you a better programmer even when you are using the simpler languages like Lua and Python, simply because you sort of understand how these languages work internally.
Why did you quote that image for a new page when it's causing problems for some people? Can you change it into a link instead? Unless this post happens to make it to a new page that is...
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], MrFariator and 4 guests