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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jsmtux

Pages: [1]
1
Graphics / VAO gets invalid after calling app.display()
« on: July 22, 2013, 08:13:58 pm »
I have a weird problem, after calling app.display when I call glBindVertexArray I get an Invalid operation error.

cout  <<int(glIsVertexArray(2));
       
        this->display();
        cout  <<int(glIsVertexArray(2));

If I set up a VAO with id 2 if I call this code I get that before calling display it is valid and after it isn't.

Could anyone tell me why is this happening.
Thank you very much

2
General / openGL picking inside Gtk widget
« 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!

3
SFML projects / Open2D (Game editor/creator)
« on: January 24, 2011, 01:53:14 pm »
Thanks!
It's currently linux only, but all libraries are portable, so it's not too difficult to port.
The code is in a git repository:
git clone git://git.code.sf.net/p/open2d/git.git open2d

In order to compile it you need to install some libraries:
sudo apt-get install libsfml-dev build-essential libglu-dev libgtkglextmm-x11-1.2-dev libgtkglext1-dev libgtkmm-2.4-dev liblua5.1-0-dev (if you are in ubuntu)

and enter this commands:
sudo ln -s /usr/include/lua5.1/{lauxlib.h,luaconf.h,lua.h,lua.hpp,lualib.h} /usr/include/
sudo ln -s /usr/lib/liblua5.1.a /usr/lib/liblua.a
which will link the lua libraries so you can compile and run it.

It's currently in spanish but i'll translate it soon.
Thanks for your interest.
Feedback is really appreciated.

4
SFML projects / Open2D (Game editor/creator)
« on: January 23, 2011, 12:13:27 pm »
Hi all!

I'm posting about a project called Open2D. It aims to be a complete game creator, with lua as scripting language, that will eventually let you make all kinds of 2D games. Currently I'm working on platformers, but once I extend the lua API it will be much more flexible.
It is really fast, written in C++ and OpenGL.
It only works in linux atm, but it's still a work in progress.
I'll post the source code if you're interested once I've solved a little problem I have.



It's webpage is http://open2d.sourceforge.net/ it's not in english though.

5
General / openGL picking inside Gtk widget
« 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.

6
General / openGL picking inside Gtk widget
« on: January 23, 2011, 03:01:08 am »
I don't know; i'm using ubuntu and I've updated the system as always.

7
General / 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.

Pages: [1]