Small terrain demo

This is a discussion on Small terrain demo within the Game Programming forums, part of the General Programming Boards category; Screenshot only, zip was too large:...

  1. #1
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,590

    Small terrain demo

    Screenshot only, zip was too large:
    Last edited by VirtualAce; 03-30-2004 at 02:14 PM.

  2. #2
    Peace
    Join Date
    Aug 2001
    Posts
    1,510
    I noticed the attempt.

    The attaching images is different now then it used to be. You tried using the "Manage Attachments" button below? It opens a popup window, you browse for your file, then upload it and post?

    I just wonder because I just attached an image about 2 minutes ago and it worked fine. Whats the difficulty?

    /* Edit */

    Wicked.
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  3. #3
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,590
    I finally got it working - but the limit is 640x480 and the zip file attachment limit is 192 kbytes?

    Geez, I'll never be able to attach any Direct3D zip's here.

  4. #4
    Peace
    Join Date
    Aug 2001
    Posts
    1,510
    You'll have to host them somewhere and link to them. So whats the demo for, anything? What method did you use? Brute Force, ROAM...

    I'm itching to hear all the juicy details (or see the source, ).
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  5. #5
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Hey bubba, I can host it for you if you'd like. Just PM me and I can get you an ftp account on my server.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  6. #6
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,590
    Well most of the terrain code came from the book but I've been doing terrains since ...forever...so what I learned with voxels pretty much applies here except for the raycasting.

    Next thing to add is a sphere for the sky or a skybox, but I like sphere's better.

    I added some keys and other stuff but hopefully I'll be able to add more stuff to it like trees and world boundaries so you can't walk off of the map.

    Right now its not a lot of original code but I did enhance it so it is not a direct copy from my book.

    Once I get more familiar with D3D I will port a lot of it and change it.

    Right now it's brute force with no visibility algos or tricks. But that will change with time.

    The bitmap is a picture of Tenessee from a satellite and the height data was generated with Wilbur using recursive subdivision.
    Last edited by VirtualAce; 03-30-2004 at 02:57 PM.

  7. #7
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    I'll take that as a no, you don't need hosting.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  8. #8
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,590
    Hi-res version - suffers from texture wrapping.

  9. #9
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,590
    Another screenshot of a night time render with a skybox.

  10. #10
    Banned
    Join Date
    Dec 2003
    Posts
    367
    Dude, that is WAY too dark. All I can see is a very dark outline of a hill on the bottom right corner. It just looks like a black screensaver.

  11. #11
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    I agree. I had my desktop brightness set about halfway and the image looked completely black...
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  12. #12
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    can't really see it either

  13. #13
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,590
    Well it looks on the screen in Direct3D but the screen shot proggie messed up the gamma somehow - and I also ramped the gamma up in paint shop before posting here.

    I'll change the diffuse lighting and ambient lighting coeficients and repost - I just didn't want the terrain to be too bright - as is the failing of most games/engines that render night scenes.

  14. #14
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    the back side of that is anybody can clear the screen to black

    To be honest, I didn't even notice that there was something actually in that picture until I visited for the third time, lol

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. Adventurers and Outlaws and new Demo
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 11-07-2004, 04:06 AM
  3. OpenGL terrain demo (EDITOR)
    By Jeremy G in forum Game Programming
    Replies: 2
    Last Post: 03-30-2003, 07:11 PM
  4. GL terrain demo preview.
    By Jeremy G in forum Game Programming
    Replies: 10
    Last Post: 03-23-2003, 09:38 PM
  5. Second MoA Demo Tomorrow
    By harryP in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 09-30-2002, 07:22 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21