Group Group Group Group Group Group Group Group Group

Chap 2: Import to Blender

I tried to confirm my understanding by importing your plane into Blender.

Set up plane.obj as follows:

# Apple ModelIO OBJ File: plane
mtllib plane.mtl
g submesh
v 0 0.5 -0.5
v 0 -0.5 -0.5
v 0 -0.5 0.5
v 0 0.5 0.5
vn -1 0 0
vt 1 0
vt 0 0
vt 0 1
vt 1 1
usemtl material_1
f 1/1/1 2/2/1 3/3/1
f 1/1/1 3/3/1 4/4/1
s off

Then set up plane.mtl as follows:

# Apple ModelI/O MTL File: plane.mtl

newmtl material_1
	Kd 1 1 1
	Ka 0 0 0
	Ks 0 0 0
	ao 0
	subsurface 0
	metallic 0
	specularTint 0
	roughness 0.9
	anisotropicRotation 0
	sheen 0.05
	sheenTint 0
	clearCoat 0
	clearCoatGloss 0

Blender failed to import them but no error was reported. I realise plane.mtl is just a straight copy of primitive.mtl and may be at fault. Any suggestions?

Thanks
Don

Hi Don!

I just tried out your examples above, and it worked for me.

Here’s the zip.

plane.zip (80.5 KB)

The .blend file is Blender 2.81

Thanks Caroline. I feel like a fool. My own plane.obj file imports today too. Can’t remember doing anything differently

regards
Don

That happens :grinning:. Glad it’s sorted!