x


Voxels and LOD in Unity

Has anyone made any samples showing Voxels and LOD in Unity?

I'm looking for something to get me started experimenting with this.

more ▼

asked Aug 30 '10 at 08:11 AM

SoloChristian gravatar image

SoloChristian
142 10 11 14

(comments are locked)
10|3000 characters needed characters left

2 answers: sort oldest

LOD is pretty straightforward to implement in Unity: Simply create a parent game object with a few child objects for the different distances attached as children, and have a script that, depending on the distance to the active camera enables/disables the renderers of those different object versions. You could also add complexity, e.g. depending on the number of objects currently visible or the current frame rate.

With voxels, I don't think this is possible in Unity at all, since AFAIK, voxels are a completely different approach for rendering (which simply isn't implemented in Unity). But maybe I'm missing something here (voxels combined with LOD might be a completely different story).

There's one forum posting regarding voxel based terrains in Unity: Voxel Based Terrain

And one pretty popular entry on Unity Feedback: Terrain: Voxel-based terrains

more ▼

answered Aug 30 '10 at 08:23 AM

jashan gravatar image

jashan
10.1k 25 40 116

Thanks I'll check them out

Sep 01 '10 at 05:42 AM SoloChristian

I cannot tell if this is an old post (the year is not show in the post-date), but the second link is broken.

Nov 12 '12 at 05:22 AM alucardj
(comments are locked)
10|3000 characters needed characters left

I am making a sandbox game and have done some research on voxels. Voxels can actually be used in Unity with the marching cubes algorithm. The platformer "IO" is a great example (This is not my game and I have no association with it or any of it's creators, I just found it on YouTube when looking for a way to use voxels). "IO" uses a system called Digital Clay, which allows smoothed voxels. If you are looking for a blockier, more minecraft-like voxel system, there are several asset packages that allow marching cubes voxels in unity. The asset store has very little for voxels, but a few searches for 'Unity voxels' or 'Unity marching cubes' will give you a few good results. One of the best voxel systems for Unity is called Voxelform, but it is paid-only and you need to contact the creator personally. I am going to be trying Digital Clay, but there are many other easy voxel systems for Unity. Of course, you could always just code your own, but the topic is very hard to understand and it is much easier to use open source.

In short, voxels can be implemented in Unity, and there are several assetpacks for it, but you can only do it with marching cubes.

more ▼

answered Dec 11 '12 at 10:00 PM

Zarenityx gravatar image

Zarenityx
123 2

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x300
x288
x46

asked: Aug 30 '10 at 08:11 AM

Seen: 6960 times

Last Updated: Dec 11 '12 at 10:00 PM