[Gambas-user] glu.sphere

tommyline at ...2340... tommyline at ...2340...
Fri Sep 30 10:22:21 CEST 2011


Hi Henri.

You can use just any Opengl example and add:



Private quad As GluQuadric    - in declaration



quad = glu.NewQuadric()      - in initializaction or screen_resize



glu.Sphere(quad, 0.5, 16, 16)     - in screen_draw. glu.sphere(quad,radius,slices,stacks)


That's it.
Reagards, Tomek.

----- Original Message -----
From: "Girard Henri" <girardhenri at ...67...>
To: gambas-user at lists.sourceforge.net
Sent: Friday, 30 September, 2011 8:58:25 AM
Subject: [Gambas-user] glu.sphere

Salut,

Je suis en train de me prendre la tete en essayant de faire une sphere 
en opengl, si quelqu'un pouvait m'envoyer un example simple de 
glu.sphere /glu.New quadric.
Je n'ai pas trouver d'exemple.
Merci d'avance
Henri

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list