Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 8 of 8

Thread: large terrain

  1. #1
    Junior Member Newbie
    Join Date
    May 2002
    Posts
    13

    large terrain

    I am trying to make my terrain from a heightmap. I want me terrain to be large. What I am tring to do is load the hieghtmap and repeat it over and over making my terrain almost infinite. I need info on how to do this.
    My main problem is getting the edges of the heightmap to match the height of the opposite edge so it can be tiled. Is there a paint program that will do it for me?
    what is the best way to do this to speed up fps?

  2. #2
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Jul 2000
    Location
    S41.16.25 E173.16.21
    Posts
    2,609

    Re: large terrain

    the gimp (image program) will let u seamlessly tile images
    u could also do this yourself
    A/ generate heights
    B/ for each height sample add the neighbouring edge height samples with a weight depending on the distance from that borders edge
    (explained terrible)

  3. #3
    Junior Member Newbie
    Join Date
    May 2002
    Posts
    13

    Re: large terrain

    thanks zed but that is not what i am asking. i want to tile the whole hieghtmap so the same hieghtmap get rendered only tiled

  4. #4
    Junior Member Newbie
    Join Date
    May 2002
    Posts
    13

    Re: large terrain

    sorry zed i misread what you wrote ill try that program but still open to any other comments

  5. #5
    Junior Member Regular Contributor
    Join Date
    Feb 2001
    Posts
    116

    Re: large terrain

    whoa there are quite some cool LOD algorithms that will spped up terrain rendering. i am currently working on an egine that uses the ROAM concept. here's the link to a demo-ROAM-engine: http://www.gamasutra.com/features/20...turner_pfv.htm

    there was a very interesting link on the openGL frontpage a few weeks ago to an egine some guy wrote that didn't use traingle tesselation but line tesselation and was incredibly speedy.
    http://chat.carleton.ca/~eszoka/tstriplod/tstrip.htm

    hth
    eik

    [This message has been edited by hoshi55 (edited 05-25-2002).]

  6. #6
    Junior Member Newbie
    Join Date
    May 2002
    Posts
    13

    Re: large terrain

    thanks for the links they are very interesting

  7. #7
    Junior Member Newbie
    Join Date
    May 2002
    Posts
    13

    Re: large terrain

    thanks for the help but i still would like a few other solutions to look at for my problem

  8. #8
    Junior Member Newbie
    Join Date
    Feb 2000
    Location
    Las Cruces, NM USA
    Posts
    6

    Re: large terrain

    http://www.gldomain.com/programs/Terra3D.htm

    Terra 3D offers source for just what you are describing, at least what I think you are describing. The terrain is endless, in so much as it wraps around as you describe, the fog is set up so that you don't see that. I didn't write it, so send questions to the author, I just found it in the news and had to go searching backwards in previous months to find the link.

    Good luck!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •