Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Restart Line

This project demonstrates how to use glPrimitiveRestartIndex to draw different lines of different lengths using the SimpleIndexVAO class

The PrimRestartLine.py uses the build in PyNGL elements for ease but the update is slow.

The FasterVersion.py uses buffer created using Numpy to make things quicker, it also uses raw OpenGL commands to generate an Element Buffer Object

References