Jayanam: Blender 2.8 Python : Draw Shapes in 3D View

Blender 2.8 Python : Draw Shapes in 3D View
Here is a new Blender 2.8 video in which I paint into the 3D view using a Python addon and the modules GPU, Blf and Bgl.

I registered 2 draw handlers, one for adding text to the view (2d, POST_PIXEL) and another one for 3d (POST_VIEW).

I draw lines along vertices that I add when I click in the view with the left mouse button and then I use this shape to create a plane from this, a mesh, that you can extrude afterwards.

My previous #Blender addon tutorial can be found here:

I will integrate this functionality into my hardsurface fast carve addon, that can be downloaded here for free, also for Blender 2.8:
https://github.com/jayanam/fast-carve/tree/fast-carve-2-8

See my social profiles here
G+: https://plus.google.com/+JayAnAm
Twitter: https://twitter.com/jayanamgames
Facebook: https://www.facebook.com/jayanamgames
Patreon: https://www.patreon.com/jayanam

Production Music courtesy of Epidemic Sound: http://www.epidemicsound.com

#blender28
#opengl

View on YouTube

Join the Discussion

Share your thoughts, ask a question, or tell us what you learned. Your first comment is reviewed before it appears. Once approved, future comments using the same name and email can appear directly, subject to spam checks.

Leave a Reply

Your email address will not be published. Required fields are marked *

Fix the Blender logo

Drag the loose piece into the missing part. A close fit is enough.

Loading verification…

Keyboard: arrows to move, Shift for fine adjustment, Enter to check. Verification only; movement is not stored. Logo: Blender.