|
Sweet Home 3D Forum » List all forums » » Forum: Features use and tips » » » Thread: (Semi)transparent Mirrors » » » » Post: Re: (Semi)transparent Mirrors |
Print at Dec 19, 2025, 5:28:59 PM |
| Posted by scjo at Oct 30, 2024, 2:42:58 PM |
|
Re: (Semi)transparent Mirrors The case studies of GaudiGalopin3324 are really very instructive and inspiring. They answer many of my practical questions. Great THX to him! Because SH3D regards Kd with reflection as well as with transmission, regards the d with transmission it as insinuated by the *.mtl spec, and even with reflection it regards the sign of d, I thought, it might regard the absolute of d with reflection as well. Thanks for clarifying, though. Of course, the .*mtl spec defines a data structure, not software behavior. However I thought, reflection is mathematically not too different from transmission/refraction. Therefore I was surprised. Still wondering if this is worth a software request. Meanwhile I am considering a somewhat laborious workaround by means of compositing:
1. Reflected fraction: Render the scene with mirroring enabled 2. Transmitted fraction: Make the mirror a glass pane, i.e. in the *.obj, remove or mask the sweethome3d_window_mirror prefix. If it has a color tint or texture, keep that effective! Render again. 3. Compositing: overlay the output of 1 (reflection) with that of 2 (transmission), weights according to transmissivity of mirror. E.g. if the mirror is 30% transparent, make 1. the background, and 2. the top layer with a density of 30%. Suitable compositors: GUI - Gimp; CLI/scripting - Image Magick. ---------------------------------------- Cheers - Joe // |
|
|
Current timezone is GMT Dec 19, 2025, 5:28:59 PM |