pvyarashevich Posted October 1, 2018 Share Posted October 1, 2018 I had extracted data form *.nif file: vertex, triangles, textures. And successfully displayed it via vispy's opengl example (https://github.com/vispy/vispy/blob/master/examples/tutorial/gloo/textured_cube.py). Here texture applied with next code: "gl_FragColor = texture2D(texture, v_texcoord);". But how to applied two texture files, and how to apply color background (vertex color) for texture? Does anyone have experience to display nif mesh with opengl? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now