Block World Test

Have a project in the works but not much media? How about an idea you are turning into a project? Maybe a game design document you want to start with. This is the place.
User avatar
Sakar
Posts: 520
Joined: Thu Apr 23, 2009 2:59 am

Block World Test

Post by Sakar »

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.
User avatar
Callan S.
Posts: 2042
Joined: Sun Jan 24, 2010 5:43 am

Re: Block World Test

Post by Callan S. »

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.
Fight Cycle : My latest Browser game WIP
Driftwurld : My Browser Game WIP
Philosopher Gamer : My Blog
User avatar
Noctrine
Posts: 928
Joined: Thu Apr 23, 2009 9:57 pm

Re: Block World Test

Post by Noctrine »

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.
Jesse Dorsey
ProjectANI - Lead Developer Person
http://about.me/jessedorsey
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Block World Test

Post by Jackolantern »

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.
Now I could be wrong, but don't some modern game engines handle this automatically these days?
The indelible lord of tl;dr
User avatar
Noctrine
Posts: 928
Joined: Thu Apr 23, 2009 9:57 pm

Re: Block World Test

Post by Noctrine »

They do, and if I remember correctly Unity can also, see previous post :p
Jesse Dorsey
ProjectANI - Lead Developer Person
http://about.me/jessedorsey
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Block World Test

Post by Jackolantern »

Noctrine wrote:They do, and if I remember correctly Unity can also, see previous post :p
Ahh, I thought you meant info about achieving the effect yourself, not finding how to make Unity automatically handle it :)
The indelible lord of tl;dr
User avatar
Noctrine
Posts: 928
Joined: Thu Apr 23, 2009 9:57 pm

Re: Block World Test

Post by Noctrine »

Could have sworn it was in there, I'll check when I get some time to work on my unity project.
Jesse Dorsey
ProjectANI - Lead Developer Person
http://about.me/jessedorsey
User avatar
Sakar
Posts: 520
Joined: Thu Apr 23, 2009 2:59 am

Re: Block World Test

Post by Sakar »

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.
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Block World Test

Post by hallsofvallhalla »

just wanted to say nice work thus far. Really kewl man.
User avatar
Sakar
Posts: 520
Joined: Thu Apr 23, 2009 2:59 am

Re: Block World Test

Post by Sakar »

Thanks halls!
Post Reply

Return to “Project Showoff Tier I”