Skip to content

Instantly share code, notes, and snippets.

@DaSalba
DaSalba / convert_aitd_obj.py
Created July 6, 2024 20:43
Blender script that imports an OBJ (3D model) exported from Alone in the Dark room viewer application (https://github.com/tigrouind/AITD-roomviewer), and fixes the materials so it can be properly rendered/edited.
# Blender script that imports an OBJ (3D model) exported from Alone in the Dark
# room viewer application (https://github.com/tigrouind/AITD-roomviewer), and
# fixes the materials so it can be properly rendered/edited.
# NOTE: the file "noise.png" is needed (get it from the Assets/Materials/Model/
# directory of the mentioned application). Put it in the same folder as this
# script so Blender can find it. It will also have to be present in the same
# folder as the output .blend file, unless you manually change the path or pack
# (embed) it into the .blend.