Solved Windshield mesh appears as a mess of polygons ingame

Discussion in 'Mod Support' started by Ytrewq, Oct 11, 2018.

  1. Ytrewq

    Ytrewq
    Expand Collapse

    Joined:
    Dec 6, 2014
    Messages:
    2,270
    So, my car's windshield looks like this in BeamNG, despite looking totally fine in Blender. What's the problem?
    screenshot_01142.png
    (I tried assigning it to different jbeams, changing materials, but nothing helped. Other glasses with the same material do just fine)
     

    Attached Files:

  2. atv_123

    atv_123
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,710
    What happens if you assign it as a prop rather than a flexbody? Does it come out normal then?
     
    • Informative Informative x 1
  3. Ytrewq

    Ytrewq
    Expand Collapse

    Joined:
    Dec 6, 2014
    Messages:
    2,270
    I'll try that right now.
     
  4. atv_123

    atv_123
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,710
    If this works, this isn't the solution, this will just help identify the underlying problem.
     
    • Agree Agree x 1
  5. Octothorp Obelus

    Octothorp Obelus
    Expand Collapse

    Joined:
    Jan 24, 2014
    Messages:
    268
    If you are using Blender, did you apply location and rotation for all vertices?
     
    • Agree Agree x 1
  6. Ytrewq

    Ytrewq
    Expand Collapse

    Joined:
    Dec 6, 2014
    Messages:
    2,270
    I replaced the steering wheel mesh (too lazy to make it a special prop) with it, it looks like this:
    screenshot_01143.png
     
  7. Spiicy

    Spiicy
    Expand Collapse

    Joined:
    Sep 8, 2016
    Messages:
    3,798
    ok wtf did you do... I have seen this in some russian mods, but idk the problem
     
  8. Ytrewq

    Ytrewq
    Expand Collapse

    Joined:
    Dec 6, 2014
    Messages:
    2,270
    More info for you guys: it used to be fine, it became corrupted around the time when I made a duplicate of it to be used as a glass_int texture. (glass_int mesh also suffers from this problem).
     
  9. atv_123

    atv_123
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,710
    Hmm... that's a new one to me... I just thought that perhaps you had the wrong deform group defined or something making some weird shapes... this however is a completely different ball game to me...

    So... if you go and duplicate it... and export the duplicate... then change the name to the duplicate in the JBeam... it still does this I guess?
     
  10. Ytrewq

    Ytrewq
    Expand Collapse

    Joined:
    Dec 6, 2014
    Messages:
    2,270
    Yeah, it does.
     
  11. atv_123

    atv_123
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,710
    I hate to say this... but your model might be corrupted... you might have to remake your windshield (from scratch)

    Anyone else have any better ideas?
     
    • Informative Informative x 1
  12. Shiokarai

    Shiokarai
    Expand Collapse
    Banned

    Joined:
    Sep 1, 2018
    Messages:
    523
    if it's fine in blender, it shouldnt be corrupted
     
    • Agree Agree x 2
    • Informative Informative x 1
  13. Spiicy

    Spiicy
    Expand Collapse

    Joined:
    Sep 8, 2016
    Messages:
    3,798
    From what I can see, the jbeam is whats killing it
    try pausing the game and resetting it
     
  14. Octothorp Obelus

    Octothorp Obelus
    Expand Collapse

    Joined:
    Jan 24, 2014
    Messages:
    268
    I don't mean to sound like a broken record, but have you applied the rotation and location of the model in Blender before exporting? If not these issues can occur.
     
  15. Ytrewq

    Ytrewq
    Expand Collapse

    Joined:
    Dec 6, 2014
    Messages:
    2,270
    Nope, it's still ruined. Also, I'm running it on an unedited Pessima jbeam for now. Also, I've tried replacing the glass mesh with a simple plane and it worked perfectly.
    Of course.
    But it is :confused:
     
    #15 Ytrewq, Oct 11, 2018
    Last edited: Oct 11, 2018
    • Like Like x 1
  16. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    What if you import your windshield as a static object for a map?

    Just make folders /levels/gridmap/art/shapes/windshield/ put your dae containing only the windshield on that folder, then open gridmap, in world editor add said windshield to map, is it still a mess?

    If you make simple jbeam (just basic cube of blender, export to jbeam and let it do diagonals) of cube as a new vehicle, /vehicles/windshieldtest/ then make that have windshield as flexbody, is it still a mess?

    Generally such mess would happen if some node would be loose and belonging to group you have written to your flexbody line.
     
  17. Ytrewq

    Ytrewq
    Expand Collapse

    Joined:
    Dec 6, 2014
    Messages:
    2,270
    This windshield with metal box jbeam:
    screenshot_01144.png
     
  18. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    I finally realized there was an .dae file in first post, this is what I see:
    upload_2018-10-11_21-50-13.png

    Mess happens with object set to node/beam structure:
    upload_2018-10-11_21-54-41.png

    To get anywhere, I think I would need to see .blend version of the object, that would also be a test to see if it is anything related to exporting. Can't think much else how to progress towards solution in this.
     
  19. Ytrewq

    Ytrewq
    Expand Collapse

    Joined:
    Dec 6, 2014
    Messages:
    2,270
    Here it is, in this zip folder.
     

    Attached Files:

  20. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    Interesting problem I must say, in wireframe mode it looks like this, do you think it is odd looking?
    upload_2018-10-11_22-20-13.png

    This is how D-Series windshield looks:
    upload_2018-10-11_22-22-13.png

    I'm not experienced enough modeler to say much of that, but so far that is only difference from usual that I have spotted.
     
  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