question

Willian Felipe E avatar image
0 Likes"
Willian Felipe E asked Phil BoBo edited

Color in imported 3ds objects


I am importing objects created in Sketchup. However, when I import to Flexsim, the color of the object remains as defined in flexsim, and not as the source color of the 3DS.


Is it not possible to leave the color transparent, so that the original color remains?

FlexSim 19.1.2
flexsim 19.1.2color3d objectimporting 3ds
1599963147337.png (318.9 KiB)
1599963177570.png (184.5 KiB)
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Phil BoBo avatar image Phil BoBo ♦♦ commented ·

Set the FlexSim color to white.

0 Likes 0 ·
Willian Felipe E avatar image Willian Felipe E Phil BoBo ♦♦ commented ·
Okay, is that the only alternative? even so, the color will tend to white.
0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Willian Felipe E commented ·

It is hard to tell you whether that's the only alternative because only posted screenshots instead of actual model files to replicate the issue.

Diffuse colors are blended with multiplication, not addition. It shouldn't "tend to white". If the shape's color is being blended with white, then it will be the original color, not a whiter color. Green [0,1,0] blended with White [1,1,1] is Green [0*1, 1*1, 0*1] = [0,1,0].

If you blend with a transparent color, then the object will disappear. 1.0 alpha (opaque) * 0.0 alpha (transparent) = 0.0 alpha (transparent).

0 Likes 0 ·

1 Answer

Phil BoBo avatar image
0 Likes"
Phil BoBo answered

Looking closer at the images, the issue may not be that the diffuse colors are being blended, but that the ambient color is using the FlexSim color and the diffuse color is coming from the shape. What you want is for the ambient and diffuse colors to be the same.

Please post the shape file so that we can see what is actually happening.

Also, if you are using Sketchup, why are you exporting to 3ds instead of saving to an skp version that FlexSim can import? The export will be more accurate if you use Sketchup's native format instead of an exported format. If you are using FlexSim 19.1, try exporting to skp 2015.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Willian Felipe E avatar image Willian Felipe E commented ·
Perfect, I imported the files directly from the SKP 2015 version and the object kept its original colors.
0 Likes 0 ·