Textured mesh in dash_vtk

Hello,

I have a wavefront obj file that comes with associated pngtexture files that I want to include in my web-app with dash_vtk.

As you can see in this picture, I successfully displayed the textured model in pure vtk and also found that vtk.js allows for textures.
Pure_vtk

However in dash_vtk I can’t figure out how to add the texture and only get the white mesh…
dash_vtk

Is it possible to texture the mesh using dash_vtk? The documentation unfortunately does not discuss this and it is not clear to me what properties of the vtk Actors, Mappers, etc. are really available and how I can leverage them for my goal.

Thanks a lot!

2 Likes