OpenGL C++ - How to Load and Show a Model 3D

preview_player
Показать описание
Use C++ - OpenGL - GLUT to load wavefront .obj 3D model
Drag Right mouse to rotate
Scroll mouse to zoom in/out
You can create obj file by Blender, 3DS Max ...

Sound: How it Began - Silent Partner
Рекомендации по теме
Комментарии
Автор

Awesome video, it helped me to improve my skills in OpenGL. Thank you!

Lghtboro
Автор

This feels like it was recorded in 2009.

filiphedman
Автор

Nguyen, i am getting "vector subscript out of range" error. i am running vs studio community 2022 v17.8.1.
what do i miss? any helps?

sarminsarmin-bj
Автор

Thanks for sharing, it works pretty good!

navidendi
Автор

There is no header file pushed in github repo can you provide loadpng.h, process_image.h and gl_texture.h file code

hd_
Автор

Nice its super simple to understand ngl i read the source code

avnqi
Автор

Thank you, this helped alout for first time prototyping. Now I have a Forza Motorsport 3 model in my own OpenGL app. I wonder how easy would it be to smooth the normals?

raveltammeleht
Автор

Anh ơi, file của em khi chạy cứ báo lỗi LNK1104 cannot open file ‘freeglut.lib’ thì phải fix như nào v anh -_-

quocmangtang
Автор

Hi bro I have a binary file called .mef which is a 3d model of a game
I know all coordinates of vertices, faces, etc

How can I load it in opengl

maddcodes
Автор

Excellent work. I loaded one of my own obj models approx 16, 000 faces and it worked seamlessly. How would u go about adding multiple models into a scene?

arcangel
Автор

have you tried to store the v, vt, n, and f values to local arrays, then to vbo and vao? I tried to make my own .obj renderer some months ago and it worked but I used global arrays and you know, using global variables isn't the best idea.

anyways, nice video tutorial. thumbs up

kosasigwalo
Автор

I made one like this and it was good, but the coordinate transform math is very confusing

mrlithium
Автор

Whatever I do, I keep getting the error 'identifier "glBegin" is undefined' and mostly everything that starts with 'gl' is getting the same error. I wrote that they are deprecated and even removed from newer opengl (since 3.1 they are removed). I'm currently at version 4.6 ... so there is no chance, right?

wizzard
Автор

could you please share the libraries you wrote for loading png

abinkrajan
Автор

Hi am getting error while loading texture can u pls help me with this

madhan
Автор

Bác có nhận làm file opengl riêng ko ạ

sonduongthai
Автор

anh cho em hỏi, em dùng DevC++ để code mà không có thư viện glut thì phải tìm ở đâu ạ?

dauanhoabinh
Автор

anh ơi, cái thư viện #include "../Library/loadpng.h" là gì thế ạ, em tìm mãi mà không thấy, anh có thể cho em được không ạ, em cảm ơn

tranvanmanh
Автор

a chạy code lỗi ở #include "../Library/loadpng.h"
#include "../Library/process_image.h"
#include "../Library/gl_texture.h"
lm sao cho hết lỗi a

atphanthanh
Автор

Mình chạy được rồi, nhưng bạn cho mình hỏi, muốn kiếm thêm mấy file .obj như trong video thì làm kiểu gì vậy?

ucluong