Jump to content
  • Advertisement

#0 Basic World Generation

GRASBOCK WindyOrange

730 views

This is my first Entry.

I have coded myself a custom engine in C using OpenGL. I have just fixed a lot of bugs regarding the World Generation resulting in this very smooth and giganting noise World.

The world is procedurally generated and can expand very far outside (depending on how much RAM you have). The Image attached shows the World that has been generated by exploration of 200 Entities in a few seconds. The World is made up of Chunks which are 16*16 Segments (or blocks might be more familiar to you). At the same time it has about 5 layers rendered ontop of each other giving the world the depth that it needs.

It is of course laggy when zooming out at this scale. 

2018_05_15_2038.thumb.PNG.73021e92a9c3783fee200574c5ed9a9d.PNG



2 Comments


Recommended Comments

would totally want to see more pictures, both zoomed in and out! looks really intressting.

Share this comment


Link to comment
10 hours ago, Tordin said:

would totally want to see more pictures, both zoomed in and out! looks really intressting.

I haven't changed much because i am busy thinking up algortihms; so I will only post this into the comment/

2018_05_16_2155.PNG

2018_05_16_2156.PNG

2018_05_16_2157.PNG

2018_05_16_2158.PNG

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Advertisement
  • Blog Entries

  • Similar Content

    • By Andr
      Hello,
      I am currently drawing an FFT ocean into a texture including Dx, Dy and Dz. As i need the real height at a point for another algorithm, i am passing the points through a vertex shader as following:
      #version 330 core layout (location = 0) in vec3 position; layout (location = 1) in vec2 texCoords; // Displacement and normal map uniform sampler2D displacementMap; uniform mat4 MVPMatrix; uniform int N; uniform vec2 gridLowerLeftCorner; out float displacedHeight; void main() { // Displace the original position by the amount in the texture vec3 displacedVertex = texture(displacementMap, texCoords).xyz + position; // Scale vertex to the 0 -> 1 range vec2 waterCellIndices = vec2((displacedVertex.x - gridLowerLeftCorner.x)/N, (displacedVertex.z - gridLowerLeftCorner.y)/N); // scale it to -1 -> 1 waterCellIndices = (waterCellIndices * 2.0) - 1.0; displacedHeight = displacedVertex.y; gl_Position = vec4(waterCellIndices, 0, 1); } This works correctly (it writes the correct height at a given point). The issue is that some points due to the Dx and Dz displacement will get outside the clip space. This points should instead wrap around as the ocean is a collection of tiles.
      As you can see in the attached file the edges fit together perfectly inside white square if they would wrap around (this is the clip space dimensions from RenderDoc).
      Is there any way i could wrap around this texture (in reality wrap around the clip space positions) so it stays all inside the viewport correctly?
      I tried to wrap around in the vertex shader by checking the boundaries and wrapping around but it doesnt work when a triangle has a least one vertice inside of the viewport and others outside.
       
      Many thanks,
      André
       

    • By Manvydas Viliunas
      Hi you!
      We are 2 game designers and programmers. Currently have a little bit of experience, and we want to take a bigger leap and bring our new little game to the world!
      That's where you would come in to join our team and help us draw some beautiful art on the game cards. We are looking for about 30-50 cards (1000x675 pixels).
       

      Art should be colourful, inspiring, mysterious, surreal, (picture a crazy dream or something Dali like) with few different intepretations and multiple objects in it.
       
      Thanks for your attention and hope to work with you soon.
       
    • By McVouty
      Reallusion’s CC3 completes the 3D game character pipeline for game developers. Access a highly optimized game character base for mobile, AR and VR developers then integrate InstaLOD’s model and material optimization technologies to generate game-ready characters that are animatable on-the-fly with multiple LOD outputs. 
      CC3 is introducing a new Game Character Base with its topology optimized for Mobile, Game, AR/VR developers. The 10K polygon base also answers the call for displaying massive amount of NPCs or Citizens with true-to-life body and facial animation without serious performance drop in real-time render.
      Optimized Character for Game/AR/VR/Mobile
      ●    Game Base Characters can be derived from any Standard CC Character.
      ●    Retain visual quality after mesh simplification.
      ●    Compatible with CC Morphs, Skin Presets, and Outfit System.
      Simplified Bone Structure for Facial and Body Animation
      ●    CC bones optimized identically for game engine compatibility.
      ●    Fully-rigged 10K polygon characters with detailed facial and body performance.
      ●    Compatible with iClone character animation tools and mocap system.
      ●    Access to full set of Facial Morphs for lip sync and emotional expression.
      InstaLOD inside Character Creator 3 fulfills the complete game character pipeline on polygon reduction, material merge, texture baking, remeshing and LOD generation.  These necessary elements of game design are able to be completed for every character in one seamless process. After designing with character morphs, clothing, accessories and materials the InstaLOD embedded features finalize the gamification for each character and produce up to 5 levels of detail to load into Unity or Unreal game engines.
      Pricing and Availability:  
      Character Creator 3 Pipeline is available directly from Reallusion or authorized Resellers. It is available for Windows operating systems only. For more information about price and system requirements, please visit https://www.reallusion.com/store/

      View full story
    • By McVouty
      Reallusion’s CC3 completes the 3D game character pipeline for game developers. Access a highly optimized game character base for mobile, AR and VR developers then integrate InstaLOD’s model and material optimization technologies to generate game-ready characters that are animatable on-the-fly with multiple LOD outputs. 
      CC3 is introducing a new Game Character Base with its topology optimized for Mobile, Game, AR/VR developers. The 10K polygon base also answers the call for displaying massive amount of NPCs or Citizens with true-to-life body and facial animation without serious performance drop in real-time render.
      Optimized Character for Game/AR/VR/Mobile
      ●    Game Base Characters can be derived from any Standard CC Character.
      ●    Retain visual quality after mesh simplification.
      ●    Compatible with CC Morphs, Skin Presets, and Outfit System.
      Simplified Bone Structure for Facial and Body Animation
      ●    CC bones optimized identically for game engine compatibility.
      ●    Fully-rigged 10K polygon characters with detailed facial and body performance.
      ●    Compatible with iClone character animation tools and mocap system.
      ●    Access to full set of Facial Morphs for lip sync and emotional expression.
      InstaLOD inside Character Creator 3 fulfills the complete game character pipeline on polygon reduction, material merge, texture baking, remeshing and LOD generation.  These necessary elements of game design are able to be completed for every character in one seamless process. After designing with character morphs, clothing, accessories and materials the InstaLOD embedded features finalize the gamification for each character and produce up to 5 levels of detail to load into Unity or Unreal game engines.
      Pricing and Availability:  
      Character Creator 3 Pipeline is available directly from Reallusion or authorized Resellers. It is available for Windows operating systems only. For more information about price and system requirements, please visit https://www.reallusion.com/store/
×

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!