Search found 186 matches

by jornmo
Friday 22nd March 2019 5:17pm
Forum: Component
Topic: Custom control - dependency issue?
Replies: 5
Views: 19

Re: Custom control - dependency issue?

That looks right to me. How du you use it in your app? Did you make an intallation package of it, and install it on your system?
by jornmo
Friday 22nd March 2019 10:46am
Forum: Component
Topic: Custom control - dependency issue?
Replies: 5
Views: 19

Re: Custom control - dependency issue?

Take a look under point #2 under introduction:

http://gambaswiki.org/wiki/dev/gambas
by jornmo
Tuesday 19th March 2019 6:08pm
Forum: SDL & OpenGL
Topic: GLCAD - First attempt to make a CAD program with Gambas and OpenGL
Replies: 1
Views: 24

GLCAD - First attempt to make a CAD program with Gambas and OpenGL

First baby steps :)
CADgl-0.0.1.tar.gz
(12.95 KiB) Downloaded 3 times
by jornmo
Tuesday 19th March 2019 9:22am
Forum: General
Topic: Project name Title name, hidden files = confusing
Replies: 8
Views: 69

Re: Project name Title name, hidden files = confusing

For Windows, one can use Cygwin. It is a bit cumbersome, but it is better than VirtualBox/VMWare. If the app is non-gui, one can also use the Ubuntu from the Windows Store.
by jornmo
Monday 18th March 2019 11:42am
Forum: SDL & OpenGL
Topic: How to draw in a GLArea?
Replies: 5
Views: 27

Re: How to draw in a GLArea?

Quincunxian wrote:
Sunday 17th March 2019 10:44pm

... from memory the G3 implementation did not have some of the more in-depth shader and texture processes translated when I was looking; but it was a few(several) years ago now.
It says in the documentation that the library/ies are fully supported as of now.
by jornmo
Monday 18th March 2019 11:39am
Forum: SDL & OpenGL
Topic: How to draw in a GLArea?
Replies: 5
Views: 27

Re: How to draw in a GLArea?

A good thing to notice is that 'Tracking' must be set to 'True' for the GLArea to receive MouseMove()ments.
by jornmo
Monday 18th March 2019 9:00am
Forum: SDL & OpenGL
Topic: How to draw in a GLArea?
Replies: 5
Views: 27

Re: How to draw in a GLArea?

Hi Quin :) Actually, NeHe is on the Farm. I used that for some insight on the GL code itself. But, it is cool seeing from where it came. Thanks! It seeems when using the GLArea one needs to use .Begin() and .Flush() in addition to the code used in the NeHe app on the Farm. One also needs to be aware...
by jornmo
Sunday 17th March 2019 8:53pm
Forum: SDL & OpenGL
Topic: How to draw in a GLArea?
Replies: 5
Views: 27

Re: How to draw in a GLArea?

I read some C++ examples and "figured it out". ' Gambas class file Public Sub Form_Open() gl.ClearColor(0.0, 0.0, 0.0, 0.0) gl.Viewport(0, 0, 500, 500) gl.MatrixMode(gl.PROJECTION) gl.LoadIdentity() gl.Ortho(0, 500, 0, 500, 1, -1) gl.MatrixMode(gl.MODELVIEW) End Public Sub GLArea1_Draw() gl.Clear(gl...
by jornmo
Sunday 17th March 2019 7:42pm
Forum: Lounge
Topic: I created a new subforum
Replies: 0
Views: 16

I created a new subforum

Hi!

I created a new subforum for SDL and OpenGL. I just though that since there's so little information about it around on the internet (in regards to Gambas that is), all the information this forum can produce on the topic deserves to be easily found :)
by jornmo
Sunday 17th March 2019 7:40pm
Forum: SDL & OpenGL
Topic: How to draw in a GLArea?
Replies: 5
Views: 27

How to draw in a GLArea?

Hi! Does anyone know how I can draw inside a GLArea ? I tried some GL methods inside the GLArea's Draw event, but the area remains pitch black. The farm has no examples, exept the ones using OpenGL combined with SDL, which is not what I want. DuckDuckGo ( ddg.gg ) leaves me non the wiser as well... ...