pvyarashevich Posted October 3, 2018 Share Posted October 3, 2018 I had extracted data form *.nif file: vertex, triangles, textures. And successfully displayed it via vispy's opengl example (https://github.com/v...extured_cube.py). Here texture applied with next code: "gl_FragColor = texture2D(texture, v_texcoord);". But how to applied two texture files (*.dds and *_n.dds), and how to apply color background (vertex color) for texture (there is no alpha for some parts of items)? Does anyone have experience to display nif mesh with opengl? Link to comment Share on other sites More sharing options...
Recommended Posts