Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
SFML projects
»
practice exercises on 3D terrain - GPU Geometry Clipmaps
Print
Pages: [
1
]
Author
Topic: practice exercises on 3D terrain - GPU Geometry Clipmaps (Read 14754 times)
0 Members and 1 Guest are viewing this topic.
Mortal
Sr. Member
Posts: 284
practice exercises on 3D terrain - GPU Geometry Clipmaps
«
on:
March 30, 2020, 03:48:08 pm »
Hello guys
Still I'm working on my 3D OpenGL framework, this week I'm gonna focus on landscape;
There are many ways to make 3D terrains. The method that drew my attention most is GPU Geometry Clipmaps. It was introduced in GPU Gems 2: chapter 2, for nvidia. Here a link:
https://developer.nvidia.com/gpugems/gpugems2/part-i-geometric-complexity/chapter-2-terrain-rendering-using-gpu-based-geometry
.
I have implemented base blocks of their algorithm. It works fine for now, but still there is more to achieve the final result as shown in that chapter. For example, the height-map and normal-map ... etc.
Here the demo for the initial implementation:
https://www.youtube.com/watch?v=KmRS-wCcUvc
«
Last Edit: April 03, 2020, 09:06:02 pm by Mortal
»
Logged
Mortal
Sr. Member
Posts: 284
Re: practice exercises on 3D terrain - GPU Geometry Clipmaps
«
Reply #1 on:
March 31, 2020, 11:25:13 am »
I added height-map to the terrain example. It wasn't easy for implementing height-map, especially for their terrain model, it needs other techniques to fill the crack and smooth the edges of every block level. But at the end of the road, it is achievable.
Here the latest update wireframe-demo for debugging:
https://www.youtube.com/watch?v=j_PRxegKuJg
«
Last Edit: April 03, 2020, 09:06:21 pm by Mortal
»
Logged
Mortal
Sr. Member
Posts: 284
Re: practice exercises on 3D terrain - GPU Geometry Clipmaps
«
Reply #2 on:
April 03, 2020, 08:40:44 pm »
The original demo from the gem 2 book, was using Puget Sound, It is located along the northwestern coast of the U.S. state of Washington. The texture has a resolution of 160kmx160km. It is a fairly big size map. I added a Puget Sound map to the final demo in this practice exercises-series. Also, I added simple gradient texture to the terrain as what the original demo has. The prototype isn't optimized at its current state right now but it is definitely a start for further improvements.
Here the final result as what was described in that chapter:
https://www.youtube.com/watch?v=VFIvYI5TeII
«
Last Edit: April 04, 2020, 05:33:56 am by Mortal
»
Logged
Power
Jr. Member
Posts: 66
Re: practice exercises on 3D terrain - GPU Geometry Clipmaps
«
Reply #3 on:
April 20, 2020, 05:01:27 pm »
Impressing,
So is there any SFML involved in the making?
Logged
Mortal
Sr. Member
Posts: 284
Re: practice exercises on 3D terrain - GPU Geometry Clipmaps
«
Reply #4 on:
April 20, 2020, 08:15:48 pm »
thanks
Yes it is, I used the sfml window module for the window creation and UI. For the rendering, I used opengl in this project.
Logged
Elias Daler
Hero Member
Posts: 599
Re: practice exercises on 3D terrain - GPU Geometry Clipmaps
«
Reply #5 on:
April 24, 2020, 05:13:53 pm »
Great job! Looking awesome.
Logged
Tomb Painter, Re:creation dev (abandoned, doing other things) |
edw.is
|
@EliasDaler
Mortal
Sr. Member
Posts: 284
Re: practice exercises on 3D terrain - GPU Geometry Clipmaps
«
Reply #6 on:
April 24, 2020, 07:35:51 pm »
hi elias
good to see you, welcome back
Logged
Mortal
Sr. Member
Posts: 284
Re: practice exercises on 3D terrain - GPU Geometry Clipmaps
«
Reply #7 on:
April 03, 2021, 03:41:14 am »
re-visit old project
i added Detail-Texture & Cloud & Fog
https://www.youtube.com/watch?v=-sbXmwtAn7I
i added simple & slow Trees & Grass Rendering
https://www.youtube.com/watch?v=sASnUMldedo
«
Last Edit: April 03, 2021, 03:49:02 am by Mortal
»
Logged
Mortal
Sr. Member
Posts: 284
Re: practice exercises on 3D terrain - GPU Geometry Clipmaps
«
Reply #8 on:
April 03, 2021, 03:52:58 am »
update:
testing LOD tree Rendering
https://www.youtube.com/watch?v=udb0w9s6DjM
Logged
Print
Pages: [
1
]
SFML community forums
»
General
»
SFML projects
»
practice exercises on 3D terrain - GPU Geometry Clipmaps