I want to render simple lines on the 3D viewport through a modal operator but not using glBegin/End because those commands are deprecated in opengl 3.3 and will not be avaliable on 2.8 leaving me without options since I am noob on open GL.

Could someone giveme a help at least on finding good examples on the openGl? I didn't find anything that actually work on the most recent versions.

Seems like if I want to render simple stuff, now I will need to know about buffers, arrays, bytes, shaders and all that scarry stuff.

  • 4
    $\begingroup$ Impatient to find more info on this myself... so I'm keeping an eye on the math_vis addon $\endgroup$
    – batFINGER
    Aug 6, 2018 at 14:36
  • $\begingroup$ Also, interested in doing this. It's a bit frustrating right now. Nobody seems to know anything specific about the future of bgl in 2.8 $\endgroup$
    – MACHIN3
    Sep 20, 2018 at 11:04


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.