Transparency value in color selector

This topic has been viewed 8607 times and has 6 replies
Thread status: Active
Features you would like to see [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
tylla
Posts: 7
Joined: Sat Nov 18, 2017 9:37 am

Transparency value in color selector

Post by tylla »

I would like to request a transparency value in the color selector dialogue.
As a rationale there are lots of places where it would be really useful:
- create colored objects with translucency/transparency without the cumbersome object export/import procedure
- create transparent walls which are independent of the global wall transparency setting
As I read there are some feature requests, wishes for transparent walls, transparent objects, but this global approach would solve all these.
If there are any questions that are unclear, I'm really happy to clear those up.

Anyway thanks for this super nice program, and for your time dedicated to creating/supporting it.
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: Transparency value in color selector

Post by Daniels118 »

That would be very nice!

However I have 2 workarounds for you:
- you can use transparent textures to create transparent colors for furniture; it's a bit annoying because you have to create a different texture for each color/transparency level you need, but at least it works.
- transparent textures doesn't work by default on walls in the 3D view, however there is a trick: just set a very small wall transparency in the 3D view settings, this way texture transparency gets enabled, and other walls will appear almost opaque. You can also shape the textures to obtain special cutouts (however the inner sides will be missing). The transparent textures works by default while rendering, so there is no need to change the wall transparency (moreover it is ignored).
User avatar
Keet
Posts: 1807
Joined: Fri Apr 08, 2022 7:13 am
Country: Netherlands

Re: Transparency value in color selector

Post by Keet »

Can I revive this wish? It's annoying to always have to edit the mtl file to change transparency. Even worse, you have to re-import the object before the transparency change is visible and you have to do it again with the next transparency change.
If I want to allow the user to switch between transparent glass and a solid color I have to create a copy of the solid object with one with transparency and place both at the same position. Then the user has to make one of them invisible to switch between them. Simply being able to set a tranparency between 0.00 and 1.00 would remove the need for using double objects making the end product smaller as a bonus to the easier handling. Using textures is not a valid alternative for this.
Dodecagon.nl
1300+ 3D models, manuals, and projects
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Transparency value in color selector

Post by Puybaret »

I don't plan to program this feature and even removed the transparency setting in color dialog box. Why? Because when you start to use transparency on many objects, the 3D view doesn't work so well because some kind of z-fighting between transparent surfaces close to each other appears. You surely experienced this behavior when you use existing wall transparency and rotate the home. If it happens more often, this will end by endless bug fix requests.
Emmanuel Puybaret, Sweet Home 3D creator
tylla
Posts: 7
Joined: Sat Nov 18, 2017 9:37 am

Re: Transparency value in color selector

Post by tylla »

While I perfectly understand you about not wanting to make changes that would lead to massive user complaints, can we possibly have this feature as on opt-in one, which comes with some nice big warnings about the possible side effects?
This way the average user would be happy without any glitches, and the advanced users would have a chance to balance between having transparency or clean 3D view.
Not to mention the chance that a possible real solution is found if the transparency feature is used by more and more people.
So please-please reconsider!
User avatar
Keet
Posts: 1807
Joined: Fri Apr 08, 2022 7:13 am
Country: Netherlands

Re: Transparency value in color selector

Post by Keet »

Thank you for the quick response. It's better to know a feature is not coming and why then remain in doubt why it isn't there in the first place.
I understand the reasoning although I doubt that suddenly everyone starts to apply transparency to every color.

A possible alternative:
If the mtl material property has a d value >0 and <1 this can be used as an indicator. If the the d value is 1, 0, or not existent it can be ignored and never show in the color dialogue. That will be for most objects thus removing the possibility of over usage.
If users start creating all materials with a d value to force the transparency setting they are actively sabotaging their own work and can be called on that.
Dodecagon.nl
1300+ 3D models, manuals, and projects
excludedburritos
Posts: 1
Joined: Mon Sep 02, 2024 3:54 am

Re: Transparency value in color selector

Post by excludedburritos »

- transparent textures doesn't work by default on walls in the 3D view, however there is a trick: just set a very small wall transparency in the 3D view settings, this way texture transparency gets enabled, and other walls will appear almost opaque.


Gees, I have spent hours trying to debug this.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests