Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Formula D map making
#6
Thank you guys for the insight. I forgot to mention that all corners would be rounded. I kind of didnt portray that well in my example. As well as all corners would have to be custom modified AKA manually inserted. For example the turns are where the game really intensifies, and makes the game. I think i would have to manually insert each and every corner to determine the "toughness" of the corner based on the previous corner. So in theory all i would have to do automatically is the lane lines and/or lane lines and spaces. Just like this
[Image: attachment.php?aid=615]
However there are at times there are slight bends that dont constitute a corner at all. 

Before anyone answered last night, i came up with a formula for the lanes. 
  1. follow track path with path tool making all corners bend 
  2. stroke path solid color line with new layer each for the following... (color, pixel width)
  3. white 63
  4. black 57
  5. grey 51
  6. black 21
  7. grey 15

So the pattern method works assuming the track is straight, however, if the pattern bends and snakes back and forth, the patterns in its 90 degree turn looks odd.  
http://imgur.com/a/sav2H


Quote:Back to Gimp & looking at your screenshot, it is a closed circuit, so no end path to break.

Stroke path / selection -> to path produces two 'linked' paths 'Selection in the screenshot, and a good tool to separate these is Ofnuts plug-in ofn-path-edits from https://sourceforge.net/projects/gimp-pa...s/scripts/ to give an inside and outside.

A possibility, and only a possibility is another plug-in arakne-follow-path5 http://www.arakne.es/en/dessign/gimp-plu...oordinate/ find a zip download in there somewhere.

Make a small layer and paint in a pattern, apply the plugin something like this
Im having trouble figuring out the plugin process. Never done it before. I added the python source to the directory /usr/lib/gimp/2.0/plug.ins/ and restarted GIMP. But not sure how to implement a layer to the selected path as you have shown you done in your last screenshot? I think this method would work the best as the corners would be customized afterwords of laying the straight areas out.

Code:
metulburr@ubuntu:/usr/lib/gimp/2.0/plug-ins$ ls | grep fu
gimpfu3.py
script-fu
metulburr@ubuntu:/usr/lib/gimp/2.0/plug-ins$ ls | grep path
follow-path5.py
ofn-path-edits.py
selection-to-path
metulburr@ubuntu:/usr/lib/gimp/2.0/plug-ins$
Reply


Messages In This Thread
Formula D map making - by metulburr - 06-26-2017, 12:14 AM
RE: Formula D map making - by Ofnuts - 06-26-2017, 07:00 AM
RE: Formula D map making - by Blighty - 06-26-2017, 08:21 AM
RE: Formula D map making - by Ofnuts - 06-26-2017, 08:43 AM
RE: Formula D map making - by rich2005 - 06-26-2017, 09:49 AM
RE: Formula D map making - by metulburr - 06-26-2017, 01:51 PM
RE: Formula D map making - by Ofnuts - 06-26-2017, 02:44 PM
RE: Formula D map making - by rich2005 - 06-26-2017, 02:41 PM
RE: Formula D map making - by rich2005 - 06-26-2017, 03:46 PM
RE: Formula D map making - by metulburr - 06-26-2017, 07:43 PM
RE: Formula D map making - by rich2005 - 06-26-2017, 08:03 PM
RE: Formula D map making - by metulburr - 06-27-2017, 11:30 AM
RE: Formula D map making - by rich2005 - 06-27-2017, 12:34 PM

Forum Jump: