Search found 14 matches

by DougS
Thu Nov 17, 2011 04:43
Forum: Bug Reports, Suggestions, Feature Requests
Topic: kudos, assert/abort, baby pics
Replies: 1
Views: 3177

kudos, assert/abort, baby pics

First of all, kudos to all who have laboured to bring cegui to life over the years. I needed a gui for my opengl project and cegui 0.7.5 is serving well. Second, I just went through a week of intense debugging my opengl+cegui+sdl+pthreads + etc. game-ish app when a race condition reared its ugly hea...
by DougS
Fri Apr 01, 2011 19:17
Forum: Offtopic Discussion
Topic: Making the wiki a better place
Replies: 18
Views: 165144

Re: Making the wiki a better place

If you want to upload source files, the preferred way is to put them to the page directly and use the <source lang="cpp"> tag to highlight them. Even though I understand your point, allowing zip archives on the wiki opens up a lot of ways to abuse it. (which is probably why it's disallowe...
by DougS
Wed Mar 30, 2011 00:30
Forum: Offtopic Discussion
Topic: Making the wiki a better place
Replies: 18
Views: 165144

Re: Making the wiki a better place

You should be able to login with the same username and password as the ones you use to login to this forum. Send me a PM if it doesn't work. I'm all sorted there now and able to log in ok. I was about to upload a small example cegui_opengl_example.zip (~300k) to the wiki and link it to http://www.c...
by DougS
Sun Mar 13, 2011 21:45
Forum: Offtopic Discussion
Topic: Making the wiki a better place
Replies: 18
Views: 165144

Re: Making the wiki a better place

wiki is in a bad shape is because of lack of edits in it The reason may be not what you think. I was put off from editing the wiki because I wasn't able to. The instructions seemed to indicate that if you have registered with the forum (here) then you are able to post to the wiki. But I was not abl...
by DougS
Sun Mar 13, 2011 03:22
Forum: Help
Topic: [solved] win32 mingw, losing my glut teapot
Replies: 5
Views: 4610

Re: win32 mingw, losing my glut teapot

Ok ... for some systems, it seems the view/perspective gets re-arranged, and needs to be re-set each render: // // (draw your application OpenGL here, as usual) // // (typical OpenGL sequence for display size change) glViewport (0, 0, (GLsizei) _width, (GLsizei) _height); glMatrixMode (GL_PROJECTION...
by DougS
Sat Mar 12, 2011 07:50
Forum: Help
Topic: [solved] win32 mingw, losing my glut teapot
Replies: 5
Views: 4610

Re: win32 mingw, losing my glut teapot

Ok ... I am now getting my OpenGL application AND CEGUI mingw to draw (using g++ -mno-cygwin) - with WinAPI (WinMain/WndProc etc). :) Still have some issues to iron out, but I am optimistic they will get solved too. (Unfortunately, I have circumvented the teapot example for the time being. So, techn...
by DougS
Sat Mar 12, 2011 05:01
Forum: Help
Topic: [solved] win32 mingw, losing my glut teapot
Replies: 5
Views: 4610

Re: win32 mingw, losing my glut teapot

Would you mind to elaborate on how exactly calling WinAPI functions solved this problem? I haven't solved my MinGW issue just yet, but I noticed that the CEGUI Samples for Windows used the WinAPI (WinMain, WndProc etc.) rather than the (*nix -like) main(), and so don't use the glut event processing...
by DougS
Fri Mar 11, 2011 01:22
Forum: Help
Topic: [solved] win32 mingw, losing my glut teapot
Replies: 5
Views: 4610

Re: win32 mingw, losing my glut teapot

Ok, I led myself down the wrong path I believe by expecting to do this for win32 completely within glut, and without having to resort to ms windows win32 api . I'm seeing that the CEGUI Samples are dipping down into wonderful (?) world of MS-Windows to do what must be done. But so close without havi...
by DougS
Thu Mar 10, 2011 07:03
Forum: Help
Topic: [solved] win32 mingw, losing my glut teapot
Replies: 5
Views: 4610

[solved] win32 mingw, losing my glut teapot

Update: solved by re-issuing gl viewport/perspective sequence each render. Details in a post below. Ok, I am now trying to make the glut teapot appear, as before, under CEGUI in a test program, on a different platform (Win32, mingw, opengl). I've gotten everything to compile, and now my CEGUI layout...
by DougS
Tue Mar 08, 2011 03:56
Forum: Help
Topic: [solved] OpenGL example - ok running remotely, but ...
Replies: 6
Views: 6008

Re: [solved] OpenGL example - ok running remotely, but ...

I should clean up my minimal glut example version and update the glut example here on cegui's wiki. Alas, not allowed into the wiki with my forum account. Here's the minimal CEGUI OpenGL example. When you run it, you should see a glut teapot, with a nice CEGUI window on top. The C++ source first .....
by DougS
Mon Mar 07, 2011 05:42
Forum: Help
Topic: [solved] OpenGL example - ok running remotely, but ...
Replies: 6
Views: 6008

Re: [solved] OpenGL example - ok running remotely, but ...

Once I get this going it might be nice to update the Using_CEGUI_with_GLUT tutorial with the missing/changed v0.7.5 bits. I should clean up my minimal glut example version and update the glut example here on cegui's wiki. I found a another issue with key injection: was missing a key-down injection,...
by DougS
Sat Mar 05, 2011 21:41
Forum: Help
Topic: [solved] OpenGL example - ok running remotely, but ...
Replies: 6
Views: 6008

Re: OpenGL example - ok running remotely, but ...

Solved! :D Short answer : I needed the usual OpenGL reshape and display callbacks, and I needed to have done things the traditional glut way. So, instead of rolling our own glut event processing loop, we just set up a reshape and display function as is usually done in glut: glutReshapeFunc (myReshap...
by DougS
Fri Mar 04, 2011 09:12
Forum: Help
Topic: [solved] OpenGL example - ok running remotely, but ...
Replies: 6
Views: 6008

Re: OpenGL example - ok running remotely, but ...

Just to confirm one thing: the regular CEGUI samples (no teapot!) run ok locally? Or also only remotely? Hello, and thanks for such a quick response! To confirm: the CEGUI Samples (like CEGUI-0.7.5/Samples/TextDemo/ ...) work nicely both locally and remotely. It is just my "Using CEGUI with GL...
by DougS
Fri Mar 04, 2011 04:15
Forum: Help
Topic: [solved] OpenGL example - ok running remotely, but ...
Replies: 6
Views: 6008

[solved] OpenGL example - ok running remotely, but ...

update: Solved; needed reshape,display callbacks, and usual glut event processing (see post below). I've managed to build the CEGUI 0.75 from source (on a puppy linux 4.31 devx system), and get the Samples running (all the ones I've tried, at any rate). After going through the "Using CEGUI wit...

Go to advanced search