Terrain rev. 3


#1

[size=120]Edit[/size]
This version is outdated. You can find the new version in my pipeline: https://discourse.panda3d.org/viewtopic.php?f=6&t=17050

In the recent time I worked on Atmospheric Scattering (based on Eric Brunetons approach) in addition to my terrain … you can download the sourcce code at https://www.dropbox.com/s/i1wi0bbhvrr6uo7/Terrain%20r14.7z

video:
https://www.youtube.com/watch?v=VmbUQWlJVI0

Snow biome:

Mountains + Vegetation (WIP)





Screen space reflections (WIP!)

Mountains biome without Vegetation:

More bioms comming soon :slight_smile:

[size=150]Older screenshots:[/size]
http://s14.directupload.net/images/140303/4zql2ksf.png
http://s7.directupload.net/images/140303/fccxuu7y.png
http://s7.directupload.net/images/140304/ujqcg7gb.png
http://s1.directupload.net/images/140303/gifh67e7.png
http://s7.directupload.net/images/131003/tdqykiwc.png
http://s14.directupload.net/images/131231/rbw8wknb.jpg
http://s7.directupload.net/images/131209/2rmgzqpd.png
http://s1.directupload.net/images/131209/vnb6ozka.png
http://s1.directupload.net/images/131026/y9n4q4z9.png
http://s1.directupload.net/images/130824/ffgwkocz.png
http://s22.postimg.org/3xjgm4gg1/screenshot_88.png
http://s1.directupload.net/images/130817/t8g8ap5h.png
http://s7.directupload.net/images/130817/q2tcz9ls.png
http://s1.directupload.net/images/130816/ln5zjap6.png
http://img42.imageshack.us/img42/1953/jn1g.png
http://s1.directupload.net/images/131007/z8dqlg2o.png
http://s1.directupload.net/images/131007/tn4c3sjs.png
http://s7.directupload.net/images/131003/tdqykiwc.png

Big thanks to rdb, for helping me with my issues! :slight_smile:
Also I’d like to thank ThomasEgi, who helped me with many artistical questions :slight_smile:


Can Panda3D be used to create a professional-quality game?
Help for add 3d grass in HeightfieldTesselator or GeoMipTerrain?
Hi detail Terrain Texturing
Odd behavior with shaders and render to texture
#2

Looks fantastic! Can’t wait to see more!


#3

I’m jealous!


#4

Wow – I continue to be impressed by your work! Very well done, I do believe. :slight_smile:

(And I may have said this before, but if so it perhaps bears repeating: I think that I would love to see these modules get into an official Panda release at some stage, if you’re willing.)


#5

And blog post!


#6

Woah! That certainly brings your terrain to life. Congrats!


#7

New life source for Panda3D


#8

Thank you!

Edit: Minor vegetation added, Forests coming soon :stuck_out_tongue:


#9

Update:

  • SSAO Added
  • Some minor changes

#10

Is the ambient occlusion a postprocess - or calculated and applied to the terrain itself?

Could you do a side by side with SSAO on and off? I can’t really remember what it looked like before :stuck_out_tongue:


#11

I removed SSAO, because it didn’t work well for the terrain … I’ll add it later, when smaller objects appear :slight_smile:

After some break, here’s the next update :wink:

Update

  • Lens flare added
  • Improved Fog and Skybox
  • Cloud Shadows
  • Better Performance (~ 400 FPS)
  • Minor Tweaks, as always :smiley:

#12

Update

  • New screenshots
  • Removed a Bug from Atmospheric Scattering (where the horizon went through the terrain)
  • Tweaked FXAA
  • Color correction
  • Godrays (Not enabled in screenshots)

#13

Update

  • Material improvements
  • More bioms following soon
  • 8k flowmap (can be scaled down to 4k / 2k when on low vram, although not recommended)

#14

I look forward to seeing the code! If you plan on open sourcing it that is.


#15

Update

  • Added video

#16

That is kickass! Looks a bit like modded Skyrim :mrgreen:
Only the trees and grass poping up kind of spoils it. Maybe tweaking fog/haze or depth of field effect could hide that or some kind of fade effect? Or moving their clip-plane further.

How do the requirements look?
Is it running on glsl or cg?


#17

Yeah, I’m working on the popping. I think I’ll do some fade in/fade out. I don’t want to change the fog factor, as I want to have a big view radius (currently fog factor is 5.5km while the terrain is 8,192km). Moving the clip plane will work but then I have to test the performance … I’ll test out that stuff and keep you updated :slight_smile:

It’s running cg and glsl. Cg for the terrain, trees and grass. Glsl for the scattering and post processing. When releasing it, I think I have to port the cg stuff to glsl, as I’m using texture sampling in the vertex shaders, which means it otherwise won’t run on ATI cards.


#18

That continues to look very, very impressive.

I don’t mean to press, but do you yet have any thoughts on when this might be released in some form, even if in some form of beta?

As to popping, without having looked at the effect myself I will note that I seem to recall fading being the recommended means of dealing with popping.


#19

Well, actually the sourcecode is already open. The problem is, many users don’t want to compile the required c++ modules, which are required to run the terrain.
Maybe the terrain will be included in panda3d at some time. Then the module would be available without having to compile it. But for now, you have to compile it yourself :slight_smile:


#20

Ah, I wasn’t aware that the code was open! (I don’t see a link in the first post, although I may well have missed it.)

I’m tempted to have a shot at compiling it myself (I’m already using a home-compiled version of Panda), but I have severe doubts about my current computer managing to handle anything like that… ^^;