© Bernard Korites 2023
B. KoritesPython Graphicshttps://doi.org/10.1007/978-1-4842-9660-8_6

6. Hidden Line Removal

Bernard Korites1  
Duxbury, MA, USA

Most of the models used in the previous chapters were essentially stick figures constructed of dots and lines. When such objects are viewed in three dimensions, it is possible to see the lines on the back side, as if the objects are transparent. This chapter is concerned with removing the lines, which are normally hidden, from objects so they appear solid.

This chapter will cover two types of situations. The first is called intra-object hidden line removal. This refers to removing hidden lines from a single object, such as a box. We assume that most objects are constructed of flat planes; examples ...

Get Python Graphics: A Reference for Creating 2D and 3D Images now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.