|
Sweet Home 3D Forum » List all forums » » Forum: Sweet Home 3D bar » » » Thread: Translucent » » » » Post: Re: Translucent |
Print at Dec 15, 2025, 6:59:20 PM |
| Posted by Keet at Aug 16, 2022, 2:35:09 PM |
|
Re: Translucent How about editing (transparency to translucent) an already made OBJ, with no MTL file to start with? There's a "cheat" to create a functional MTL file for an existing OBJ file. You can edit both OBJ and MTL files with a simple text editor. Example for test.obj: In the OBJ file add a line directly after the top description lines (#) in the OBJ file (if there are any): mtllib test.mtlIn the OBJ file there are lines starting with "g <a name>". After each "g <a name>" line you can add a line with usemtl <your name>For example: g groupname_1_1_23_3Now create an empty mtl file: test.mtl. For each <your name> you added in the OBJ file you add a line newmtl <your name>Now import the OBJ file into Sweethome3D. Obviously there are no colors or textures yet but you should see the property names you created when you modify the imported object. You can set your colors and textures and when you export the object a new, complete MTL file will be created by Sweethome3D. If you want to add transparence to a specific color/texture just add the line with "d" to that property after Sweethome3D created a correct MTL file and import your object again. It sounds complex but it's actually very easy. Good luck! ---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
|
|
Current timezone is GMT Dec 15, 2025, 6:59:20 PM |