|
Sweet Home 3D Forum » List all forums » » Forum: Features use and tips » » » Thread: Multi mirror plan |
|
| Print at Dec 16, 2025, 12:11:53 PM | View all posts in this thread on one page |
| Posted by maurorog at Jun 15, 2011, 11:04:50 PM |
Multi mirror planI need help to create a clothes hangers with a mirror. The mirror has many horizontal and vertical lines, so as to draw many squares. I created everything with sketchup and exported to obj format. I followed your advice, adding the attribute g sweethome3d_window_mirror before each usemtl, but I do not understand why the frame disappears. I am attaching the file format and obj skp. Thanks in advance Download |
| Posted by hansmex at Jun 15, 2011, 11:34:21 PM |
|
Re: Multi mirror plan Rogledi, When I import the OBJ file you shared, it's all gray because the textures aren't applied correctly. I loaded the SKP file, exploded it, and applied the "specchio" mirror texture to both faces of the individual mirror tiles. I then exported it using File --> Export --> 3D model. Note that this produces a DAE file plus a directory with the same name containing the 4 textures in your design. The DAE file can be imported into SH3D and should be in the same directory as the texture directory. This is the image that your design gives after importing into SH3D. I guess this is what you wanted? Note that the "specchio" texture doesn't result in mirrored surfaces, as the image clearly shows. Hans ![]() ---------------------------------------- Hans new website - under constuction hansdirkse.info |
| Posted by Puybaret at Jun 16, 2011, 10:00:35 AM |
|
Re: Multi mirror plan The OBJ files interpreter of Sweet Home 3D doesn't display the material colors you chose because Sketchup didn't create a new object with a line starting by g or o, for each color or texture change happening with a line starting by usemtl. As there doesn't seem to be any OBJ export option in Sketchup that would say "Separate by color" or "Separate by material", I guess I'll have to update Sweet Home 3D... At this time, I would: - export the 3D model in DAE/Collada file format from Sketchup, - import the DAE file in an empty home in Sweet Home 3D, - export it with 3D view > Export to OBJ format menu item, - change in the generated OBJ file the name in each g line preceding the usemtl matching a mirror material, with something prefixed by sweethome3d_window_mirror, - import the modified OBJ file in Sweet Home 3D again. Hope this is clear enough... ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by maurorog at Jun 16, 2011, 11:04:35 AM |
|
Re: Multi mirror plan I used the puybaret method and I got the desidered result. Thanks a lot at all. Fantastic software :) ![]() |
| Posted by Puybaret at Jun 16, 2011, 11:24:45 AM |
|
Re: Multi mirror plan Great that it worked, even if the method isn't very handy... This should work also in the DAE file if you correctly set the name attribute of the node elements which are parent of an instance_geometry element. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Dec 16, 2025, 12:11:53 PM |