I've been playing a lot of Minecraft lately, and I wanted to see if I could recreate the block world editing in Unity. It works, but with a couple flaws (one of which I can't fix). The first is that blocks are placed up, not relative to the face you clicked on. The other is that polygons that aren't visible are still drawn, a major problem if the world size increases too much.
[youtube]http://www.youtube.com/watch?v=YG00gbV8t8E[/youtube]
Not sure what more I could do with this, seeing as the limit in the number of blocks will be a major hindrance.
Block World Test
Re: Block World Test
How do other 3d games do it? Do they really calculate what objects are behind another and not draw them? I guess you could quickly draw a line of sight beam to grid positions, only drawing what it's broken upon first.
Or you could go a mind 90's approach and use ALOT of fog, real close up, and manually set the max draw distance to quite close, lol!
But seriously, being able to see a long way in a game? To me, that in itself doesn't make for a fun game.
Or you could go a mind 90's approach and use ALOT of fog, real close up, and manually set the max draw distance to quite close, lol!
But seriously, being able to see a long way in a game? To me, that in itself doesn't make for a fun game.
Fight Cycle : My latest Browser game WIP
Driftwurld : My Browser Game WIP
Philosopher Gamer : My Blog
Driftwurld : My Browser Game WIP
Philosopher Gamer : My Blog
Re: Block World Test
Raytracing from camera only rendering what is visible, you can do it at a distance completely render whats close and only show whats far. There should be some info on the forums or something about getting that effect.
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Block World Test
Now I could be wrong, but don't some modern game engines handle this automatically these days?Callan S. wrote:How do other 3d games do it? Do they really calculate what objects are behind another and not draw them? I guess you could quickly draw a line of sight beam to grid positions, only drawing what it's broken upon first.
The indelible lord of tl;dr
Re: Block World Test
They do, and if I remember correctly Unity can also, see previous post :p
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Block World Test
Ahh, I thought you meant info about achieving the effect yourself, not finding how to make Unity automatically handle itNoctrine wrote:They do, and if I remember correctly Unity can also, see previous post :p

The indelible lord of tl;dr
Re: Block World Test
Could have sworn it was in there, I'll check when I get some time to work on my unity project.
Re: Block World Test
I've been looking over the Unity documentation as well as the forums, but the only solutions are (AFAIK) only suitable for static scenes, not fully dynamic ones such as this.
If you happen to find something Noc, I'd very much like to see it.
If you happen to find something Noc, I'd very much like to see it.
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Block World Test
just wanted to say nice work thus far. Really kewl man.