How to understand jbeam

Discussion in 'Programming' started by ThreeDTech21, Apr 1, 2014.

  1. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    Is studying the code of the BeamNG cars a good way to learn jbeam or is there a faster way? I've read the wiki and it helped, also studying the code on my own has proved the most effective but can be a slow process. (I hope to make a tutorial video once I understand the code fully)

    What I don't fully understand yet is support beams (how to place them) and hinge and latch beams. I did search and find I read a lot of good threads but I still need help. By studying the code I'll soon get it but I want it now :)


    Sent from my iPhone using Tapatalk
     
  2. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,960
    What you do is allow me to perform a brain transplant between you and drowsysam (A++ on all 3 variations of brain surgery in surgeon simulator 2013).

    I think it does just come with study and practice.
    Hinge and latch I don't think are actual beam types btw, Hinges you would just do structurally.
    two_special_triangles_2.png
    Lets say node B is on the car, node D is on the door. Nodes A and C would be the hinges. This structure as shown would be able to freely rotate along A and C. I think that is how you have to do things, simply share nodes/beams in a straight line that allows it to collapse. Latches I think are just a short breakable beam holding the other end of the door to the body.
     
  3. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    Sign me up for the brain please!

    Thanks for the diagram will prove useful!

    So where this is a hinge there is always a latch no?


    Sent from my iPhone using Tapatalk
     
  4. FeelsBadBro

    FeelsBadBro
    Expand Collapse

    Joined:
    Aug 9, 2013
    Messages:
    80
    I'm also learning jbeam

    test.png test1.png
     
  5. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    Hey I meant to get back to you sorry :) what did you find out so far? Do you know how to make hinges and such yet? Cool model by the way, I'll show you how to get it running in game, (a good shortcut) make some wheels and PM me.


    Sent from my iPhone using Tapatalk
     
  6. FeelsBadBro

    FeelsBadBro
    Expand Collapse

    Joined:
    Aug 9, 2013
    Messages:
    80
    Just a beginner in jbeam :D
     
  7. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    No worries everyone starts there. I know a few things but still learning myself, I see that your model is still standing and not falling flat, I can learn a thing or two from you ha!


    Sent from my iPhone using Tapatalk
     
  8. FeelsBadBro

    FeelsBadBro
    Expand Collapse

    Joined:
    Aug 9, 2013
    Messages:
    80
    I just made that in 15 min now i'm busy with wheels and engine
     
  9. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    Later on I'll show you an easier way to get it into the game, it's sort of a cheap shortcut but a good way to test the mesh in game.


    Sent from my iPhone using Tapatalk
     
  10. FeelsBadBro

    FeelsBadBro
    Expand Collapse

    Joined:
    Aug 9, 2013
    Messages:
    80

    Ok PM when you have time :D
     
  11. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    Will do :)


    Sent from my iPhone using Tapatalk
     
  12. R3VAMP3RZ

    R3VAMP3RZ
    Expand Collapse

    Joined:
    Sep 18, 2013
    Messages:
    101
    Have fun you guys!! Still very hard. For me!! But I'm not giving up yet!
     
  13. Motovader72

    Motovader72
    Expand Collapse

    Joined:
    Feb 9, 2014
    Messages:
    351
    Yeah, keep it all a secret. Thanks for the contribution. :rolleyes:
     
  14. FeelsBadBro

    FeelsBadBro
    Expand Collapse

    Joined:
    Aug 9, 2013
    Messages:
    80

    Sorry :(
     
  15. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    It's not perfected yet lol, I'll post a full tutorial once I get it down, I'm about 90% effective at it, I still have to learn how to connect the color files, I don't want everyone running around with greyish cars :)

    Tutorials on many things coming soon!


    Sent from my iPhone using Tapatalk
     
  16. Motovader72

    Motovader72
    Expand Collapse

    Joined:
    Feb 9, 2014
    Messages:
    351
    The thread is called "How to understand Jbeam".

    Meanwhile you guys are PM'ing the details...
    Sorry but makes no sense to me. :confused:

    Share how you do it and maybe someone else
    has a trick or two to make it work better/easier?
    Odd concept I know. :rolleyes:
     
  17. Autofan

    Autofan
    Expand Collapse

    Joined:
    Jun 26, 2013
    Messages:
    470
    I look forward to seeing some tutorials, there are some good tutorials out there but many of them lack details. I've been trying to learn Jbeam as well but haven't had much luck making anything yet.

    Good luck, and agree with the post above, It would be helpful for some if you communicated on the thread instead of just through PM. :)
     
  18. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    I'm opening the floodgates by request, I'll post the tutorial here and in a new thread. I hope we don't have a bunch if cars with no textures soon but by the naming convention that's revealed in this tutorial someone will figure out the color and texture system hopefully soon


    Sent from my iPhone using Tapatalk
     
  19. Mythbuster

    Mythbuster
    Expand Collapse

    Joined:
    Aug 11, 2012
    Messages:
    782
    I don't think you're understanding this the right way. Hinges aren't something you define. They're just how you build a structure. You purposely allow your structure to collapse along a certain axis, making it function like a hinge. But in reality, it's just making something not rigid enough to be... well, rigid... Same with suspension. You don't say "hey game, this here is a lower A-arm" "okay, ill make it hinge then!"... You just allow it to be not-rigid in a certain direction, along a certain axis :)
     
  20. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    I'll have to study the code some more to fully understand it


    Sent from my iPhone using Tapatalk
     
  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