3D viewer v1.0
# Related
# #todo
What are precompiled headers?
Choosing a GUI library: ImGui looks fine. Also Nuklear. Qt is too complex for this.
# Notes from the subject
Таким образом при использовании структурного стиля получается, что программа строится в виде “слоеного пирога” сверху вниз. Ошибки генерируются на нижних уровнях и прокидываются на самый верх, где выводятся пользователю.
Сомнительный паттерн, но ок.
Use gcc
, C11 standard.
# Random
Should use glPolygonMode( GL_FRONT_AND_BACK, GL_LINE );
for rendering the wireframe.glfwSwapInterval(1)
for vsync
# Links
Examples
Various OpenGL stuff
- Урок 2. Отображение полигонов
- opengl - How to render the wireframe of a cube without the diagonals on the faces
- Wireframes on fragment shaders - it’s for Vulkan though
- Wireframes with barycentric coordinates
- Drawing Lines is Hard
- mhalber/Lines: 6 different implementations of doing wide line rendering in OpenGL
Drawing dashed lines in OpenGL
Probably use this to draw lines
Draw different length of LINE_LOOPs from buffer
glMultiDrawElements
Math