[Bf-python] OpenGL transparency in VIEW3D
jms
jmsoler at free.fr
Sun Mar 13 11:37:20 CET 2005
Gert De Roost a écrit :
>I am doing some research into the feasibility of
>making interactive GUIs for Python scripts using
>OpenGL in the 3D view. From my experiments, I come to
>the conclusion that all scripts linked to an object on
>Redraw, are executed BEFORE the internal Blender
>geometry is drawn.
>
Why do you not link the script to the scene :
#
import Blender
from Blender.BGL import *
glColor3f(0.6,0.8,0.9)
glRecti(20,20,520,520)
#
?
More information about the Bf-python
mailing list