Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by YetiBytes · May 11, 2017 at 02:17 PM · procedural meshprocedural generationnoisemarching cubes

What are some good marching cube resources?

I would like to mess around a bit with marching cubes but am finding the resources/tutorials to be a little sparse (Probably because it's an 'advanced topic' so it's mostly in the form of papers). The most useful tutorial I have found so far is this catlikecoding which looks at marching squares.

I would like to try and create something similarly looking to this but any code I've found on github has been filled with errors. Although the source that is linked in the video is useful I was wondering if there were any resources/tutorials that you know of that will help me in creating something similar.

EDIT: Thanks for the links so far, I'll give them all a go and I'll edit this again with a more detailed response. Hopefully this can help other people later on.

EDIT 2: I have made my marching cubes using an adapted version from Sebastian Lauge for the generation and used the script for generating the cubes from Digital Dust. (Both answers were very useful thank you).

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image RobAnthem · May 12, 2017 at 06:56 AM 1
Share

You should check the Asset Store, there is a handful of free ones with all the source code. Also Cubiquity is pretty decent and amazing on resources, but if I remember correctly they do seal some of the code into DLLs, though they have some revolutionary ideas, and are working towards the ability to have millions of tiny cubes so that to make textures not even needed.

Essentially the only way to make this work properly is to dynamically rework the mesh chunks when a cube is broken, the $$anonymous$$imal overhead is only in the fact that normally only 1 or 2 chunks are being altered at any given time.

Even $$anonymous$$ecraft does something similar, pretty sure you can even see the $$anonymous$$ecraft source code if you google it, it's pretty simple Java code.

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by onehand · May 12, 2017 at 09:50 AM

@scrawk has a nice sample on his blog here. Unity package is provided: https://www.digital-dust.com/single-post/2017/03/15/Marching-Cubes-in-Unity

GPU Gems 3 also has a helpful chapter explaining the algorithm here: https://developer.nvidia.com/gpugems/GPUGems3/gpugems3_ch01.html

Lengyel's dissertation on voxel-based terrain is also very useful and it includes the transvoxel algorithm: http://transvoxel.org/Lengyel-VoxelTerrain.pdf

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by Namey5 · May 12, 2017 at 06:36 AM

https://www.youtube.com/watch?v=yOgIncKp0BE

Sebastian Lauge had a good series on procedural generation, including the use of marching squares. From memory he goes through how each part works, so it wouldn't be too difficult to translate the information into 3D, it would just take more steps and understanding.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image amykl · Jan 15, 2018 at 06:55 AM 0
Share

$$anonymous$$arching squares at catlike coding will give you the resources info you essential but you'll have to induce the extra measurement yourself check out custom dissertation help (should be frank if you worked out the mesh cohort well sufficient) $$anonymous$$y $$anonymous$$arching dices application is based on Paul bourke's one. I am using the GRIDCELL construction from it, but having further colors.

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

From Height maps to Marching cubes 0 Answers

Why do I get this weird mesh error when I have a mesh over 250 by 250? 1 Answer

Use Marching Cubes with SimplexNoise 0 Answers

Change vertex height with noise texture through shader 0 Answers

Generating sectors around nodes 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges