Two programs interface with one another
Hello, I want to program a particle editor for Linux but I have come across a problem. The GUI of the editor is going to be written using GTK while the actual rendering of particles will be done with SDL using OpenGL for hardware acceleration. I cannot use another GUI for SDL so that is not an option therefore I need to somehow make the GUI talk to the particle system. The thing is I have no idea how to make something like this work. Help!
I don't know too much about this, but I am going to hazard a guess regardless [smile].
Should one be able to have a GTK window and an SDL window operate from the same program?
Should one be able to have a GTK window and an SDL window operate from the same program?
----------------------------------------------------"Plant a tree. Remove a Bush" -A bumper sticker I saw.
You could either make your opengl program work in a GTK window with something like gtkglext or come up with a simple communication protocol and use pipes or sockets to send messages between the two processes.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement