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?

JOGL Graphical Shapes

Connecting The Dots, Basic Rendering in OpenGL

Hexagon Lab - CS 315

OpenGL Sphere

ofBook - Graphics

Android Lesson One: Getting Started

QPainter Class

Connecting The Dots, Basic Rendering in OpenGL

Introduction to Computer Graphics, Section 3.1 -- Shapes and Colors in OpenGL 1.1

©2016-2024, changhanna.com, Inc. or its affiliates