Unaligned 3d parts when importing bus

Das Forum befindet sich im reduzierten Betrieb. Die Addon- und Supportforen bleiben weiterhin verfügbar.
Bitte beachte, dass OMSI nicht mehr weiterentwickelt wird. Ein Teil der Entwickler widmet sich inzwischen der Entwicklung eines neuen Simulators. Weitere Informationen zum LOTUS-Simulator findest Du hier.
Ein communitybetriebenes Nachfolge-Forum wird hier verlinkt, sobald es gegründet und bereit ist.
  • Hey. I've run into another problem with my bus. Have a look at this picture:


    http://i48.tinypic.com/2h6hc01.png


    As you see the objects don't align. Although they do align in Blender - which is the mysterious part. I looked into different solutions and in Blender 2.49 I tried to 'Center Cursor' (I think it's called that?) to the object, it reduced the huge difference in alignment between the objects but it is still visible and I find it terribly annoying. As you see in the picture I did the same thing with the driver's window. It is a bit unaligned (it's only visible in the game from other viewpoints) - although it's much better than the windows.


    Everything is COMPLETELY aligned in Blender.



    To those of you who may have imported buses - what did you do? Did you suffer problems like this?

  • The windows were carved into the side of the bus and afterwards I just separated them to relieve texture work. They are exported as separate objects and are completely aligned in Blender, as you see - what do you mean by snap option?


    Trying with that option you said there, it fixed the alignment problem but the object is now floating above the bus and is much bigger:


    http://i49.tinypic.com/10oiu12.png

  • what do you mean by snap option?

    Snap is that 'magnet' icon in the bottom of the 3D View panel, which alows you to move the mesh directly to a desired vertex (the icon is a magnet in 2.49b, don't know if the icon is the same in Blender 2.5 or above)

    - Temporarily retired from OMSI -

    Mit freundlichen Grüßen/Best Regards,

    Thiago

  • Well, again.. they are completely aligned so it's not that kind of problem. Although, as I mentioned earlier - by moving the center of the object around, the gap between the objects is also minimized or enlarged. I just don't get where it has to be in order to see no effect at all!

  • Alright.. I'm going to explain this with pictures now. There is this option:


    CENTER NEW, it's called. Before I used it the center of the object was somewhere else - the gaps were MORE visible than they are now, there were wider gaps. Then I used this function and it did help, but the gaps are still there. Hence it has nothing to do with the object's location in Blender, it's the center of the object - the thing I don't understand is where to place the center to avoid those gaps? Double vertices - there's edge split applied. This has no effect on the final result apart from proper normals.

  • The windows were carved into the side of the bus and afterwards I just separated them to relieve texture work. They are exported as separate objects and are completely aligned in Blender

    I itsn`t clear to me if you already have seperated windows with a correct allignment in Blender, or if you seperate the windows after you have made sure that the allignment is correct. In the second case maybe the following can help, but I am not sure if this goes up for Blender because I use Zmodeler. Zmodeler sometimes creates very small gaps when seperating objects, you really won`t notice it untill you look very closely at it. For me the solution is always to undo and redo the seperation untill it stays at the correct position, mostly the third time it will be correct.


    You can also try to attach the windows to the body and center the cursor again. Then seperate them, center the cursor of the windows and export them to OMSI. If the windows still show the little gap in OMSI try to export the body again after you have centered the cursor of it.

    Die Signatur ist derzeit unterwegs mit einem unbekannten Bus mit einem unbekannten Ziel.

  • There was a misundestanding: I just want you to check, if this export option (Use lokal...blabla) was NOT activated! If it is NOT activated and there is still a gap, it is very mysterious...


    Perhaps, you can solve this problem if you join both meshs, set the centerpoint to a special point (like 0,0,0) and then split it again. And then do NOT move any object (only the mesh, so every moving should happen in edit mode, but not in object mode!). But then, I do not have any more ideas...!

    ;)
  • Hi!


    I have often encountered this particular problem. It does occur when the two objects do not share exactly the same object center. The different object centers then cause the gaps due to rounding inaccuracies in the export process. To fix the problem, the two objects must first be brought to the same location. Select the windows, then the body and use "CRTL+C" -> "Copy Location" and "Copy Rotation" and "Copy Size". Now you still need to adjust each and every window vertex to the body frame by using the snap function. Or, as an alternative, delete the window object and recreate the window polygons in the body object. Then split the objects apart and make sure to never change their object coordinates again. This solution will definitely stop these gaps. Have a try!

    :-)
  • Hi!


    I have often encountered this particular problem. It does occur when the two objects do not share exactly the same object center. The different object centers then cause the gaps due to rounding inaccuracies in the export process. To fix the problem, the two objects must first be brought to the same location. Select the windows, then the body and use "CRTL+C" -> "Copy Location" and "Copy Rotation" and "Copy Size". Now you still need to adjust each and every window vertex to the body frame by using the snap function. Or, as an alternative, delete the window object and recreate the window polygons in the body object. Then split the objects apart and make sure to never change their object coordinates again. This solution will definitely stop these gaps. Have a try!

    :-)


    Hi Rüdiger! The frame was a part of the bus. I just carved it out, so basically if I press the remove double vertices it's just a wall! It fits perfectly to the bus, so the snapping shouldn't be required. I will try the other thing you mentioned with the CTRL+C.

    :)
  • When do you continue with the bus, need it... I´m from Denmark and need a Danish Bus!


    Can you make the texturepack to the bus and give it to me, i got many ideas to the design, like S-buses, E-Buses and A-Buses... I had do it on the Man D92


    If you will see it, so write it to me:D


    - RasmusDK

  • Rüdiger, you gave me a revelation!! As the problem occurred again this evening, I checked out your reply once more and looked into different solutions.. The solution would be Object > Clear/Apply > Apply Scale/Rotation to ObData.


    Thank you so much. I have no more alignment problems.

    :D

    :D

    :D

    :D

    :D

    :D
  • That's really great news, it's undoubtedly frustrating when computers try to 'pull us a trick'

    :)

    - Temporarily retired from OMSI -

    Mit freundlichen Grüßen/Best Regards,

    Thiago