Is it possible to highlight an edge loop with bgl?

Can bgl work in edit mode?

I have an edge loop selected & would like to draw bgl and have those edges highlighted. Any bgl examples out there I can use.


For blender 2.8 you have to use the Gpu module for drawing, its easier than bgl imo.

I made a module to help drawing lines, it uses gpu but abstract away the complicated functions.


Thanks! I’ll see if I can store loop coordinates & assign them.

thanks for the great example!

1 Like