Dismiss Notice
Hey Guest,
If you are interested in ghosting, the Ghosting Awards for January 2025 has just been announced:

Click here to check it out!

Image to Track Generator

Discussion in 'Tracks' started by zeke15, Feb 3, 2018.

  1. zeke15

    zeke15 Well-Known Member Official Author

    Awarded Medals
    Just a little something I wanted to share - keep scrolling for some info about this
    Track.jpg
    This track: https://www.freeriderhd.com/t/527140-scioto/
    background.jpg

    So I spent a large part of the past week in a program called Matlab figuring out how to alter images and the like. I decided I would try and make an image to track generator. Yeah, yeah you are all thinking "oh wow, just gonna spam tracks that you didn't even put effort into"

    That's where you're wrong.
    I tried to address some of the issues with past image to track generators when making mine:
    1. I'm not sharing it - I'm not going to be giving it out to other people to use, no matter how much you beg. Even if you wanted to use it you would have to be a $100 program to run it. Therefore I'm the only one who has a possibility of abusing it (I don't plan to)
    2. I'm not pulling random pictures - Every single picture that I would even think about using is one that I have personally taken and edited. It is still my artwork. I do a lot of photography in my free time and I'm trying to get into some semi-professional work. This allows me to showcase my art in freerider
    3. File sizes aren't huge - In the past, image to track gens were made by drawing each pixel of the image. This is poorly optimized for free rider code and it would result in massive track sizes that take up space on the database and would (occasionally) make it to the biggest tracks page. I coded to the program to search for horizontal lines of the same pixel color in order to draw it as a line instead of pixels. This saves loads of space. (also makes the program faster)
    4. I'm not going to spam - enough said
    I guess that most of my justification for using this is that I am still putting all the work in from inception of the track to the final product. I am taking the photo, editing it to my taste, then using the program to convert it into a track code. A program that I made. The process still produced art, and and it doesn't copy or take advantage of anyone else's work. It's the same criteria that we use to evaluate everyday tracers and copiers on here. If you don't liek the fact that I'm using it, then dislike the track, or even better, just don't play it. I can accept that.

    Also if you have any suggestions as to how I could improve it, please let me know!
     
    FIREBEATS, SlashDash, Madara and 8 others like this.
  2. HardyK

    HardyK Casual Member

    psycho cool. i am getting into coding and am trying to make my own program. do you know the name of the code that freerider is in e.g. hex?
     
  3. Imbetterthanyo

    Imbetterthanyo Well-Known Member

    i know nothing bout coding lol
     
  4. ShadowEagle

    ShadowEagle Well-Known Member Official Author

    How do u auto gen
     
  5. HardyK

    HardyK Casual Member

    you need a image to base32 hex converter and the image will be converted to a freerider track (make sure the image is black and white)
     
    wef likes this.
  6. ShadowEagle

    ShadowEagle Well-Known Member Official Author

    Where do do
    Where do u do that
     
  7. HardyK

    HardyK Casual Member

    you will have to find the right website
     
  8. ShadowEagle

    ShadowEagle Well-Known Member Official Author

    do u know it
     
  9. HardyK

    HardyK Casual Member

    i have been
    looking, but with no luck as of yet
     
  10. ShadowEagle

    ShadowEagle Well-Known Member Official Author

    Oh ok
     
  11. zeke15

    zeke15 Well-Known Member Official Author

    Awarded Medals
    There is no one website that will do it for you. Most everyone who has made an image to track generator has coded it them self. I used a program called matlab to do it. Other people have done it in codes such as python or even javascript I believe. You have to understand how freeriderhd even stores track code before you even think about making one, and even then you will need to look into image processing. There are some old threads that explain how freerider track code works, so I would suggest taking a look at those before you get too carried away.
     
  12. ShadowEagle

    ShadowEagle Well-Known Member Official Author

    Ok
     
  13. bungo

    bungo Active Member Official Author

    i cud probs do somthing like that in python
     
  14. zeke15

    zeke15 Well-Known Member Official Author

    Awarded Medals
    Probably. I've never learned any python. I tried to do it in javascript at one point, but image processing there is confusing. Its super simple in matlab
     
  15. ShadowEagle

    ShadowEagle Well-Known Member Official Author

    Is matlab a downloadable app or online
     
  16. HardyK

    HardyK Casual Member

    search it
     
  17. ShadowEagle

    ShadowEagle Well-Known Member Official Author

  18. zeke15

    zeke15 Well-Known Member Official Author

    Awarded Medals
    Its a mathematics coding and data analysis tool. You can download it, but it costs right around $100. I had to get it for college
     
    45ones likes this.
  19. BattleBro

    BattleBro Well-Known Member Official Author

    Why would you do you anything other than C++???
     
    octo likes this.
  20. Examples

    Examples Well-Known Member Official Author

    don't love track gens but love the photo edits. nice man
     

Share This Page