Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PyGTK track editor idea
02-07-2007, 12:24 AM,
#1
PyGTK track editor idea
I've been doing some PyGTK programming lately, and I've found it's fairly easy to set up a pretty good GUI using it with Glade to design the interfaces. It is pretty fast and ports to OS X and Windows very easily. There are bindings for Python to OpenGL as well as SDL, PyOpenGL and PyGame respectively. How's that for link saturation? Smile

So what I propose is to set up a GUI around a sort of viewport that will basically have inside it the track editor we already have. The gui would have lots of buttons to do things easily, like for instance add objects, move and edit them, set track parameters, export tracks to in-game readable format, etc.

The "viewport" code could either consist of the C++ code we have for the track editor now, converted to Python, or it could be set up as an external C++ library that is used by Python. Python has bindings for lots of languages so this shouldn't be too hard. However it might make the code a little more managable to just convert to Python.

Farther down the road we could probably even write code to generate road models based on user-input dimensions, and perhaps even import them directly into the editor. Perhaps we could get some ideas on how to do this from the Java-based open source TORCS track editor that generates roads.

So, what do you guys think about Python and GTK? To me, the biggest advantage for Python is how easy it is to develop things quickly, and for GTK it's the cross-platform interface designer (Glade).
Reply


Messages In This Thread
PyGTK track editor idea - by thelusiv - 02-07-2007, 12:24 AM
[No subject] - by cotharyus - 02-07-2007, 07:07 AM
[No subject] - by joevenzon_phpbb2_import3 - 02-07-2007, 10:58 AM
[No subject] - by reece146 - 02-07-2007, 11:05 AM
[No subject] - by thelusiv - 02-07-2007, 06:40 PM
[No subject] - by reece146 - 02-07-2007, 09:42 PM
[No subject] - by thelusiv - 02-07-2007, 10:15 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-07-2007, 11:01 PM
[No subject] - by thelusiv - 02-07-2007, 11:16 PM
[No subject] - by thelusiv - 02-08-2007, 12:21 AM
[No subject] - by reece146 - 02-08-2007, 12:42 AM
[No subject] - by thelusiv - 02-08-2007, 05:36 AM
[No subject] - by rookie1 - 04-20-2007, 02:49 AM
[No subject] - by rookie1 - 04-20-2007, 10:32 AM
[No subject] - by thelusiv - 04-20-2007, 02:56 PM
[No subject] - by rookie1 - 04-22-2007, 12:23 AM
[No subject] - by thelusiv - 04-25-2007, 03:23 AM
[No subject] - by rookie1 - 04-27-2007, 04:38 AM
[No subject] - by thelusiv - 04-29-2007, 01:54 AM
[No subject] - by rookie1 - 04-29-2007, 05:53 AM
[No subject] - by rookie1 - 04-30-2007, 10:43 AM
[No subject] - by joevenzon_phpbb2_import3 - 04-30-2007, 10:43 PM
[No subject] - by rookie1 - 04-30-2007, 11:16 PM
[No subject] - by rookie1 - 05-01-2007, 07:06 AM
[No subject] - by rookie1 - 05-03-2007, 06:59 AM
[No subject] - by protomor - 05-03-2007, 10:55 AM
[No subject] - by thelusiv - 05-04-2007, 03:47 AM
[No subject] - by rookie1 - 05-04-2007, 07:07 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-04-2007, 10:09 AM
[No subject] - by thelusiv - 05-05-2007, 06:55 AM
[No subject] - by thelusiv - 05-05-2007, 05:45 PM
[No subject] - by thelusiv - 05-05-2007, 07:35 PM
[No subject] - by rookie1 - 05-05-2007, 11:23 PM
[No subject] - by thelusiv - 05-07-2007, 03:27 AM
[No subject] - by rookie1 - 05-07-2007, 09:48 AM
[No subject] - by rookie1 - 05-18-2007, 07:52 AM
[No subject] - by alanic - 05-30-2007, 02:08 PM
[No subject] - by thelusiv - 05-30-2007, 02:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)