c++ - how to draw polygons in OpenGL that have an outline drawn

By A Mystery Man Writer

How can I draw a shape like this in OpenGL? I mean, I know how to draw polygons in OpenGL. I want to know how to make the outline black and the fill color ( for example ) yellow?

Connecting The Dots, Basic Rendering in OpenGL

OpenGL Programming Guide Second Edition - Niksula

An introduction on OpenGL with 2D Graphics - OpenGL Tutorial

An introduction on OpenGL with 2D Graphics - OpenGL Tutorial

An introduction on OpenGL with 2D Graphics - OpenGL Tutorial

Modern OpenGL: Part 3, Hello Triangle – Daniel Elliott

How to draw a polygon in C++ such that the lines do not intersect? - Stack Overflow

ofBook - Graphics

Hexagon Lab - CS 315

©2016-2024, reintegratieinactie.nl, Inc. or its affiliates