why some textures did not load correctly in vedo library in python?
See original GitHub issueI’m trying to load some .obj files with their texture by vedo lib:
from vedo import *
from transparent import *
mesh = Mesh("3d/gol1/raw_model.obj")#load 3d model
mesh.texture("3d/gol1/texture.png")#load texture on 3d mode
plt = Plotter(offscreen=True)
plt += mesh
plt.show().screenshot("hi.png")#save as png
I added Images in StackOverflow question
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
why some textures did not load correctly in vedo library in ...
from vedo import * settings.useDepthPeeling = True msh = Mesh("normalized_model.obj").texture("texture.png") show(msh, axes=1).
Read more >Textures - LearnOpenGL
A texture is a 2D image (even 1D and 3D textures exist) used to add detail to ... and probably a good one,...
Read more >pyglet.image — pyglet v2.0.2
(This is the most efficient way to obtain a texture; some images are immediately loaded as textures, whereas others go through an intermediate...
Read more >Assetto Corsa Mods - Top 5 Fixes for Errors (Race Canceled
A successful Assetto Corsa mod experience depends on minimizing errors ... This video covers my top 5 fixes for common problems like Race...
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 FreeTop 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
Top GitHub Comments
I think I’ve found the issue… Try the dev version:
pip install -U git+https://github.com/marcomusy/vedo.git
I’m not completely sure why that happens but depth peeling fixes it…: