Results 1 to 6 of 6

Thread: How to create realistic color palettes?

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2002
    Location
    Leartherhead Surrey England
    Posts
    29

    How to create realistic color palettes?

    Hi!

    I would like to add colors for my terrain rendering app, would someone have links/examples on how to implement a nice palette with snow for the top, blue for water and shades of green/brown in between

    Thanks!

  2. #2
    Senior Member Regular Contributor
    Join Date
    Oct 2001
    Location
    Princeton, NJ
    Posts
    380

    Re: How to create realistic color palettes?

    I could be interpreting you wrong, but you could try a 1 dimensional texture, using the height as your texture coordinate

  3. #3
    Senior Member Regular Contributor
    Join Date
    Oct 2002
    Location
    King George, Virginia
    Posts
    132

    Re: How to create realistic color palettes?

    could you make an image in photoshop with dimensions of 1x32 or 1x64 and create a custom gradient pattern with the range of what you want and then fill it. could that be used as a 1-d texture in opengl? i've never tried it.

    jebus

  4. #4
    Junior Member Newbie
    Join Date
    Aug 2002
    Location
    Leartherhead Surrey England
    Posts
    29

    Re: How to create realistic color palettes?

    Thanks for the replies! I kind of see what you mean but some source examples would be great do you know where I could find them?

  5. #5
    Senior Member Regular Contributor
    Join Date
    Jun 2002
    Posts
    365

    Re: How to create realistic color palettes?

    There was a great tutorial at flipcode some time ago which described how to calculate base textures for your terrain, from a heightmap and ground textures.
    http://www.flipcode.com/tutorials/tut_proctext.shtml

    When you are finished with that you could head over to www.vterrain.org's "ground detail" section, that will keep you busy for a while.

    This article from delphi3d is also good if you have a "newer" video card. http://www.delphi3d.net/articles/vie...terraintex.htm


    [This message has been edited by roffe (edited 11-05-2002).]

    [This message has been edited by roffe (edited 11-05-2002).]

  6. #6
    Junior Member Newbie
    Join Date
    Aug 2002
    Location
    Leartherhead Surrey England
    Posts
    29

    Re: How to create realistic color palettes?

    thanks! the links really helped!

Similar Threads

  1. Rainbow color band and color palettes in OpenGL?
    By rakeshthp in forum OpenGL: Basic Coding
    Replies: 11
    Last Post: 01-15-2013, 01:57 AM
  2. color palettes on windows xp with an ATI Radeon 9800
    By TitusByronicus in forum OpenGL: Windows
    Replies: 10
    Last Post: 03-06-2005, 02:21 AM
  3. Color palettes?
    By in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 04-30-2004, 04:17 PM
  4. URGENT! IT WON'T CREATE WINDOWS OR CHANGE COLOR! PLEASE HELP NOW!
    By Andrewinator in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 10-27-2003, 12:33 AM
  5. WGL Color Palettes
    By SAzary in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 02-09-2001, 01:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean