|
Sweet Home 3D Forum » List all forums » » Forum: Features use and tips » » » Thread: Help creating new object & light source from scratch » » » » Post: Re: Help creating new object & light source from scratch |
Print at Jan 30, 2026, 12:33:37 AM |
| Posted by Wendell_Burke at Nov 11, 2024, 6:21:43 PM |
|
Re: Help creating new object & light source from scratch When you say, Edit the light.obj file and change the line "usemtl room_1_1" to "usemtl light", my Light object file says… # # Generated by Sweet Home 3D - Mon Nov 11 11:50:56 EST 2024 # http://www.sweethome3d.com/ # mtllib Light.mtl g room_1_1 usemtl room_1_1 v 1312.6152 0.0 276.20166 v 1306.3107 0.0 273.36084 v 1298.4929 0.0 274.36957 v 1292.1882 0.0 280.9264 v 1290.1708 0.0 291.26602 v 1297.2319 0.0 305.13626 v 1307.8237 0.0 327.07642 v 1321.9462 0.0 366.41742 v 1329.2595 0.0 391.63602 v 1337.3295 0.0 432.2379 v 1339.5991 0.0 457.45654 v 1341.8689 0.0 468.80487 v 1347.417 0.0 478.64014 v 1354.7303 0.0 484.44043 v 1366.583 0.0 489.48413 v 1570.6014 0.0 489.73633 v 1579.6802 0.0 488.97974 v 1585.2283 0.0 485.19696 v 1589.011 0.0 479.14453 v 1589.011 0.0 473.34424 v 1586.7413 0.0 466.28302 v 0.0 0.0 0.0 vn 1.0 0.0 0.0 vn 0.0 1.0 0.0 f 1//1 1//1 21//1 f 21//2 1//2 20//2 f 20//2 1//2 19//2 f 19//2 1//2 18//2 f 18//2 1//2 17//2 f 17//2 1//2 16//2 f 16//2 1//2 15//2 f 15//2 1//2 14//2 f 14//2 1//2 13//2 f 1//2 2//2 13//2 f 3//2 4//2 2//2 f 4//2 5//2 2//2 f 5//2 6//2 2//2 f 6//2 7//2 2//2 f 7//2 8//2 2//2 f 8//2 9//2 2//2 f 2//2 9//2 13//2 f 9//2 10//2 13//2 f 13//2 10//2 12//2 f 12//2 10//2 11//2 …So is “mtllib Light.mtl g room_1_1 usemtl room_1_1” …the entire line that needs to be replaced with "usemtl light", or are these considered two or three different ‘lines’? When you say, “Edit the light.mtl file that was created along the light.obj file. Change the line "newmtl room_1_1" to "newmtl light". Save the mtl file.”, my mtl file says… # # Generated by Sweet Home 3D - Mon Nov 11 11:50:56 EST 2024 # http://www.sweethome3d.com/ # newmtl room_1_1 illum 1 Ka 0.2 0.2 0.2 Kd 1.0 1.0 1.0 Ks 0.0 0.0 0.0 Ns 1.0 Ni 1 d 1.0 …So do I just replace “newmtl room_1_1” with "newmtl light", or do I need to delete “newmtl room_1_1 illum 1”? Also, “Create your brace object by finishing the brace and inserting the light object. You can still change the color of your light part. Export the brace+light” When I import the brace, I can’t see anything in the file and nothing shows up when I try to select it, but when I saved the file, I could see the rotating shape of the light in the file pic. So, is there no object there to manipulate or is there? Also, I’m still trying to get the furniture library set up. |
|
|
Current timezone is GMT Jan 30, 2026, 12:33:37 AM |