Jump to content
  • Advertisement

glararan

Member
  • Content count

    14
  • Joined

  • Last visited

Community Reputation

254 Neutral

About glararan

  • Rank
    Member

Personal Information

  • Interests
    Programming
  1. This sound's great. I will take this direction
  2. Yea that's what I meant. I would like not use procedural terrain texture based on height. Or did u meant something else? Of course it could be used as toggle option in app, but I would like manually painting.
  3. What technique I should use for more than 5 texture rendering?
  4. Thanks for link about Morgan McGuire. I read that article already. If I undestood correctly it's one large map. For his example he didn't care about frustrum culling. Also thanks for pointing to vterrain.org. I didn't read those old techniques, but I guess I should go with Morgan McGuire's technique to be modern.
  5. Hello, I am university student. This year I am going to write bachelor thesis about Vulkan app using terrain to render real places based on e.g. google maps data. I played World of Warcraft for 10 years and I did some research about their terrain rendering. They render map as grid of tiles. Each tile had 4 available textures to paint (now 8 by expansion WoD) However I found issue about this implementation, that's gaps between tiles. Is there any technique which solves this problem? I read on stackoverflow that guys find only solution in using smooth tool and fixing it manually. Main question: is this terrain rendering technique obsolete? Is there any new technique that replaces this method to render large map as small tiles? Should I try to implement rendering terrain as grid of tiles or should I use some modern technique (can you tell me which is modern for you?). If I should implement terrain as one large map to prevent gaps between tiles how textures are applied for such large map? Thanks for any advice.
  6. glararan

    Tessellation tiles gaps

    That's not actually my problem like in video.. I don't have these problems with terrain
  7. glararan

    Tessellation tiles gaps

    So I should change TES shader. If I understand correct, I have to change following code: // Calculate the normal // This could be moved to a one-time pre-process step to create a normal map. // This would be a good candidate for a compute shader. // For deformable terrain, would need re-generating when terrain is modified const ivec3 offset = ivec3(-1, 0, 1); // Texel offsets float delta = 2.0 * horizontalScale / textureSize(heightMap, 0).x; // Horizontal displacement in world coords float left = textureOffset(heightMap, Out.texCoords, offset.xy).r; float right = textureOffset(heightMap, Out.texCoords, offset.zy).r; float top = textureOffset(heightMap, Out.texCoords, offset.yz).r; float bottom = textureOffset(heightMap, Out.texCoords, offset.yx).r; vec3 x = normalize(vec3(delta, right - left, 0.0)); vec3 z = normalize(vec3(0.0, top - bottom, delta)); vec3 n = cross(z, x);
  8. Hi there,   I'm looking for solution few months but still nothing. Last week I found new articles about this problematic. 2 articles saying there is problem with tessellation outer level. I set that settings for 0-3 to 7.0 but nothings changed.   What I tried for: 1) Set same height at neighbours... result: terrible! Look: Red thing mean border between tile.   2) Draw another thing "neighbour-fixer?" Result? Some camera angles destroy effect "it's part of original tile". Check top right corner of green thing.. Another thing... its using a lot of vertices.. I mean it's bit inefficient but better than nothing.   3) Shader solution? I mean my shaders are written bad so there is bug but I don't know how to solve it.   So my real question is... Is third mark possible to fix this whole problem? Can be shaders written incorrect and can be written correct to fix this thing?   Original screen problem:   All images were posted with tess level outer I mentioned.   Width, height of map: 1024x1024 Tiles: 16 (256x256)   Articles: http://gamedev.stackexchange.com/questions/70096/what-is-the-role-of-tessellation-in-terrain https://developer.nvidia.com/sites/default/files/akamai/gamedev/files/sdk/11/TerrainTessellation_WhitePaper.pdf http://stackoverflow.com/questions/23530807/glsl-tessellated-environment-gaps-between-patches http://www.diva-portal.org/smash/get/diva2:566135/FULLTEXT01.pdf     Or do you have any other solution?     Vertex: http://pastebin.com/t2CrJ0f7 Geom: http://pastebin.com/C7JPGpeD TCS: http://pastebin.com/rm5DgpPu TES: http://pastebin.com/DsruCktp   Thanks for reply and help!
  9. Wou! Dostal jsem #HeroesOfTheStorm pozvánku! Jde se pa?it dneska... práce jde stranou :))
  10. RT @joebelfiore: And... if you're on the Developer Preview, go CHECK FOR UPDATES! WP8.1 Update is now live around the world!
  11. Porting application to Linux under than 30 minutes with external libraries.. result: http://t.co/UxvloJc0yr #OpenGL4 #Qt5 #Linux #Windows
  12. QEditor alfa verze venku s trailerem :) https://t.co/Ks1dloEPaT
  13. RT @Wladass: Dp? se mi to samo p?eplo na ten novej vzhled. #fuckTwitter
  • 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!