Hi all,

I was just wondering how to draw simple 2D forms, like rectangles, squares, 
circles,triangles,etc...
In fact, I'm trying to draw buttons,and I don't have found any low-level 
fonction to do that,without talking about Vertex.

I had the idea to use Vertex, like in lesson-002.py of the tutorial, i.e. :

model.Face(pyramid, [model.Vertex(pyramid,  0.5, -0.5,  0.5),
                     model.Vertex(pyramid, -0.5, -0.5,  0.5),
                     model.Vertex(pyramid, -0.5, -0.5, -0.5),
                     model.Vertex(pyramid,  0.5, -0.5, -0.5),
                     ], material)

But i don't know how to do this without using a world(Class need).


Thank you for your help.
Hervé.


--
Pour vous desabonner envoyez un mail a [EMAIL PROTECTED]

Reply via email to