Blender file now exporting to KSeditor correctly

Discussion in 'General' started by Justin Case Usselman, Jul 27, 2018.

  1. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    2,324
    Likes Received:
    944
    Justin, would you mind writing the (big) steps you make, and where you get stuck ?
     
  2. AccAkut

    AccAkut Member

    Joined:
    Sep 4, 2017
    Messages:
    79
    Likes Received:
    45
    It seems like the only step left for successful track testing is just setting up the materials. I just went over the fbx file again and deleted at least 20 duplicated materials (like every curb had its own). Now what i have here has a single grass materials, single curb, road and so on. Maybe too little now as there are quite a few unused textures now according to the "texture review" tool of the KSEditor.

    Also combined a bunch of duplicated assets (like the barriers) (..only to split them up again because of tris limit... one rarely runs into it with cars..) ...it was just interesting to work with a track for once and not just cars

    ..anyway, this is what I have now, the worked fbx, persistence ini and the corresponding blend file. It needs more work, there is alot of overlapping mesh around the track and grass surface itself. Btw what track is that even? :whistle: It seems familiar.

    https://www.dropbox.com/s/htivyelgi7fwylg/Justin Track mods.zip?dl=0


    Zwischenablage02.jpg
     
    luchian likes this.
  3. Zach Shaffer

    Zach Shaffer New Member

    Joined:
    Aug 21, 2018
    Messages:
    3
    Likes Received:
    0
    The track is Pittsburgh International Race Complex in Wampum, PA.
    We tried pulling the files from your dropbox link, but when we open the FBX files or the individual files, the road still comes up purple.
    When looking into the materials it references "Road1" which references our texture "asphalt-new" which we still have. ie. no idea why it is showing up purple for us, but not in your screenshot.

    I also downloaded your file of textures and imported your fbk just to see if there would be a difference. The track is still purple, but a lot of the other minor details we have been noticing are fixed, so we do thank you for that!
     
    Last edited: Aug 21, 2018
  4. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    2,324
    Likes Received:
    944
    1/ you can either ignore how it looks in Blender (aka pink), and open the FBX directly in AC Editor. It will look fine, since the road has a material and the texture.

    2/ or you can open the BLEND file in Blender, select the road, and reassign the texture (when something is pink it means it cannot find the texture file - i.e. the path is wrong). To do that:
    2018-08-21_220558.jpg

    You will of course need to export again to FBX afterwards..
     
  5. AccAkut

    AccAkut Member

    Joined:
    Sep 4, 2017
    Messages:
    79
    Likes Received:
    45
    Interesting, I did not try doing anything minor, this was just as an hour if trying things. Mostly fixing issues that come up from the usage of Race Track Builder (which I guess you used to create it). You should not use only that tool or 3DSimed, a real 3D modelling program allows for much better results and control about everything.
     
  6. Justin Case Usselman

    Justin Case Usselman New Member

    Joined:
    Jul 17, 2018
    Messages:
    13
    Likes Received:
    1
    I actually do not know the programs in which the original creator used. Hes a regular racer here at pittrace that and did this before the creation of the actual track. wanted to drive the south track(the track under construction in the google earth images) before he came here to do an event.

    I personally use Blender 2.79 and Kseditor at the moment. I started to watch youtube videos and that led me here.
     
    AccAkut likes this.
  7. AccAkut

    AccAkut Member

    Joined:
    Sep 4, 2017
    Messages:
    79
    Likes Received:
    45
    it has a lot of hints of being done in RTB (Race Track Builder), mostly due to the multiplied materials. RTB tracks tend to do that if objects are added multiple times to a track project, same with textures.

    You can totally ignore any material settings you do in Blender, the only thing the KS Editor does care about is the name of the material.

    There also seems to be some problems in Linked Objects in Blender on fbx export, at least on my end, the first object of the Link Chain will have some random material assigned to itself instead of the right one which you may run into once you start placing something like tire stacks or other things you need multiples of and still want to edit.
     
  8. Zach Shaffer

    Zach Shaffer New Member

    Joined:
    Aug 21, 2018
    Messages:
    3
    Likes Received:
    0
    This is a little random from the current discussion, but I was curious on how I would be able to properly fix this minor detail.
    The track itself has three configurations.
    -Full Track
    -North Track
    -South Track
    When the game loads up, our spawn point is in the North Pits. The South Pits are rarely, if ever, used. Because of this, it is a minor detail, but I believe that it would be a good learning experience for me when it comes to fixing it.
    Essentially there is a gap between the South Pit exit and the track, so when you leave the south pits after entering, you will go airborne as if it were a ramp. I was curious on how to smoothly transition the South Pits to the Track. SouthPittExit.png
     
  9. pyge

    pyge New Member

    Joined:
    Jun 16, 2018
    Messages:
    17
    Likes Received:
    1
    Here is a blend file with two ways to connect roads. The first one takes more effort but works better. The second one is faster but more fiddly to get a smooth surface. The examples are not finished.
     

    Attached Files:

  10. Kudlaty

    Kudlaty New Member

    Joined:
    Apr 11, 2019
    Messages:
    2
    Likes Received:
    2
    I'm quite new to blender and assetto corsa modding, currently working on my first track. I had really hard time figuring out what's wrong with my materials. Looked through few forums and this is one of two posts I've found saying anything about Linked Objects being messed up on export:

    Quite much every object that I linked in blender, got some random materials or (i think generated by exporter) 'FBX_MATERIAL' in KSeditor. I've spent like whole week pulling hair off my head trying to get that working.
    As some objects had no problems being exported I started comparing them with broken ones and... I think I found my way around it.
    Having added but NOT applied to object 'array' modifier lets using links and exports every 'linked duplicate' just fine.

    I really have no idea if exporting objects with not applied modifiers is something I should not do (performance reasons?), but yeah... it gets job done.

    Also, maybe this, or more proper fix, was posted somewhere else but I couldn't find it, so maybe someone will find this useful. (or maybe it's so well known fact that nobody had to ask about it :lol:)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice