Results 1 to 5 of 5

Thread: Texture tiling

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2000
    Location
    milano
    Posts
    17

    Texture tiling

    I'm not sure if it's the right term. The problem is: I have a large terrain and I'd like to put textures onto it to simulate grass, snow, rocks, etc. but I want a gradual blend between rock and snow and grass. How can I do this?

  2. #2
    Junior Member Newbie
    Join Date
    Feb 2000
    Posts
    17

    Re: Texture tiling

    If you want to simulate rock's, grass, snow, etc. by using textures, so you must use textures that simulates blend from rocks to snow, from rocks to grass, from snow to grass etc. Did you seen Carnivories or Heave Gear 2? They did all terrain in that way. If you want some examples : download Heave Gear 2 Tools from Activision and you can find all textures that you need.

  3. #3
    Senior Member Regular Contributor
    Join Date
    Feb 2000
    Location
    milano, italy
    Posts
    282

    Re: Texture tiling

    when opengl version 1.2 will be available on the PC platform, you could also use 3D texturing: upload you terrain tiles with glTexImage3D(), then assign (s,t,u) texture coordinates as usual, with u dependant on terrain height.

    the opengl system then will blend consecutive tiles with the proper filter, so you'll get grass-rock transitions for free !!
    Dolo/\/\ightY

  4. #4

    Re: Texture tiling

    How about fiddling around with alpha blending? You could spare some texture memory as no transition textures are needed. Just blend the polygons at the transition points with per vertex alpha. Nice and smooth I guess.

    Just an idea, not tested...

    Cheers,
    Hude

  5. #5
    Junior Member Newbie
    Join Date
    Feb 2000
    Location
    milano
    Posts
    17

    Re: Texture tiling

    Yeah, should be nice. That's what I was thinking about, but how can I do that? You mean I can use glColor4? Well, I'm going to try. Thanks alot.

Similar Threads

  1. Texture tiling
    By Adrian Hooper in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 03-22-2009, 06:38 PM
  2. Texture tiling?
    By KlaHyMan in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-03-2006, 12:54 AM
  3. VBO's and texture tiling: possible ?
    By Alessandro_dup1 in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 10-01-2005, 02:43 AM
  4. Texture Tiling Problem
    By GreenToad in forum OpenGL ES
    Replies: 1
    Last Post: 02-07-2005, 06:04 PM
  5. texture tiling
    By mdog1234 in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 09-19-2003, 02:14 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