error creating vertex buffer for mesh

Discussion in 'Content Creation' started by Narwhal, Oct 31, 2013.

  1. Narwhal

    Narwhal
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,698
    hi
    I am making a toolbox for the d-15 but the mesh doesnt show up. i always get this error. BEAMNG| ERR | error creating vertex buffer for mesh toolbox. the meshes name in blender is toolbox and the inside of the jbeam the flexbody is named toolbox. The jbeam shows up though and i can remove the jbeam through part selector.
    the jbeam is the rollbar for now, im still modding the jbeam
    pic
    halpppp.PNG
     
  2. Holland

    Holland
    Expand Collapse

    Joined:
    May 23, 2013
    Messages:
    982
    Did you give the box a texture in blender or whatever program your using? Because if you did not give it a texture, then that's why it did not show up.
     
    #2 Holland, Oct 31, 2013
    Last edited: Oct 31, 2013
  3. Narwhal

    Narwhal
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,698
    EDIT
    i assigned a material to the object but i still get the vertex buffer error.

    no i didnt
    thanks for the answer!
     
    #3 Narwhal, Oct 31, 2013
    Last edited: Oct 31, 2013
  4. Holland

    Holland
    Expand Collapse

    Joined:
    May 23, 2013
    Messages:
    982
    Did it work?
     
  5. Narwhal

    Narwhal
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,698
    no
    i still have the vertex buffer problem
    im going to be out of town for 3 days so im not gonna be able to reply after this. I may in a little bit but not immediatly
     
  6. Holland

    Holland
    Expand Collapse

    Joined:
    May 23, 2013
    Messages:
    982
    Well send it to me, I'll try to fix it.
     
  7. Mythbuster

    Mythbuster
    Expand Collapse

    Joined:
    Aug 11, 2012
    Messages:
    782
    No need to send it to him...
    If you scroll up in the console slightly, right above the error it gives you a list of what objects it did find in the DAE file.
    As you can see, there is a "Cube" mesh in the list. That's probably what your toolbox was named upon exporting. Try using Cube instead of Toolbox in the flexbody section in the jbeam and it'll work(if that is indeed your toolbox and not another object that you also exported). Either you didn't enter its name in Blender(or whatever) correctly and it came out as Cube when exporting, or you're trying to load the toolbox from a second dae file. Those are the only explanations for this to happen.
    Names are case-sensitive by the way.
    (Also, I guess this might be very obvious, but you cannot use seperate model files.Only one DAE file per vehicle, so you'd have to import the D-15, add the toolbox, then re-export the whole thing).
    And if I may add, the console is a very useful thing. When you can't figure out why something isn't work, it usually says it exactly in the console. Right above the list of meshes it says something along the lines of "Couldn't find mesh toolbox. Available meshes in DAE are:...".


    This isn't true. It would show up, but it would get a yellow NOTEXTURE or orange NOMATERIAL texture, or show up completely white/grey(default material), I believe. That's how it works with un-textured stuff in Maya, it just applies a default gray Lambert.:)
     
    #7 Mythbuster, Oct 31, 2013
    Last edited: Oct 31, 2013
  8. Narwhal

    Narwhal
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,698
    thanks for the answer mythbuster. when i get back from vacation i will rename the files in all locations. Thanks!
     
  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