Thread: Terrain Making Beginner

  1. #1
    Registered User Boomba's Avatar
    Join Date
    Jun 2003
    Posts
    89

    Question Terrain Making Beginner

    Hi,

    I have been learning direct x for a while now so that I could make a quick 3d game (its taking me longer than I thought ofcourse).

    Right now I'm at the stage of loading a world/level/terrain. So not knowing where to start, I made a fairly large terrain in bryce (cus its really quick and easy) and gave it a high res texture (something above 4000 X 4000 res) and exported it as a .X mesh file. So my first problem arose...My game (with just the quick bryce plain loaded) is taking 29 megs of ram. and I noticed the texture I chose took about 49 megs of space (which I guess that means its taking 49 megs of video space?).

    So my question is whats the best/easiest method for terrain generation..I like what i'm doing cus I can build the terrains before hand but it seems very inefficient and it doesnt even look good.

    thanx in advance,
    Boomba

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    $20 says you don't actually need all of that terrain in memory at any given time. Try only loading what you need, as (or right before) you need it. Also, scale down the texture sizes.
    Away.

  3. #3
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    you might want to concider GMax for making your 3d items for your game.

    smaller poly models use far less ram.
    and it's specifically designed for making game models, animations and characters.
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

  4. #4
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    I made a fairly large terrain in bryce (cus its really quick and easy) and gave it a high res texture (something above 4000 X 4000 res)
    If you were using OpenGL, the card probably wouldn't allow you to load that large of a texture. I don't think D3D will let you either if you load it with the POOL_DEFAULT option. Just something to keep in mind.

    Making a terrain by hand isn't all that uncommon, but I usually ask an artist to do that for me, and then yell at him/her when the poly density is higher than I told them. Not too loudly though. Your only other option would be real time generation. Throw a whole bunch of math at the card telling it to plot points along the way, and you're ready to go!

  5. #5
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    I believe if you were using OpenGL, you could've used a 3D modeler to make your terrain. I believe Blender allows you to import graphics and such into OpenGL, but i'm not sure. I don't know if there is a modeler that would allow you to do that with direct x, but if their was that would be the best.
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  6. #6
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Sentral, you seem confused. The only way to "import" a model "into opengl" is to write (or use) a file loader for whatever file format you choose. Then write a render routine to render the data you've read in from the file. There is no "import model" command. Direct X has loading of .X files as part of its libraries.

  7. #7
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Yes, I don't know what you are talking about . I never did anything with graphics just yet. I just heard that from somebody, I guess I misunderstood. Just trying to help out, maybe I shouldn't help out with graphics, if I never even did anything with them. HAHA.
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  8. #8
    Registered User Boomba's Avatar
    Join Date
    Jun 2003
    Posts
    89
    Quote Originally Posted by skorman00
    Your only other option would be real time generation. Throw a whole bunch of math at the card telling it to plot points along the way, and you're ready to go!
    thanx alot for your help guys...I think I'm gonna try the method of real time generating. But I have had alot of trouble finding a tutorial or article that will help me start terrain denerating with direct 3d. Does anyone know of a site or point me int he right direction for a beginner?

    thanx in advance,

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Continous LOD Terrain Source... Released!
    By Perspective in forum Game Programming
    Replies: 13
    Last Post: 04-17-2006, 11:21 PM
  2. New terrain engine
    By VirtualAce in forum Game Programming
    Replies: 16
    Last Post: 03-16-2006, 02:47 AM
  3. Terrain algos
    By VirtualAce in forum Game Programming
    Replies: 1
    Last Post: 04-10-2004, 02:50 PM
  4. OpenGL terrain demo (EDITOR)
    By Jeremy G in forum Game Programming
    Replies: 2
    Last Post: 03-30-2003, 08:11 PM
  5. About Unix Programming - Making a career desision
    By null in forum C Programming
    Replies: 0
    Last Post: 10-14-2001, 07:37 AM