W.I.P. Kyalami 2016

Discussion in 'Tracks' started by Prototype, Dec 30, 2018.

  1. Prototype

    Prototype Active Member

    Joined:
    Dec 24, 2018
    Messages:
    194
    Likes Received:
    229
    This NurbsPath tool is kinda fun! :-D

    Messing around trying to figure out the toolset here.

    I can see that you could probably get everything you need out of it using this..
    Will just take finessing to understand it completely and where the best positions for the points would need to be ...

    [​IMG]

    [​IMG]

    Is this how its generally done in Blender?
    I *think* this is what @Johnr777 said I should use?
     
    Last edited: May 14, 2019
    luchian likes this.
  2. Kwagga705

    Kwagga705 New Member

    Joined:
    May 14, 2019
    Messages:
    4
    Likes Received:
    1
    Nice to see one of my favourite tracks being remade, how far is it?
    Btw, can't wait to put in some laps with the rss f3 :D
    Love from Pretoria <3
    EDIT: Didn't know it wasn't released yet, but great project
     
    Last edited: May 14, 2019
  3. Kwagga705

    Kwagga705 New Member

    Joined:
    May 14, 2019
    Messages:
    4
    Likes Received:
    1
    When are you doing a Zwartkops remake xD
     
  4. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    2,324
    Likes Received:
    944
    When there is no reference data to conform to (e.g. LIDAR & the like), it's better to use a bezier curve (mid-line of the track) and then align a plane to it to build the asphalt. (see THIS for some very good advice from Lilski)

    If/when you have some sort of reference data, then yes, John's method is better, because you can conform to both left and right track limits.
     
    Prototype likes this.
  5. Prototype

    Prototype Active Member

    Joined:
    Dec 24, 2018
    Messages:
    194
    Likes Received:
    229
    Thanks @luchian --OK, cool. Got it.

    Ive been tracing the edges of the track on either side of Google mesh but wasnt sure how you would create a mesh between the splines ....

    So then tried this and it just felt super intuitive and easy to do, but a little hit and miss, so wasnt sure.

    Any help /pointers with how to do what @Johnr777 suggested?

    ---------------------------------------------------------------------

    @Kwagga705 its going to be a while still :)
     
  6. Prototype

    Prototype Active Member

    Joined:
    Dec 24, 2018
    Messages:
    194
    Likes Received:
    229
    QUESTION:

    BLENDER:
    Is this correct? In order to have a double sided mesh, you have to duplicate the face and flip the normal ?? o_O

    [​IMG]
    So that "double sided" checkbox pretty much does nothing. ^^

    [​IMG]
    Duplicated object with flipped normals ^

    [​IMG]
    This works .... but hope theres a better way to do this??
     
  7. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    2,324
    Likes Received:
    944
    I'm afraid you're not going to like it :D. I do not know of a "best way" because I am a fan of the single curve method. For when I've done some tests, I just converted the 2 curves to mesh and then tried different ways to fill that. Something along the lines of this:


    ..but was not happy with the "smoothness" and ended up doing something different: using an excel to calculate mid value and angle, from the left and right measurements. See HERE. HOWEVER, that might be tedious in your case (you'd need to take measurements every 10-20 m or so, on both sides, along entire track) and probably loose some of the detail..


    YES, this is the correct way.


    PS: there is a nice plugin, but it's not free.

    PPS: I am by no means a Blender expert; just an user :ninja:
     
    Prototype likes this.
  8. Prototype

    Prototype Active Member

    Joined:
    Dec 24, 2018
    Messages:
    194
    Likes Received:
    229
    Thanks @luchian ! I appreciate the help. Thanks for indulging me in my blender noobery. :)
    Ill check out the vid now !
     
  9. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    2,324
    Likes Received:
    944
    oooooo, I am not that far ahead ! :lol:
     
    Prototype likes this.
  10. Prototype

    Prototype Active Member

    Joined:
    Dec 24, 2018
    Messages:
    194
    Likes Received:
    229
    Oh wow ! That Curves to mesh tool looks like a great solution! Just picked it up! :-D
    Thanks for the heads up on that one.
     
    luchian likes this.
  11. LilSKi

    LilSKi Active Member

    Joined:
    Apr 6, 2015
    Messages:
    297
    Likes Received:
    227
    When you have solid data where you can trace road edges. I usually make a curve for each edge.

    upload_2019-5-15_19-26-38.png

    I then convert that to a mesh and fill it in with alt-f in sections.
    upload_2019-5-15_19-27-10.png

    Once filled you get the road but it is flat between each edge it helps to return to quads as much as possible with alt-j

    upload_2019-5-15_19-29-0.png

    I then select the edges and invert the selection so it is only the inside edges and subdivide. This will give you a "center line"

    upload_2019-5-15_19-30-8.png

    You can then take that center line and turn it into a curve or make a new curve that is shrunk to the center line. Then you can make a new quad mesh on that curve and you can also make the quad road slightly wider and shrink it to the flat road you made and it will make it follow the width and camber of the original traced edges.
     
    luchian and Prototype like this.
  12. Prototype

    Prototype Active Member

    Joined:
    Dec 24, 2018
    Messages:
    194
    Likes Received:
    229
    Thanks man! @LilSKi Appreciate you taking the time to explain that to me. :)
     
  13. Prototype

    Prototype Active Member

    Joined:
    Dec 24, 2018
    Messages:
    194
    Likes Received:
    229
    Inner and Outer curves done.

    Needs another polish pass to double check everything and potentially tighten up, and then on to trying to make the mesh!

    [​IMG]

    [​IMG]
     
    luchian, Tibor Solyom and Gunnar333 like this.
  14. Kwagga705

    Kwagga705 New Member

    Joined:
    May 14, 2019
    Messages:
    4
    Likes Received:
    1
    So pumped to play kyalami, especially with the IGTC coming in November :D
     
    Prototype likes this.
  15. Prototype

    Prototype Active Member

    Joined:
    Dec 24, 2018
    Messages:
    194
    Likes Received:
    229
    9 hour race ! :cool:
     
  16. Kwagga705

    Kwagga705 New Member

    Joined:
    May 14, 2019
    Messages:
    4
    Likes Received:
    1
    That's gonna be awesome, heard Mika Hakkinen is gonna be there
     
  17. Prototype

    Prototype Active Member

    Joined:
    Dec 24, 2018
    Messages:
    194
    Likes Received:
    229
    QUESTIONS
    Track mesh

    QUESTION 1:
    • Is there a best practise methodology for mesh structure?
      (Grid fill)
    • In the section outlined in pink, I cleaned up the verts manually (using GG slide and dissolve verts) to make a cleaner mesh.
    • In the section outlined in blue I just left it as is.

      Top Un-subdivided, Bottom: One subdivision

    [​IMG]

    My concerns regarding "cleaning up the mesh like this":
    • Potentially damaging the accuracy of the edges by removing verts?
    • Potentially Creating too large a gap between edges?
    • Lots of unnecessary work if its not an issue.
    My concerns if I don't clean up the mesh:
    • Mesh management will be harder with a messy mesh?
    • Unnecessarily higher geo count on mesh.
    • UV mapping might be problematic?
    • (Uv mapping tools seem to be a bit limited in Blender?)
    [​IMG]

    -----------------------------------------------------------------------------------------


    QUESTION 2:
    • Seemingly too high resolution on TURNS comparative to STRAIGHTS?
    • When I subdivide the mesh it really gets dense?
    • Is what I'm getting here reasonable ?
    [​IMG]

    [​IMG]


    -----------------------------------------------------------------------------------------


    QUESTION 3:
    • Numerical transforms.
    • Hitting G Z to move the track mesh up by 0.1, or 0.05 etc ... How do we do this in Blender?
    • I cant seem to find much on accurate, numerical moddeling?

    [​IMG]


    Thanks in advance! :)
     
    Last edited: May 25, 2019
    luchian likes this.
  18. LilSKi

    LilSKi Active Member

    Joined:
    Apr 6, 2015
    Messages:
    297
    Likes Received:
    227
    I usually prefer it to be all quads. What I would do now is make a curve that is shrink wrapped to the center line. Then make a new quad mesh to follow that curve. Roughly adjust the curve radius to always be slightly wider than the base road you have there. Then add the shrink wrap mod again to the new mesh and apply it to the existing road. It should then follow the existing mesh and be all quads.

    The road can be non quad and it will work it is just more difficult to UV map. If it is non quads you will need a quad mesh at some point to UV and then use the data transfer mod to transfer UV coordinates.
     
  19. Prototype

    Prototype Active Member

    Joined:
    Dec 24, 2018
    Messages:
    194
    Likes Received:
    229
    OK thanks. Ill research the shrink wrap stuff .. Appreciate the quick response !
     
  20. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    2,324
    Likes Received:
    944
    @Q2: what I did use:
    - a 2m segment for straight and slightly curved portions
    - subdivided once or twice, in the turns

    This is for the visual only (and as a rule of thumb, just use whatever looks smooth enough ingame, avoiding to see those "segments", while trying to keep it as low as possible. E.g. if a turn looks good with 2m subdivisions, no need to go under it).
    vis.png

    Physical is another story. And mine looks like this (might actually be too dense, but I like the feel):
    phy.png

    All info on how to do this, is in lilski's posts, HERE.
     
    Prototype and Gunnar333 like this.
  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