Bald ist es soweit: Unsere nächste Leitstellenfahrt findet statt. Weitere Informationen findet ihr hier.
- Lizenzbestimmungen
- GPL-v3
- WebSite / Support
- https://github.com/space928/Blender-O3D-IO-Public
- Empfohlene OMSI-Version
- Aktuell v2.3.x
- Vorausgesetzte kommerzielle Erweiterungen
- Keine
- Weitere Versionshinweise
- Currently doesn't support model exporting properly, but this is coming very soon!
- Blender-Version
- 2.79-3.5.x
BLENDER-O3D-IO
En Français (merci a @boingtheboeing pour la traduction)
Features
Blender-O3D-IO includes a fast o3d file importer and exporter with full support for the format. For complex models, .cfg
and .sco
files can also be imported and exported. OMSI map tiles (.map
files) can also be imported.
- Fully supports O3D file format:
- Explicit vertex normals
- Long headers (version >= 3)
- Encryption (requires private
o3d_crypto.py
module) - Long triangle indices
- Alternative encryption seed
- Embedded materials
- Bones
- UV coordinates
- Supports many features in CFG/SCO files:
- LODs
- Imports and exports advanced material features including:
[matl]
[matl_alpha]
[matl_transmap]
[matl_envmap]
&[matl_envmap_mask]
[matl_bumpmap]
(Blender >= 2.80 only!)[matl_nightmap]
&[matl_lightmap]
- ...
- Interior lights and spotlights
- Lens flares (
[light_enh]
and[light_enh_2]
) - Imports all referenced models (o3d files only) and textures in the CFG/SCO as separate objects
- Imports
.x
if a compatible importer is installed (https://github.com/Poikilos/io_import_x)
- Imports OMSI map tiles (
.map
files): [WIP]- Imports referenced scenery objects
- Imports terrain tiles and materials
- Imports splines and converts them to meshes
Documentation
Additional documentation is available in the README (or README-FR) file. Read it on GitHub for correct formatting:
https://github.com/space928/Bl…ublic/blob/main/README.md
Updates
The latest version of the plugin will always be available on my GitHub (as well as the source code).
Whitestone -BSVG-
Hey, is there a way to export files to o3d correctly? My objects keep having no textures in the map-editor, when i export the file.
ilker
Hello in description you said it can import .map files but it can't. How can i import it?
Moin Meister
How to export the o3d file correctly? If I just click export every texture is missing
Prototype001
Is it planned to make "encrypted" O3D files openable?
Everposter
Blender 4.02 does not work.
LeonardU
Look into the description:
Blender-Version:
2.79-3.5.x
Hochbahn Hamburg
When trying to import objects of any of the Hamburg-Addons it is a 50/50 if the object is imported correctly or deformed. This problem only occurs in those addons, any other free- or payware o3d-files are imported correctly. Its worth noting that also all the o3ds cannot be loaded in the OMSI crossing-editor but in the game they are displayed correctly.
nopoprostuxd
hey, changing only the coordinates of a given object and they are in the bus, e.g. door buttons, eg 1,2,3, the light in the cabin does not illuminate them? the same is with replacing the desktop in the vehicle, I only change the existing location in the .cfg file to my modded one and all I exported is the light in the cabin does not illuminate them
blender version 3.6.1
DennysFahrzeughalle
0
MiKaniaC
How exactly does OMSI encrypt x files to produce an O3D file? Can you maybe explain that?

Wie macht OMSI aus einer .X Datei eine O3D Datei? Kannst du vielleicht einmal grob erklären, wie das funktioniert?
Danke
Frankysmiles
The Version 0.2.4 its not work with Blender 2.79?
At least not correctly? because I always get a warning and no textures are loaded.
space928 Autor
Strange, it should work, what error message do you get?
Busfan Bayern
I have the same problem. The warning says that it was written with/for Blender 3.1 so that it might not work correctly.
Frankysmiles
I just got into the new Blender version now and use that. The new Blender version is much better than the old ones. It also works without any problems.
PilótaMatyi
Thank you for this masterpiece (and must have :D) plugin!
Best regards
DerGrafikfehler
Hey, I've just tried to install version 0.2.0 on Blender 2.79 but it doesn't seem to work at all, I can't activate it in settings. Version 0.1.5 is installed as well, doesn't make a difference with it being removed.
Traceback (most recent call last):
File "D:\Program Files\Blender Foundation\Blender\2.79\scripts\modules\addon_utils.py", line 331, in enable
mod = __import__(module_name)
File "C:\Users\Michael\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\Blender-O3D-IO-Public-main\__init__.py", line 38, in <module>
from .o3d_io import io_o3d_import, io_o3d_export, io_omsi_tile
File "C:\Users\Michael\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\Blender-O3D-IO-Public-main\o3d_io\io_omsi_tile.py", line 302
log(f"Loaded {len(objs)} objects!")
^
SyntaxError: invalid syntax
space928 Autor
Hi, sorry about that, I missed that line while adding compatibility for Blender 2.79. For now you can just comment out line 302 of io_omsi_til.py like this:
log(f"Loaded {len(objs)} objects!")
Becomes:
# log(f"Loaded {len(objs)} objects!")
I'll try and release a patch soon.
DerGrafikfehler
I just tried that, it didn't help.
Traceback (most recent call last):
File "D:\Program Files\Blender Foundation\Blender\2.79\scripts\modules\addon_utils.py", line 331, in enable
mod = __import__(module_name)
File "C:\Users\Michael\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\Blender-O3D-IO-Public-main\__init__.py", line 38, in <module>
from .o3d_io import io_o3d_import, io_o3d_export, io_omsi_tile
File "C:\Users\Michael\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\Blender-O3D-IO-Public-main\o3d_io\io_omsi_tile.py", line 8, in <module>
from . import o3d_node_shader_utils, io_omsi_spline
File "C:\Users\Michael\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\Blender-O3D-IO-Public-main\o3d_io\io_omsi_spline.py", line 50
return f"Spline {self.id}: sli_path = {self.sli_path}; id = {self.id}; nextID = {self.nextID}; " \
^
SyntaxError: invalid syntax
space928 Autor
I have a patch ready, I'm just testing it and I'll upload it to WebDisk today. I've also fixed a bunch of other bugs relating to Blender 2.79 so hopefully exporting should work now as well.
DerGrafikfehler
It works now, thank you!
I just played around with the exporter a bit and found two things that might need some change:
-Selection only is off by default. I can't see most of the Omsi community regularly exporting an entire bus/blend file so it might make sense to turn Selection only on by default.
-Indexes following file names are also exported. Is it possible to change that?
space928 Autor
I've added these as feature requests to the GitHub page. I'll try and change that for the next release.
https://github.com/space928/Blender-O3D-IO-Public/issues/39
https://github.com/space928/Blender-O3D-IO-Public/issues/40
Lion's Coach - Fan
Really great plugin. Unfortunately it doesn't work with blender 2.81
space928 Autor
Hi, it should work with blender 2.8, please try version 0.2.0 (as I write this it's still waiting on approval from a moderator but should be available soon) of the plugin and let me know if that works.
If you're still having issues send me your Blender log. You can access it by opening the Blender console after the issue occurs by clicking "Window->Toggle System Console" and then copy the text in that window here, there should be something along the lines of:
Which is what I'm interested in.
Lion's Coach - Fan
Just tried the latest version from github but unfortunately it still doesn't work...
Here is the log
RealTobi_BKAD
Hello,
And what about my mistake
space928 Autor
Sorry for taking so long, I've been very busy recently.
The issue should now be fixed in version 0.2.0 of the plugin (as I write I'm still waiting for the moderators to approve the file).
If you have any more issues please raise a bug report on the GitHub page: https://github.com/space928/Bl…-Public/issues/new/choose
jjb
Thanks. That's a great plugin for Blender! Must-have for every mod developer!
RealTobi_BKAD
Python: Traceback (most recent call last):
File "C:\Users\tubse\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\Blender-O3D-IO\__init__.py", line 160, in execute
io_o3d_export.do_export(self.filepath, context, global_matrix, self.use_selection, self.o3d_version)
File "C:\Users\tubse\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\Blender-O3D-IO\o3d_io\io_o3d_export.py", line 168, in do_export
export_mesh(path, context, me, ob_eval.material_slots, o3d_version)
File "C:\Users\tubse\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\Blender-O3D-IO\o3d_io\io_o3d_export.py", line 87, in export_mesh
for m_bone in mesh.bones:
AttributeError: 'Mesh' object has no attribute 'bones'
location: <unknown location>:-1
space928 Autor
This appears to be an issue with bone exporting. I'll make a note of this on GitHub and try to investigate it soon.
RealTobi_BKAD
Okay Thx
Gragame
Really thanks for this plugin.