SFML community forums

Help => General => Topic started by: jsmtux on January 22, 2011, 07:51:15 pm

Title: openGL picking inside Gtk widget
Post by: jsmtux on January 22, 2011, 07:51:15 pm
Hi, my name is jsmtux and, although i've been using SFML for quite a long time now, this is my first post in this forum.
I'm having a quite weird problem.
I'm developing a game creator using SFML, with openGL embedded in a Gtk window.
I could pick objects inside the widget, and move them inside it with the mouse. But, yesterday it stopped working. Eventually I tried with a backup which used to work flawlessly and it no longer worked, so I think it might be a libraries-related problem.
Please help me if you have any idea.
Thank you very much.
Title: openGL picking inside Gtk widget
Post by: Nexus on January 22, 2011, 09:06:55 pm
Did you recently update SFML, Gtk or a driver? Or what have you changed since it worked (configurations or something)?
Title: openGL picking inside Gtk widget
Post by: jsmtux on January 23, 2011, 03:01:08 am
I don't know; i'm using ubuntu and I've updated the system as always.
Title: openGL picking inside Gtk widget
Post by: danman on January 23, 2011, 10:26:39 am
Which version of ubuntu are you using ?
And what's your graphics card ? your graphics driver ?
Title: openGL picking inside Gtk widget
Post by: jsmtux on January 23, 2011, 12:01:02 pm
Ubuntu 10.10 (maverik), and ati 5600HD with proprietary drivers.
I don't think it is a Gtk issue, as I get the coordinates of the mouse when I click. However, I've written a simple program to test picking with sfml and OpenGL only and it worked flawlessly, so I don't know what to think.
Title: openGL picking inside Gtk widget
Post by: jsmtux on January 26, 2011, 01:19:54 pm
It's ok, don't worry.
I've implemented color picking and it works as needed.
Thanks for your interest!