Help! Flickering textures

New Message Reply Date view Thread view Subject view Author view

Terence Ker (terence++at++systech.hinet.net)
Mon, 14 Aug 95 17:10:10 -0700


Dear Performer friends:

     I used naive way to make a large grass land, completely flat, by
making use of the Triangle strip pfGeoSet and apply a texture 256x165
on it. It looks good at the near but the textures seemed to be squeezed
at the far, flickering and crawling.

     I attach a pfGeoState to the pfGeoSet. Inside that pfGeoState,
I used the following attributes:

        grass_tex = pfNewTex(vgGetSharedArena());
        pfLoadTexFile(grass_tex, "grass.rgb");

        pfTexFormat(grass_tex, PFTEX_INTERNAL_FORMAT, PFTEX_RGBA_8);
        pfTexFormat(grass_tex, PFTEX_EXTERNAL_FORMAT, PFTEX_PACK_8);
        pfTexFilter(grass_tex, PFTEX_MAGFILTER, PFTEX_BILINEAR);
        pfTexFilter(grass_tex, PFTEX_MINFILTER, PFTEX_BILINEAR);
        pfTexRepeat(grass_tex, PFTEX_WRAP, PFTEX_REPEAT);

    Is this the problem of "projected textues" which I have seen quite
frequently discussed in this mail group? How should I solve the problem?
by MipMap? HOw?

      
                            
                                              -= Terence Ke =-

                                            Systems & Technology
                                            Taipei, Taiwan
                                e-mail: terence++at++systech.hinet.net


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:47 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.