[Gambas-user] glu.sphere

2011-09-30 Thread Girard Henri
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

Re: [Gambas-user] glu.sphere

2011-09-30 Thread Benoît Minisini
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 This is an english mailing-list : please go the french

Re: [Gambas-user] glu.sphere

2011-09-30 Thread tommyline
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,

Re: [Gambas-user] glu.sphere

2011-09-30 Thread Girard Henri
Le 30/09/2011 10:16, Benoît Minisini a écrit : 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 This is an english

Re: [Gambas-user] Issue 116 in gambas: sigfault with gb.db component

2011-09-30 Thread gambas
Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 116 by benoit.m...@gmail.com: sigfault with gb.db component http://code.google.com/p/gambas/issues/detail?id=116 (No comment was entered for this change.)

Re: [Gambas-user] glu.sphere

2011-09-30 Thread Girard Henri
Le 30/09/2011 09:58, Girard Henri a écrit : In english : Hi, I am looking for an example in opengl concerning glu.sphere /glu.New quadric. If someone could help be very thanks, a simple example would be appreciated. kind regards Henri Salut, Je suis en train de me prendre la tete en

Re: [Gambas-user] Issue 117 in gambas: Clean Up deletes library files

2011-09-30 Thread gambas
Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #1 on issue 117 by benoit.m...@gmail.com: Clean Up deletes library files http://code.google.com/p/gambas/issues/detail?id=117 Yes, clean up remove all file having the .gambas extension. But why do you want to

Re: [Gambas-user] glu.sphere

2011-09-30 Thread Girard Henri
Thanks i just send another mail before I read your email ! I am trying it :) regards Henri Le 30/09/2011 10:22, tommyl...@eircom.net a écrit : Hi Henri. You can use just any Opengl example and add: Private quad As GluQuadric- in declaration quad = glu.NewQuadric() - in

Re: [Gambas-user] Issue 116 in gambas: sigfault with gb.db component

2011-09-30 Thread Emanuele Sottocorno
It is fixed with rev #4164 Thanks! Emanuele -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent

[Gambas-user] glu.wireCube or glu.wireSphere

2011-09-30 Thread Girard Henri
Hi, Is there a way of doing in gambas opengl glu.wireCube (with example)? I can't find it anywhere ? thanks Henri -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a

[Gambas-user] R: Using ALSA library from Gambas

2011-09-30 Thread Ru Vuott
Hello Benoît, I tried rev. 4160 about your trick, and everything went perfectly. So, I'ld like to thank you very much again. Regards Paolo --- Mer 28/9/11, Benoît Minisini gam...@users.sourceforge.net ha scritto: Da: Benoît Minisini gam...@users.sourceforge.net Oggetto: [Gambas-user]

Re: [Gambas-user] glu.wireCube or glu.wireSphere

2011-09-30 Thread tommyline
Hi Henri, Unfortunately Wire cube, or WireSphere is a part of the GLUT library which is not implemented in Gambas. But based on Freeglut source, I made my own glut geometry module. Public Sub WireCube(dSize As Float) Dim size As Float = dSize * 0.5 gl.Begin(gl.LINE_LOOP)

Re: [Gambas-user] glu.wireCube or glu.wireSphere

2011-09-30 Thread Girard Henri
Le 30/09/2011 19:44, tommyl...@eircom.net a écrit : Works fine for wirecube but i got an out of bounds for the wiresphere at: sint1[size] = sint1[0] Wiresphere(1.0,5,5) for example Need help regards Henri Hi Henri, Unfortunately Wire cube, or WireSphere is a part of the GLUT library which is

Re: [Gambas-user] glu.wireCube or glu.wireSphere

2011-09-30 Thread tommyline
I'm sorry, there was a bug. Instead of '/* Pre - computed circle * / size = - slices should be '/* Pre - computed circle * / size = slices'No minus here!!! you get sint1[-5] = error. Regards, Tomek - Original Message - From: Girard Henri girardhe...@free.fr To:

Re: [Gambas-user] glu.wireCube or glu.wireSphere

2011-09-30 Thread Girard Henri
Le 30/09/2011 22:24, Girard Henri a écrit : Thanks for quick reply ! Works fine :) regards Henri Le 30/09/2011 19:44, tommyl...@eircom.net a écrit : Works fine for wirecube but i got an out of bounds for the wiresphere at: sint1[size] = sint1[0] Wiresphere(1.0,5,5) for example Need help