Print at Dec 16, 2025, 1:37:01 PM

Posted by Keet at Jul 12, 2023, 5:24:57 PM
Re: Film miroir adhésif pour fenêtre pour préserver confidentialité vie privée
C'est facile!

test.obj
mtllib test.mtl
g bottom_1
usemtl Border
v 767.1781 255.0 2795.346
v 817.1781 255.0 2795.346
v 817.1781 255.0 2796.346
v 767.1781 255.0 2796.346
vt 0.0 0.0 0
vt 1.0 0.0 0
vt 1.0 1.0 0
vt 0.0 1.0 0
vn 0.0 -1.0 0.0
f 1/1/1 2/2/1 3/3/1
f 1/1/1 3/3/1 4/4/1
g top_2
usemtl Border
v 767.1781 355.0 2795.346
v 767.1781 355.0 2796.346
v 817.1781 355.0 2796.346
v 817.1781 355.0 2795.346
vn 0.0 1.0 0.0
f 5/4/2 6/1/2 7/2/2
f 5/4/2 7/2/2 8/3/2
g left_3
usemtl Border
vn -1.0 0.0 0
f 1/1/3 4/2/3 6/3/3
f 1/1/3 6/3/3 5/4/3
g right_4
usemtl Border
vn 1.0 0.0 -0
f 2/2/4 8/3/4 7/4/4
f 2/2/4 7/4/4 3/1/4
g back_5
usemtl Glass
vn -0 0.0 -1.0
f 1/2/5 5/3/5 8/4/5
f 1/2/5 8/4/5 2/1/5
g sweethome3d_window_mirror_6
usemtl Mirror
vn 0 0.0 1.0
f 3/2/6 7/3/6 6/4/6
f 3/2/6 6/4/6 4/1/6


test.mtl
newmtl Border
illum 2
Ka 0.4 0.4 0.4
Kd 1.0 1.0 1.0
Ks 0.3 0.3 0.3
Ns 60.0

newmtl Glass
illum 1
Ka 1.0 1.0 1.0
Kd 1.0 1.0 1.0
Ks 0.0 0.0 0.0
Ns 1.0
Ni 1.45
d 0.39999998

newmtl Mirror
illum 2
Ka 0.2 0.2 0.2
Kd 1.0 1.0 1.0
Ks 1.0 1.0 1.0
Ns 128.0
map_Kd Mirror.jpeg


L'image dans le fichier mtl est juste l'image miroir des textures Sweethome3D mais n'importe quelle couluer devrait fonctionner.
(Used DeepL.com translator on: The image in the mtl file is just the mirror image from the Sweethome3D textures but any color should work.)
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects