c++ - Displaying 3D Textured models in Opengl -


i new opengl, , followed tutorial on internet. can load 3d models, , display them 2d texture wrapped on them... able create 3d textured model in blender, , export opengl program, have exact same model same 3d texture on it. know has uvs, , texture models cannot find out what.... can me, suggest tutorial, or make special texture loader me (in c++ if possible )? ps: again, how load 2d textures, , wrap them on 3d model, not want!

i prefer .obj format import models blender. need write kind of obj loader. there tons of tutorials on how accomplish that. in nutshell need load positions, indices, normals, etc. .obj file.

i watch whole series. (or needs last video)

https://m.youtube.com/playlist?list=pleetnx-uptbxt9t-hd0bj31dsnwio-ywh

in last video shows how use .obj loader. , texture loader provided in tutorial.

if want export texture specified in blender theres line in .obj file contains path texture. load that.


Comments

Popular posts from this blog

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

node.js - Using Node without global install -

java - JavaScript + Thymeleaf - select onchange -