Kentae
Member
Hey guys.
I want to create my own 3D world creator and a part of this creator should be terrain sculpting.
I know how I should do all my sculpting tools and so on but the thing that stumps me a little is, as the title suggests, how to draw the terrain in real time.
More specificly, how to draw it in real time without it lagging like hell.
I've seen several examples of this being done before but never seen any code that I can learn from.
So my question becomes this:
How do I draw realtime sculptable 3D terrain in an efficient way?
I figure that redrawing the whole terrain every frame, even just when a sculpting tool is being used, will lag like hell, espesially if the terrain is fairly large.
Same goes for rebuilding a terrain model every frame.
I have been fiddeling around some with the idea of having the terrain be parted up in several smaller models and only rebuilding the ones that are in range of the sculpting tools. This however can become tricky to code.
I use GMS 1.4 btw.
Any help would be greatly appreciated
I want to create my own 3D world creator and a part of this creator should be terrain sculpting.
I know how I should do all my sculpting tools and so on but the thing that stumps me a little is, as the title suggests, how to draw the terrain in real time.
More specificly, how to draw it in real time without it lagging like hell.
I've seen several examples of this being done before but never seen any code that I can learn from.
So my question becomes this:
How do I draw realtime sculptable 3D terrain in an efficient way?
I figure that redrawing the whole terrain every frame, even just when a sculpting tool is being used, will lag like hell, espesially if the terrain is fairly large.
Same goes for rebuilding a terrain model every frame.
I have been fiddeling around some with the idea of having the terrain be parted up in several smaller models and only rebuilding the ones that are in range of the sculpting tools. This however can become tricky to code.
I use GMS 1.4 btw.
Any help would be greatly appreciated