Sketchup material transparency

Hi,

Each time I import sketchup files I have to rework the textures.
The import tool creates weird materials when it comes to transparent textures.
I put an example. (left: as is, right: reworked)
I don’t know why Alpha Transparency is not checked and transparency texture slot is using the same file as the diffuse map.
When png files are used, it is usually to take advantage of the transparency channel.
Furthermore, I think sketchup does not have a separate opacity map.
I work with large architectures which use hundreds of materials. I don’t want to parse them one by one.
Maybe something I missed ?

Is there a way to resolve this issue ?

Regards.

image

post a file that shows this issue and steps to reproduce, we’ll take a peek-

  • import this sketchup file (2018 version) in rhino 6.
  • put perspective view in rendered mode.

The import result should show a ground plane, a 2d tree and a 3d tree (block).

arbres_v2018.skp (6.7 MB)

I realized that even the uv mapping in the 3d tree is a bit odd.
image

I have logged an issue for this: RH-61756 Sketchup transparency imported incorrectly.

I have a fix ready for this.

1 Like

Good news !
Thanks.

RH-61756 is fixed in the latest Rhino 7 Service Release

1 Like

Hi,
It really works better ! Thx.
But I hit a bug with that file which shows me “Error importing file x” only when I enable Sketchup Texture Writer.

Regards.

voiture_v2019_.skp (7.2 MB)
image

Thanks, I logged https://mcneel.myjetbrains.com/youtrack/issue/RH-61851

RH-61851 is fixed in the latest Rhino 7 Service Release Candidate

image

Good !
I can’t test it since my rhino 7 can’t start cause it is looping indefinitely trying to load rhino 6 plugins.
And since it needs a working version to get a release candidate I’ll wait to download it manually.
Don’t have the time to report the issue.
Maybe there is a safe mode with no plugins ?

Regards

I export a lot of geometry for Sketchup.

What I usually have to change in the file is 1. Set Color by layer in the Layers panel and 2. in the Styles panel I have to uncheck Material transparency.

Is this subject to change?

I am not sure. The transparency bug I fix relates to the usage of the alpha channel of a diffuse texture on the material when the material is set to use that according the SKP file.

I don’t know how it manifests in the Sketchup GUI or how it otherwise works.

The fix is for

OK, no problem. Maybe I can get a fix with a ruby script