question

Alejandro Javier SNS avatar image
1 Like"
Alejandro Javier SNS asked Phil BoBo edited

Model background image appears in black.

Hi, I have an image as a model background. It is quite heavy (around 70mb) and works perfectly fine in a couple of computers (Flexsim v19.1.0).

The problem comes when I open the model in another computer (which meet flexsim requirements, same software version) and the image appears in black. I have tried to reload it but it doesn´t work. I also tried the same model in another computer and works fine...

(image in black)

(picture of the actual file I want as a background, not the real file)

I have checked in Global Preferences and each option is the same in both computers (working and not). Also tried with version 20.0.2, but still doesn´t work. Moreover, if I try with a different jpg image it does work...

Any idea why this might be happening and how to fix it?

Thanks in advance

FlexSim 19.1.0
model background
img-in-black.png (35.8 KiB)
img.png (2.4 MiB)
5 |100000

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

1 Answer

·
Phil BoBo avatar image
2 Likes"
Phil BoBo answered Phil BoBo edited

Each graphics card driver has a limit to the size of a texture that it can store in VRAM. If it is working on some computers and not others, it is probably an issue with the graphics driver or card. Try updating the graphics driver on the machine where it doesn't work, or using a smaller resolution file so that it works on that graphics card.

Textures also work best if the texture resolution dimensions are powers of 2. For example, 1024 x 512, 8192 x 8192, etc. Try modifying your image so that its dimensions are powers of 2.

· 2
5 |100000

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

Alejandro Javier SNS avatar image Alejandro Javier SNS commented ·

Hi Phil,

Thanks for the quick answer. I updated computers graphics drivers but it didn´t work. I don't think this is a problem of low memory (workstation with NVIDIA QUADRO M5000M and 64GB RAM).

After, I reduced the image dimension from 29317x16794px to 16384x16384px and now it does work.

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Alejandro Javier SNS commented ·

You are correct that it isn't a problem of low memory. Your 64 GB of RAM is irrelevant to the graphic card driver's limitation on the maximum size of a texture that it will store in VRAM.

You can see here that the Nvidia Quadro M5000M's maximum texture size (GL_MAX_TEXTURE_SIZE) is indeed 16384. Your solution of scaling the image down to that resolution is the correct way to resolve this.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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