Open lucasnavisens opened 6 years ago
@lucasnavisens It looks like this module was originally added by @almarklein and updated by a few other people later. I am not familiar with this format so if there is a feature you need you may need to implement it yourself as I won't have time to look in to this. Pull requests are welcome and I can provide any help if you need it.
@lucasnavisens What do you need in the MTL file? Current workarounds:
ambient_light_color
, color
, shading
, shininess
(see http://vispy.org/visuals.html#vispy.visuals.MeshVisual.ambient_light_color for the list of attributes)Hi @asnt,
I needed to texture map from image to mesh and alongside this the material / reflection attributes associated to the texture / mesh to render a phone in 3d and apply the screen textures to it for a video.
It isn't an immediate project anymore but thanks will try when I have time.
This is the video of the 3d visualizer (with dark background) written with vispy to get a better understanding: https://www.youtube.com/watch?v=oyqCsjdJhBg&t=1s
Cheers. Thanks!
Hi,
I'm loading an obj file with its associated mtl file, it seems in your wavefront.py file loader you explicitly skip the mtllib line. See below:
Is there a way to load the mtl and obj directly using vispy ?
Thanks.