Hi,

please take a look at the

Plugin-PrimitivesGenerator

It is exactly doing that job of creating simple meshes of geometric primitives.

Best,
Jan Möbius

On 03.03.2015 15:31, Juliette Pera wrote:
Hello,

I am writing a plugin in which I would like to create a simple mesh (a cube for example) and display it, by clicking on a push button.
Right now, I can create my mesh and save it to a file but I cannot display it. 

​Do you know which function I should call in order to display the mesh?

Thank you,
Juliette​




_______________________________________________
Openflipper mailing list
Openflipper@lists.rwth-aachen.de
http://mailman.rwth-aachen.de/mailman/listinfo/openflipper


-- 
Dipl.Inform. Jan Möbius
Department of Computer Science VIII
Aachen University of Technology (RWTH)
Ahornstrasse 55, 52074 Aachen, Germany

Phone   ++49 (0)241 80-21802
Fax     ++49 (0)241 80-22899
mailto:moebius@cs.rwth-aachen.de
http://www.rwth-graphics.de