Non-framework model render in OpenGL C++ code

edited February 2021 in Help

Hello, I’m use only Core (v. 4) in my code, at this moment I have all parameters, parts, etc. from .moc3 file.

From moc3 I also have coordinates for any part (x, y, u, v), and I see there is a lot of vertexes for each part, more then 4 or 6 needed for standard OpenGL VAO/VBO/EBO drawing.

So, my question is: how can I render model or what I need to do with coordinates?

p.s. sorry for my broken English)

Tagged:

Comments

  • edited February 2021
    Well, I solved this question: I thought of parts of model as 2d sprites, but in fact they are like 3D meshes =) For rendering, you need to create a dynamically generated VAO / EBO. Now I am thinking about converting x and y to my render area.
Sign In or Register to comment.