r/GraphicsProgramming • u/VerasNp • Sep 30 '26
triangle meshes :)
Studing triangle meshes on my renderer using half edge data structure for my university course. Dont know why some edges have some stranges dots.
Guess the character... (texture not implemented yet)
Edit: it was done importing a wavefront (.obj) from blender to my own render engine. Read just vertices and face data, the others attributes for half edge are builded with those informations
44
Upvotes
View all comments
Show parent comment
2
u/VerasNp Sep 30 '26
Well, half edge is a data structe more optimized for queries, you can have many information about the edge neighborhood, face or vertex, unlike a simpler data structure that u will have to run all over the list when searching some information. The cons? You store much more data, but in my interpretation is worthy when u have a major query power about your mesh structure...
When i was implementing the shadows some troubles about shadow-acne appeared and was something similar (floating errors), maybe is a good first try. Thks for the contribution