Skip to main content
GameDev.net gamedev.net
🔒 Locked

Marching cubes on GPU (DirectX)

Started by BlackJoker Aug 17, 2016 at 10:40 AM 3 replies 6.3k views
Original Post
BlackJoker
BlackJoker

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?

Elzianor
Elzianor

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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.