Results 1 to 5 of 5

Thread: TEXTURE MAPPING PROBLEM WITH SMALL TRIANGLE

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2002
    Location
    Pesaro,Italy,Italy
    Posts
    14

    TEXTURE MAPPING PROBLEM WITH SMALL TRIANGLE

    i have big problem when opengl display very small triangle in texture mapping, it displays as red segments.... there is a opengl call to eleminate this noisy effect=

  2. #2
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,450

    Re: TEXTURE MAPPING PROBLEM WITH SMALL TRIANGLE

    Try downloading the texture as mipmaps and use GL_LINEAR_MIPMAP_LINEAR as minfilter.

  3. #3
    Junior Member Newbie
    Join Date
    Jun 2002
    Location
    Pesaro,Italy,Italy
    Posts
    14

    Re: TEXTURE MAPPING PROBLEM WITH SMALL TRIANGLE

    Thx for your solution but doesn't work i just use mipmapping!!

  4. #4
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,450

    Re: TEXTURE MAPPING PROBLEM WITH SMALL TRIANGLE

    Everything else would be guesses. Here are some:
    Where does the red come from?
    Is there red on your texture?
    Could it be a wrong texture level of detail?
    Do you overclock your board?
    etc.
    Is this deterministic or random?
    Can you isolate a single faulty polygon?
    Debug it!

  5. #5
    Senior Member Regular Contributor
    Join Date
    Apr 2003
    Location
    Toulouse, France
    Posts
    133

    Re: TEXTURE MAPPING PROBLEM WITH SMALL TRIANGLE

    if you're using mipmapping and the small triangle is red, that mean that the small textures in your mipmaps is red !!!
    how do you generate the mipmaps ??? gluBuild2DMipmaps ???

    maybe the glu function is not appropriate for this texture. generate your own mipmap with a good filter function which doesn't make your texture red when approching small textures.

Similar Threads

  1. Using texture mapping for small rotatable 2d ornaments
    By Achim Schoen in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 08-23-2013, 02:47 AM
  2. Texture Mapping Triangle Strip VBO?
    By WelshWonder in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 02-25-2011, 12:03 PM
  3. Very small triangle
    By devdept in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 11-16-2009, 06:49 AM
  4. TRIANGLE TEXTURE MAPPING
    By Powerino in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 07-23-2003, 08:48 AM
  5. Texture mapping Triangle/Quad Strips
    By SuperCuzz in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 05-28-2001, 06:55 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