OpenGL obj renderer
Loading...
602
views
Loading...
Uploader Comments (DusteDdekay)
see all
All Comments (8)
-
Neat! Is the source available somewhere?
-
Mmmmm delicious OpenGL.
Loading...
Veree nais.
I have an OBJ loader on an engine I'm working on, and I have decided to ween myself of the old and into the new. (built in uniforms, you will be missed).
They way it is now is containers for normals, vertex and uvs. And indices sorted in groups -> faces.
Offcourse, the buffer messes up the indices i heard, so I'm currently reading about making a second VBO for the indices. (Moving from 2.0 to =>3.1 is confusing but well due its time)
How did you handle the datastructures?
slitor 1 month ago
@slitor I'm storing each object in a VBO as interlaced triangles
DusteDdekay 1 month ago in playlist Uploaded videos
@DusteDdekay Is that, objects as groups/sections of a model or do you mean the entire mesh?
slitor 1 month ago
@slitor An entire obj file, my "engine" is very simple, and so, to make an "object" with movable parts, multiple .obj files would have to be loaded and attached together via the scene graph. To avoid myself loosing my breath, I chose to see objects with the same amount of simplicity as sprites, just in 3D, for now until I become better.
DusteDdekay 1 month ago
Very nice! Makes my object loader look like crap :-P
jamwaffles 6 months ago
@jamwaffles Don't worry about that, 99% of the stuff I see around makes this look like it was done by a child in kindergarden with downs.. While sleep-typing.. In 30 minutes.. But well, coding is food for your soul, and about personal development and discovery, don't ever compare yourself with others, it'll only make you feel bad.
DusteDdekay 6 months ago