Importing an OBJ file as a prop - common pitfalls
💬 General•Updated 2 days ago•0 views
mesh.createFromObj returns objects keyed by the 'o <name>' line in the OBJ - pass that key (e.g. Mesh instead of Renamon) or it fails silently. The OBJ parser o…
Why does an imported OBJ mesh not get recognized / texture and size issues
mesh.createFromObj returns objects keyed by the 'o <name>' line in the OBJ - pass that key (e.g. Mesh instead of Renamon) or it fails silently. The OBJ parser only reads v/vt/vn/f lines and errors on unknown fields like usemtl - strip them. Textures must be 1024x1024 for the rendertarget; resize via setScale or the scale arg in hologram.create.