GSoC Track Editor

(Created page with "== A Track Editor for SuperTuxKart == WORK-IN-PROGRESS!!!!!!!!! This project is about creating a track editor. It is certainly one of the most difficult suggestions for SuperTu...")
(Hints)
 
(5 intermediate revisions not shown)
Line 1: Line 1:
== A Track Editor for SuperTuxKart ==
== A Track Editor for SuperTuxKart ==
-
WORK-IN-PROGRESS!!!!!!!!!
+
This project is about creating a track editor. It is an average to diffcult project (depending on selected scope), but also probably the most creative and potentially most satisfying one. Editors can come in many different variations: they can be based on pieces (e.g. squares or rectangles) that you just place next to each other, to very powerful tools like the integrated editor of ModNation Racer (see for example http://www.youtube.com/watch?v=Tyk3CC3vyyg). We certainly don't expect anything close to the latter ;)
-
This project is about creating a track editor. It is certainly one of the most difficult suggestions for SuperTuxKart, but also probably the most creative one. Editors can come in many different variations: they can be based on pieces (e.g. squares or rectangles) that you just place next to each other, to very powerful tools like the integrated editor of ModNation Racer (see for example http://www.youtube.com/watch?v=Tyk3CC3vyyg). We certainly don't expect anything close to the latter ;)
+
Generally speaking, in order to keep the scope realistic, we are not aiming to produce a tool that can actually do 3D modelling. The tool would rather be geared towards less technical users, and let them assemble roads and place objects, so that they can have fun creating roads or even building their neighborhood. This project would not aim to replace blender for the making of high-quality, "core package" tracks
-
There are two general approaches, with potentially a different target audience:
+
There are a few approaches to this project. A first way is to build tracks by letting the player assemble roads from a set of preset road segments, be it [http://i.imgur.com/mctrTch.gif in 2D] or [https://www.youtube.com/watch?feature=player_detailpage&v=5HZr9AK5P6g#t=30 in 3D] . Then the player could add objects (trees, rocks, buildings, etc.) from a library of objects, and also add gift boxes, nitro bottles, etc.
-
=== Create a Stand-alone track editor ===
+
-
A stand-alone track editor could export the track (i.e. the 3d models, and all data structures needed by STK). This solves the issue that blender knowledge is required, but to make really good tracks this would appear to be a very challenging task (esp. in the limited amount of time). For high quality tracks certain blender features would be necessary, e.g. to easily create mountains, texture areas, ... Perhaps an existing open source editor can be modified?
+
 +
A more ambitious project could feature mesh generation and let the player manipulate a road of an arbitrary shape and then generate a B3D file for that road.
-
=== Create a Pre-Processor ===
+
The exporter will in all cases need to generate the XML files SuperTuxKart expects, including namely track.xml and scene.xml
-
The idea here is that a simpler editor is used to create the beginning of a track, which is then imported into blender and finished there. This pre-processor should take care of some of the more mundane work, e.g. find an easy way to describe the outline of the track (including its width), its height. Perhaps allow some rough texturing, and/or placing of objects (tree, houses, ...), and/or placing of powerups (items, bananas, zipper). there should be enough in this pre-processor that its output can be imported in blender, the track exporter can be run, and a test-able track will be created. This way the track outline etc can be tested in game, before more manual work on improving the visuals will be done. This final tweaking will then be done in blender.
+
-
== Discussion ==
+
== Hints ==
-
A stand-alone editor that creates high quality tracks appears to be impossible to create in 2 months time. So if your project suggests a stand-alone editor, make sure to create a realistic time line, and let us know what kind of tracks can be created (e.g. if you decide to use a height map, it will be difficult to create bridges etc), and how the track editor can be extended in the future. The advantage is obviously that anybody can create tracks without any blender knowledge.
+
This project suggestion requires a well thought out proposal, likely with some examples in form of drawings or mockups. Think of the steps necessary to go all the way from a track idea to the end - a track that can be loaded in SuperTuxKart. Perhaps try to make a simple track with blender to see what is involved - minimal 3D modelling knowledge would likely help you focus your proposal. If you base your idea on pre-designed pieces that are put together, then you need a good library manager to allow people to find the pieces they are looking for. If you allow a more flexible approach, describe the process from the beginning to the end.
-
If you decide to suggest a pre-processor, you will likely still need blender knowledge to create a polished track. On the other hand it might free a lot of time for artists doing more repetitive work like creating a nice, challenging outline of the track etc. It will take some time to find a format that can be imported into blender, but it might mean that the track editor could be used even for highest quality tracks. You still need to give us a realistic timeline, and tell us how the editor can be extended in the future.
+
Think about placing items on the track. What about zippers, jumps, bridges?
-
== Hints ==
+
Think about 3D heights. Will the road be flat, or will you support uphill and downhill sections? If so, how will this be handled?
-
This project suggestion requires a well thought out proposal, likely with some examples in form of drawings or screenshots. Think of the steps necessary to go all the way from a track idea to the end - a track that can be loaded in SuperTuxKart. If you base your idea on pre-designed pieces that are put together, then you need a good library manager to allow people to find the pieces they are looking for. If you allow a more flexible approach, describe the process from the beginning to the end.
+
-
A very simple example: you could draw the road of the track in any 2d graphics program (or if you write your own gui allow to draw it). Then analyse this picture to create a real 3d mesh from it (perhaps use a height map). How would you help filling the empty spaces (i.e. between the road). This could then be imported into blender.
+
The editor also needs to create the information the AI is using for driving (which is basically the outline of the track, see [[New_drivelines|drivelines]] for details).
-
 
+
-
Think about placing items on the track. What about zippers, jumps, bridges?
+
 +
Would this editor be inside STK, or a separate application? An integrated editor would be handier, however SuperTuxKart does not have a full-blown GUI engine so if you go for an integrated editor, expect to have to spend some more time improving on the GUI capabilities.
-
(see [[New_drivelines|drivelines]])
+
A standalone editor can have its own file format, as the ability to open either .blend files or the exported tracks is not expected.

Latest revision as of 10:02, 10 February 2014

A Track Editor for SuperTuxKart

This project is about creating a track editor. It is an average to diffcult project (depending on selected scope), but also probably the most creative and potentially most satisfying one. Editors can come in many different variations: they can be based on pieces (e.g. squares or rectangles) that you just place next to each other, to very powerful tools like the integrated editor of ModNation Racer (see for example http://www.youtube.com/watch?v=Tyk3CC3vyyg). We certainly don't expect anything close to the latter ;)

Generally speaking, in order to keep the scope realistic, we are not aiming to produce a tool that can actually do 3D modelling. The tool would rather be geared towards less technical users, and let them assemble roads and place objects, so that they can have fun creating roads or even building their neighborhood. This project would not aim to replace blender for the making of high-quality, "core package" tracks

There are a few approaches to this project. A first way is to build tracks by letting the player assemble roads from a set of preset road segments, be it in 2D or in 3D . Then the player could add objects (trees, rocks, buildings, etc.) from a library of objects, and also add gift boxes, nitro bottles, etc.

A more ambitious project could feature mesh generation and let the player manipulate a road of an arbitrary shape and then generate a B3D file for that road.

The exporter will in all cases need to generate the XML files SuperTuxKart expects, including namely track.xml and scene.xml

Hints

This project suggestion requires a well thought out proposal, likely with some examples in form of drawings or mockups. Think of the steps necessary to go all the way from a track idea to the end - a track that can be loaded in SuperTuxKart. Perhaps try to make a simple track with blender to see what is involved - minimal 3D modelling knowledge would likely help you focus your proposal. If you base your idea on pre-designed pieces that are put together, then you need a good library manager to allow people to find the pieces they are looking for. If you allow a more flexible approach, describe the process from the beginning to the end.

Think about placing items on the track. What about zippers, jumps, bridges?

Think about 3D heights. Will the road be flat, or will you support uphill and downhill sections? If so, how will this be handled?

The editor also needs to create the information the AI is using for driving (which is basically the outline of the track, see drivelines for details).

Would this editor be inside STK, or a separate application? An integrated editor would be handier, however SuperTuxKart does not have a full-blown GUI engine so if you go for an integrated editor, expect to have to spend some more time improving on the GUI capabilities.

A standalone editor can have its own file format, as the ability to open either .blend files or the exported tracks is not expected.

Retrieved from "http://supertuxkart.sourceforge.net/GSoC_Track_Editor"

User Tools