Sign in to follow this  
BlackJoker

Marching cubes on GPU (DirectX)

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this