Does anybody now of a method to push and extend the amount of triangles on a mesh to make it look like your digging a tunnel. Ive been researching marching cubes for a while and have gotten nowhere.
I've seen it done quite well in some Voxel based Unity projects, but I assume you're looking for a way to do this with a standard mesh &/or terrain?
Well I don't really mind what the method is as long as you know where I could learn to do it weather it be a tutorial, source code or just some tips. Edit: Sorry but to answer your question no I want to make the terrain at the start of the scene and be able to edit it.
A long ago I saw a .gif that did something similar to what you are describing. What they did was something similar to this. Edit: I was thinking a bit around and what you could do for better performance: Making the areas that are whole into bigger squares and only separate then in 4 when needed.
Im afraid my internet is not being very compliant right now so I cant see the gifs you posted but is it something like. Code (CSharp): void Start () { for (int a = 0; a < HightY; a++) { for (int b = 0; b < LengthX; b++) { GameObject P = Instantiate(VoxelPoint, new Vector2(a,b), Quaternion.identity) as GameObject; P.transform.localScale = new Vector3(1,1,1); } } } with each point making a square based on the other voxels positions. Ive done something like this before but I had no way to insert more voxels into the mesh to relive the stretching of the mesh.
Doe anybody have an idea as to how I should store the voxels in my attempts I stored them as gameobjects so I could move them.
I haven't gone through it myself, and have only toyed around with demos of premade voxel assets (Voxeland is terrific, if expensive), however I was able to find a relatively new tutorial thread that may be of assistance to you (from January of this year). Have a look, perhaps it will be of use: http://forum.unity3d.com/threads/tu...h-infinite-terrain-saving-and-loading.293340/
Yeah this is a great tutorial I just don't know if I could apply the block system to marching cubes for smooth terrain. If anybody who has read this tutorial do you think the knowledge could be applied to this?
So glad it's of use to you While you're waiting for confirmation here, might I suggest that you pose your question on the seemingly still active tutorial thread? It appears to have quite a few active users, so perhaps they'll be a bit more knowledgeable as to the specifics of what you'll need. In the meantime, best of luck! I'll be studying the tutorial myself shortly as it looks like great information. Have fun!
The thread is from 2013 Im not sure but is that considered active. P.S a friend just said that what I said could be considered sarcastic but Im seriously asking Im fairly new to unity forums.
Err, maybe we're not looking at the same thing... The tutorial I gave you a link to was started in January 2015 and the last message on it was posted Saturday. As for sarcasm, I'm all for it! http://forum.unity3d.com/threads/tu...h-infinite-terrain-saving-and-loading.293340/
LOL! No worries, it happens On a separate note, is anyone else having trouble reaching the main Unity Forums link? I've been getting errors for hours now and can't reach the main page. http://forum.unity3d.com/ Unity Community - Error The requested page could not be found.
Good to know! Probably just need to reboot my browser then. Thanks! Update: Turned out to be some idiocy brought to me by AT&T, lol. Had to clear my cache and restart, all is well now. Thanks again!