OpenGL with Python 5: Loading Obj Models

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

thank you so much. idk why, but all the greatest coders get the less likes
wow amazing.

Mikendlela
Автор

Let's say that I want to load my own 3d obj. I tried to change the file name and obj file, but I'm still running into an error. It states that I wrote a wrong base.

Although I should keep trying. Please try to help if you get a chance.

Mikendlela
Автор

I found in some meshes, for some unexplainable reason, the texture coordinates can be negative.

Multiplying them by minus 1in this case seems to align them correctly.

CoolDude
Автор

Hey. I just followed along and when I load my model, the texture won't display correctly. It's propably because the UVs aren't like they are suppost to. Is there a solution?

LauLauHip
Автор

Hello, when I try to load the cube in my scene, all the triangles are everywhere, not formed as a cube. I even tried copy the whole wavefront parser from your github but I got the same results. Do you have any clues on how to solve this problem?

multinode
Автор

Am I wrong....but isn't the thing you labeled as faceVerticies, faceTextures, faceNormals just indices for the arrays? more over....if you don't care about texture coordinates and normals, you can use the faceVerticies as the data for the IBO. Obviously you know what you are doing, but I think the naming you used is a bit misleading.

NikolaNevenov
Автор

Am I crazy or are you slowly starting to sound like Andrew Price as each episode progresses?

austin-multicellular
Автор

raise ShaderValidationError( Validation failure (0): b'Validation Failed: No vertex array object bound.\n'

I dont why the program stuck at here. i coudn't fix it. Can u help me pls?

phamtienphatt