#4 Creating a Game Engine in Java and OpenGL - Terrain Generation

Поділитися
Вставка
  • Опубліковано 9 вер 2024
  • This is the fourth episode of the OpenGL Game Engine Programming Series with LWJGL 3.
    In this episode the terrain will be generated from a heightmap.
    The related normalmap is initially created with a Compute Shader.
    heightmaps:
    github.com/ore...
    finished code:
    github.com/ore...
    starting code:
    github.com/ore...
    derived from:
    github.com/ore...

КОМЕНТАРІ • 26

  • @pleasemax7485
    @pleasemax7485 6 років тому +2

    Respekt an dich! Super arbeit mit der Engine ! Und ein großes danke für deine Tutorials und Anstrengungen.

  • @lorenzogarcia7883
    @lorenzogarcia7883 6 років тому +1

    Nice tuts. so excited for the next video tutorial :)

  • @songming2462
    @songming2462 6 років тому +1

    modules.gpgpu.NormalMapShader Validation Error: A sampler points to a texture unit used by fixed function with an incompatible target.
    what is this error pls help

  • @MohammedPlaysMC
    @MohammedPlaysMC 6 років тому +1

    Hi, I'm working on a 3D LWJGL game and was wondering if you could help me with it basically I am using a heightmap to generate the terrain and storing them as PNG's can you help me so I can use your method instead as it looks more efficient

  • @franzleopold2368
    @franzleopold2368 6 років тому

    Kann es sein das der "finished code" und der Code am Ende des Videos unterschiedlich sind?

  • @hujiono95
    @hujiono95 5 років тому

    With the bilinearFilter, the "cube" artifacts are no longer visible, but the triangles do not add any terrain information. It is therefore useless to generate as many triangles if they are following in a straight line !!

  • @sca2777
    @sca2777 6 років тому

    Hello , I tried to download the starting code but I can't run it, any tips help?

  • @homelleon
    @homelleon 6 років тому

    How can I compute HeightMap (not normal map) from position attributes not from texture?

    • @oreonengine9444
      @oreonengine9444  6 років тому

      You can generate the heightmap with a compute shader and assign the height values

    • @homelleon
      @homelleon 6 років тому

      OreonEngine do you know any book or resource to read about it? I think I don't realy understand how compute shader works.

    • @oreonengine9444
      @oreonengine9444  6 років тому

      yes read the opengl programming guide
      www.ics.uci.edu/~gopi/CS211B/opengl_programming_guide_8th_edition.pdf
      there is a dedicated chapter for compute shaders

    • @homelleon
      @homelleon 6 років тому

      OreonEngine oh, thank you. It's really huge book. I want to read it all.

  • @a7jsdp0z672nf
    @a7jsdp0z672nf 6 років тому +2

    Will this series continue?

    • @oreonengine9444
      @oreonengine9444  6 років тому +3

      yes soon, currently I'm working on a big engine update with deferred renderer SSAO and FXAA but it's shortly before finish, then the series will be continued

  • @zix3562
    @zix3562 7 років тому

    Any idea what could be causing these black seams?
    i.imgur.com/JNoc31X.png

    • @oreonengine9444
      @oreonengine9444  7 років тому +1

      hm seems that there is a mistake in the quadtree morphing function in your code

    • @oreonengine9444
      @oreonengine9444  7 років тому

      I created a tag with the finished code here github.com/oreonengine/Lwjgl3-Game-Engine-Programming-Series/releases/tag/tutorial_4

  • @matanmigdal7108
    @matanmigdal7108 7 років тому +1

    can you optima's this I have no fps

    • @viniciusmachado4422
      @viniciusmachado4422 7 років тому

      In my case I'm integrating his engine into my own implementation... so I can control this kind of think separately

    • @matanmigdal7108
      @matanmigdal7108 7 років тому

      personal I use the thinmatrix engine but he didn't use this quadtree terrain lod system just want to know for what is good for?

    • @viniciusmachado4422
      @viniciusmachado4422 7 років тому

      In my opinion this series has more complex stuff... I follow thin matrix tutorials and the bennybox tutorials too. And this one combined with benny engine with some improvements are giving me good results in term of performance and quality...

  • @lorenzogarcia7883
    @lorenzogarcia7883 6 років тому

    Waiting for the next tuts :)