|
Sweet Home 3D Forum » List all forums » » Forum: Forum en français » » » Thread: Murs semi-transparents |
|
| Print at May 24, 2026, 10:00:53 PM | |
| Posted by Marcounet at May 23, 2026, 11:28:47 AM |
|
Murs semi-transparents Bonjour le forum ! Je souhaiterai rendre mes murs extérieurs semi-transparents, sans pour autant utiliser l'option de "Modifier la vue 3D" où je veux rester en opaque. Est-ce possible svp ? Merci par avance pour votre aide. |
| Posted by Keet at May 23, 2026, 2:33:25 PM |
|
Re: Murs semi-transparents Il existe deux façons de procéder. 1 - Vous exportez vos murs et les importez en tant qu'objets. Avant l'importation, vous modifiez le fichier .mtl et ajoutez une ligne d 0,5 au bloc de matériau. newmtl materialname2 - Trouvez ou créez une texture (semi-)transparente et définissez-la comme matériau pour les murs. Si vous l'appliquez aux deux faces des murs, ceux-ci deviendront semi-transparents. Vous pouvez utiliser deux textures différentes pour chaque face, mais elles doivent toutes deux présenter une certaine transparence. Cette méthode présente l'avantage que les murs restent des objets muraux et créent ainsi des ouvertures pour les portes et les fenêtres, et que ces ouvertures se déplacent lorsque vous déplacez les portes ou les fenêtres. Il y a un léger inconvénient, car aux angles, les extrémités des murs seront visibles à travers les textures transparentes. Notez que la vue 3D reproduit le plan en 2D ; les murs s'afficheront donc tels que vous les avez créés, c'est-à-dire semi-transparents. Si vous souhaitez simplement jeter un œil à l'intérieur de votre maison, vous pouvez soit réduire (temporairement) la hauteur des murs, soit utiliser le plugin « Select/Hide » créé par dorin. Traduit avec DeepL.com (version gratuite) [English] There are two ways to achieve this. 1 - You export your walls and import them as object. Before import you edit the .mtl file and add a line d 0.5 to the material block. newmtl materialname2 - Find or create a (semi-) transparent texture and set this as the material for the walls. If you use this on both sides of the walls then the walls will be semi-transparent. You can use two different textures for each wall side but they both need some transparency. This way has the advantage that the walls remain as wall objects and thus creates holes for doors and windows and the holes move when you move doors or windows. There is a slight disadvantage because at corners the ends of the walls will show through the transparent textures. Note that the 3Dview represents the 2D plan so the walls will show as you created them, i.e. semi-transparent. If you just want to look inside your home you can either (temporarily) lower the wall heights or use the Select/Hide plugin created by dorin. ---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
| Posted by Marcounet at May 24, 2026, 8:06:30 AM |
|
Re: Murs semi-transparents WOOOH KEET Thanks a lot for those tips. i will choose the second solution and try to apply a semi transparent PNG. Have a nice day ! |
| Posted by Marcounet at May 24, 2026, 9:00:57 AM |
|
Re: Murs semi-transparents Sorry but I've somme difficulties. I've tried to generate many PNG with transparency, but each time it appears black or grey, but never white. And the transparency is not effective. Which parameters should I use on the 2 sides ? Angle 0 ? Scale 1% ? You may have a correct PNG for me ? Thanks for your help |
| Posted by Keet at May 24, 2026, 8:12:25 PM |
|
Re: Murs semi-transparents On ne définit pas de transparence sur le mur. La transparence doit provenir de l'image de texture. Vous trouverez de nombreuses images PNG avec un fond transparent sur Internet. Voici une image de texture blanche à 50 % de transparence Utilisez-la sur les murs que vous souhaitez rendre semi-transparents. Faites un clic droit dans la vue 3D et sélectionnez « Modifier la vue 3D ». Cliquez sur le curseur « Wall transparency » et déplacez-le d'un cran vers la droite à l'aide de la flèche. Cela « active » la transparence, sinon les textures n'afficheront pas la transparence. Vous pouvez créer une texture avec GIMP si vous souhaitez un niveau d'opacité différent. Traduit avec DeepL.com (version gratuite) [English] You don't set a transparency on the wall. The transparency should be in the texture image. you can find numerous png images with transparent backgrounds on the internet. Here is a white 50% transparent texture image Use it on the walls you want to show semi-transparent. Right click in the 3Dview and click "Modify 3D view". Click on the "Wall transparency" slider and give it just one tick with the arrow key to the right. That "activates" transparency, otherwise the textures will not show the transparency. You can create a texture with GIMP if you want a different level of opacity. ---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
|
|
Current timezone is GMT May 24, 2026, 10:00:53 PM |