Problem with displaying textures
See original GitHub issueUntil I commented out line 139 in visualizer.py, textures wouldn’t show and instead, models were covered in stripe-like patterns, whose colors were somewhat like the texture they were supposed to have.
System Details: ARMv7 Quad Core CPU @ 1.4GHz Broadcom Videocore-IV GPU 1GB RAM
OS Details: Debian 9 (Stretch)
Here’s the code in visualizer.py that causes the problem. I found that by commenting-out the last line (glTexParameterf(texture.image.target, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE)), pywavefront rendered textures properly:
def bind_texture(texture):
"""Draw a single texture"""
if not getattr(texture, 'image', None):
texture.image = load_image(texture.find())
glEnable(texture.image.target)
glBindTexture(texture.image.target, texture.image.id)
glTexParameterf(texture.image.target, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE)
#glTexParameterf(texture.image.target, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE)
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Common Texture Issues and How to Fix Them in Blender
In this video, I will help you troubleshoot some common issues with textures and materials in Blender, as well as give you some...
Read more >Textures display as classified or as if in low resolution
Problem: Textures display as classified or as if in low resolution. Description. Raster images display rough and pixelated in ArcScene, while they display ......
Read more >How to fix a distorted texture of coloured strips and dots on ...
Check computer's cables and connections · Reboot computer · Reset monitor to default · Push degauss button · Remove all connected devices ·...
Read more >Issues with getting textures to display properly
I always have a lot of issues with the materials and textures in Blender. Usually I can eventually figure it out but this...
Read more >OpenGL3 the wrong texture is displaying
You need to store the texture name and the sampler uniform location separate. You should use better naming conventions than "id"; uniform ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks @einarf , it works perfectly.
Please give the new version a go and close this issue if resolved.
Texture repeat can now be controlled with the
clamptexture options.The texture option is set in the mtl file.
Clamping is now disabled by default and detected in visualization.