Collision Quads

Discussion in 'Ideas and Suggestions' started by Dummiesman, Feb 7, 2015.

  1. Dummiesman

    Dummiesman
    Expand Collapse

    Joined:
    Sep 17, 2013
    Messages:
    4,700
    I'm wondering if collision quads could be added. Rather than

    id1 id2 id3
    id2 id1 id4

    it would just be

    id1 id2 id3 id4

    It would save a bunch of work and the conversion to tris work would be performed on compile. Just another little thing :p

    EDIT: I have already implemented it and whoa it is so much easier to make surfaces, just use counter clockwise sets of 4 nodes

    [xcode=json]
    "quads": [
    ["id1:","id2:","id3:","id4:"],
    ["Node238","Node240","Node048","Node050"],
    ["Node240","Node239","Node042","Node048"],
    ["Node239","Node241","Node041","Node042"],
    ["Node241","Node242","Node040","Node041"],
    ],
    [/xcode]
     
    #1 Dummiesman, Feb 7, 2015
    Last edited by a moderator: Feb 7, 2015
  2. Aboroath

    Aboroath
    Expand Collapse

    Joined:
    Aug 25, 2013
    Messages:
    3,804
    I have no fucking idea what you're talking about but I bet it's all good.:cool:
     
  3. Dummiesman

    Dummiesman
    Expand Collapse

    Joined:
    Sep 17, 2013
    Messages:
    4,700
    This is what I'm talking about :)

    (imported from here)
     
  4. Goosah

    Goosah
    Expand Collapse
    Global Moderator
    BeamNG Team

    Joined:
    Aug 30, 2013
    Messages:
    790
    That does look like a nifty time saver! Especially for a 737 hull ;)
     
  5. Dennis-W

    Dennis-W
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    399
    For us lazy people as well! :D
     
  6. Dummiesman

    Dummiesman
    Expand Collapse

    Joined:
    Sep 17, 2013
    Messages:
    4,700
    Half way through I implemented these. Made the hull take less than half the time to do! :)

    If/when I release the 737 though I'll have to convert them
     
    #6 Dummiesman, Feb 7, 2015
    Last edited by a moderator: Feb 7, 2015
  7. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,958
    Shouldn't be hard to whack a program together to parse a quad declaration into 2 tri declarations surely
     
  8. Dummiesman

    Dummiesman
    Expand Collapse

    Joined:
    Sep 17, 2013
    Messages:
    4,700
    Yeah it wasn't hard to do it.
     
  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