|
Sweet Home 3D Forum » List all forums » » Forum: 3D models and textures » » » Thread: import Arbaro files with colors » » » » Post: Re: import Arbaro files with colors |
Print at Jan 30, 2026, 2:05:56 PM |
| Posted by okh at May 29, 2017, 11:59:34 AM |
|
Re: import Arbaro files with colors Played with Arbaro a while back, but abandoned it because tree files in general, not only Arbaro, tend to be huge and bloat and slow down SH3D (see SF 3D models 261 for tiny, but not-so-pretty alternatives). That said, Arbaro really is a nice way of making custom trees. There may very well be an easier way of doing what you ask, but I had the same problem and simply made my own .mtl file based on the different materials (usemtl xxx) in the .obj file. For the Arbaro files I generated, there were always four materials used, trunk, stems_1, stems_2 and leaves. So I used a text editor to insert a first line to mytree.obj and create a corresponding mytree.mtl. Add first line in mytree.obj file: mtllib mytree.mtlCreate mytree.mtl (placed in the same directory as mytree.obj): newmtl trunkProvided there are no other options in Arbaro that I missed and you have used in terms of groups, the above mtllib mytree.mtl should work for any arbaro file that has a correct mtllib mytree.mtl as a first line. The files, of course, do not have to be called mytree.* - the point is that the reference in the .obj file must point to the .mtl file. Once this was done, the tree imported with colours in SH3D and could be changed in the SH3D Modify furniture - Materials modify dialogue. ok |
|
|
Current timezone is GMT Jan 30, 2026, 2:05:56 PM |