Jump to content
  • Advertisement
Sign in to follow this  
BlackJoker

Marching cubes on GPU (DirectX)

This topic is 757 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all.

 

Recently I started to study marching cubes technique to generate infinite terrains on GPU in runtime.

I found these articles: 

http://www.geisswerks.com/about_terrain.html

http://http.developer.nvidia.com/GPUGems3/gpugems3_ch01.html

 

But partial demo source code is very hard to understand and also it is almost 10 years old.

 

I understand how this should work in theory, but don`t understand yet how it should be implemented in code.

 

So, I want to ask if someone has already faced with this technique and has more recent working open source implementation on DirectX11 (C++ or C#), could you share your source code, please?

Edited by BlackJoker

Share this post


Link to post
Share on other sites
Advertisement

Hi all.

 

I'm joining the question of topic starter. Actually we're working on the issue together.
 

http://web.archive.org/web/20020802074137/http://astronomy.swin.edu.au/~pbourke/modelling/polygonise/

 

This has a very good explanation and simple code (not dX specific though).

BloodyEpi, thank you very much for the article, but the main stopper is the difficulty of implementinf this on the shaders (in order to achieve some speed). The algorithm itself is clear, but if someone could share some not very complex shader implementation (or point such in the web) - it would help greatly.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!