MIRROR EFFECT

This topic has been viewed 47686 times and has 24 replies
Thread status: Active
Looking for a particular 3D model or texture? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Kirl
Posts: 4
Joined: Mon May 14, 2012 12:10 am

MIRROR EFFECT

Post by Kirl »

Hi all, can anyone help me?
Can i make a mirror effect at SweetHome?
If 'yes', please tell me...
Hugs all!!!!
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: MIRROR EFFECT

Post by hansmex »

Rob,

Depending on what you mean:
1 - Use Modify furniture -> Mirrored shape
2 - Use this model.

Hans
Hans

new website - under constuction
hansdirkse.info
Kirl
Posts: 4
Joined: Mon May 14, 2012 12:10 am

Re: MIRROR EFFECT

Post by Kirl »

Thx bud...
User avatar
oxygen
Posts: 53
Joined: Wed Jun 06, 2012 2:32 pm
Country: Saratov, Russia
Contact:

Re: MIRROR EFFECT

Post by oxygen »

About mirrors again...
I want to make a custom mirror and I downloaded a nice mirror in 3ds format than imported it into my SweetHome. And it didn't work! [:O] Mirror material was imported as some type of a metal. OK, I think there was anoter way - I took a model from post of hansmex and open it in my Deep Exploration to grab a mirror material from it and replace the material of my downloaded mirror with grabbed mirror material. Than modified mirror object was saved in .3ds, .obj and .dae but when I tried to import it in my SeetHome, it was unsuccesful at all even if I make a changes of a properties of a mirror material in Deep Exploration. So... What am I doing wrong? [:-?]
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: MIRROR EFFECT

Post by hansmex »

The "mirror trick" is the mirror.mtl file that's included in the zip-file. Here the material properties are specified.
If you make an object and use the mirror.mtl file as its material, you will obtain the mirror effect.

Use a text editor to study the mirror.obj and the mirror.mtl files.

Hans
Hans

new website - under constuction
hansdirkse.info
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: MIRROR EFFECT

Post by Puybaret »

Sorry Hans, the MTL file is useful to find which part is the mirror, but it's not the MTL file that must be modified.

oxygen, you should export your 3D model first at OBJ + MTL format (both are text files you can edit with any text editor).
Then in the generated MTL file, search for the name of the material following newmtl that match the texture or the color of the mirror in your 3D model.
Once found, search the line where this material name is found in the OBJ file and search back the closest line starting by "o" or "g" in the previous lines. Following "o" or "g", there will be the name of a part of your 3D model that you should prefix with sweethome3d_window_mirror.
For a real example, please have a look to rectangularMirror.mtl and rectangularMirror.obj showing the following mirror:

Image

Finally, note that the reflection effect in the mirror works only at the two best rendering quality levels in Photo creation dialog box.
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
oxygen
Posts: 53
Joined: Wed Jun 06, 2012 2:32 pm
Country: Saratov, Russia
Contact:

Re: MIRROR EFFECT

Post by oxygen »

Thanks Hans and Emmanuel))
I'll try to make some cute mirrors for my projects.
chenjs
Posts: 4
Joined: Thu Aug 16, 2012 3:31 pm

Re: MIRROR EFFECT

Post by chenjs »

Hi all,

I'm also having problem with the mirror effect. I have imported the mirror models from the Sweet Home website but somehow they show a metallic surface, not a reflection.

It there a problem with my software or hardware configurations?

Please help. Thanks in advance.
sclee
Posts: 44
Joined: Mon Jan 03, 2011 12:32 am
Country: Taipei, Taiwan
Contact:

Re: MIRROR EFFECT

Post by sclee »

User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: MIRROR EFFECT

Post by Puybaret »

chenjs, the reflection can be seen only at the two best quality levels in the photo or video creation panes.
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests