Print at Dec 21, 2025, 2:14:21 AM

Posted by Tutmozis at Nov 24, 2023, 11:31:39 PM
Re: Sweet Home 3D 7.0
What didn’t you understand in the description and the examples given in the first post of this thread?


Well, we are confused as newbies where to put that... at objects .mtl ? I would like my simple box what I use as ceiling to shine if possible... where to put that light command ?

#
# Generated by Sweet Home 3D - Sat Nov 25 00:26:22 CET 2023
# http://www.sweethome3d.com/
#

newmtl bottom
illum 2
Ka 0.4 0.4 0.4
Kd 1.0 1.0 1.0
Ks 1.0 1.0 1.0
Ns 128.0

newmtl top
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 left
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 right
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 back
illum 2
Ka 0.85882354 0.85882354 0.85882354
Kd 0.85882354 0.85882354 0.85882354
Ks 0.46875 0.46875 0.46875
Ns 60.0

newmtl front
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