Jump to content
  • Advertisement
Sign in to follow this  
vicx

Next step in terrain rendering...

This topic is 2220 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello again guys!



There were some topics of mine about normals etc etc which I finally resolved. By reading some papers I came up to the point where my application is able to render 16x16 km terrain on my integrated gpu by using precomputed normalmap and few index buffers with different lods for one vertex buffer. Till now I was testing whole stuff on simple loop which draw chunks and fetches heights from heightfield, so I haven't implemented quadtree yet, though it's ready to go in and change whole code again (including complete change in rendering method).

In most cases I was reading philip strugar paper about cdlod, additionaly researching his code. Well, at some point I had no power to go through morphs (possibly there was no quadtree implemented), so I decided to use skirts and it fulfills my needs for now.
At the same time I've gathered some savage methods of texturing. For now I limit myself for 3 ground textures which is my next step in my journey through the complexity of terrain. I did consider making few rendering passes for more than 3-4 textures depending on chunk's needs or try to use textur[attachment=10797:screen.jpg]e-atlas.

But, for now I'd like to know how may I set tiling factor/whatever to see the ground detailed from far distance and from close view point, in meanwhile keeping the transition between those levels. Even in strugar's demos it was clearly obvious that he adds detail (it makes smoothy effect when close anyway), but he didn't use many textures. I did the same, but it looks horrible when you enlarge grass tiling and add detail:P
I can't mount overall color texture and use grass etc as detail textures but... yea but... maybe for few heightmaps it won't be horrible memory shock? Let's say the target is 64x64km map - would be enough I think. More, I think quadtree will blow performance down anyway... eh, to the point. I'm still interested in methods of texturing close/far viewpoints. The result I take now is visible on attached screenshot, it's tiling factor is set to approx 1 meter per quad, so from far distance looks like spilled jelly smile.png I want to see sharp mountains at distance and totally nice rocks from 3 meters, as in ideal terrain:P

What would you advise?smile.png

[attachment=10798:screen.jpg]

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!