Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: openGL picking inside Gtk widget  (Read 3857 times)

0 Members and 1 Guest are viewing this topic.

jsmtux

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://fortalezadetovar.net/, http://open2d.sourceforge.net/
openGL picking inside Gtk widget
« 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.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
openGL picking inside Gtk widget
« Reply #1 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)?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

jsmtux

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://fortalezadetovar.net/, http://open2d.sourceforge.net/
openGL picking inside Gtk widget
« Reply #2 on: January 23, 2011, 03:01:08 am »
I don't know; i'm using ubuntu and I've updated the system as always.

danman

  • Hero Member
  • *****
  • Posts: 1121
    • View Profile
    • Email
openGL picking inside Gtk widget
« Reply #3 on: January 23, 2011, 10:26:39 am »
Which version of ubuntu are you using ?
And what's your graphics card ? your graphics driver ?
Pointilleur professionnel

jsmtux

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://fortalezadetovar.net/, http://open2d.sourceforge.net/
openGL picking inside Gtk widget
« Reply #4 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.

jsmtux

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://fortalezadetovar.net/, http://open2d.sourceforge.net/
openGL picking inside Gtk widget
« Reply #5 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!

 

anything