Announcement

Collapse
No announcement yet.

Very Slow material viewport preview management

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Very Slow material viewport preview management

    Hi,

    More and more the team is using the last Cinema 4D 2024 + VRay 6, and more we are figuring out that there is a big problem with material display in viewport / material preview in material manager.

    Little scene runs fine, but big scene with 1500+ materials are horribly slow, there is a 2 or 3 seconds lag for each click each time we select an objet in viewport, or when draging the camera view... It's like Cinema 4D was accessing/checking each texture file on disk, for each material displayed in the current view. This routine is just a process killer and could explain the very laggy viewport with huge scene. And time to time another routine refresh material thumbnail preview, we don't know why... Another ressouce killer

    I'm not sure it's VRay related, but i want to share this problem here, beacause i assume chaos team is best placed to relay this problem directly to the devs from Maxon department.

    Best regards.

  • #2
    Hey f2b, that is unfortunate to hear. But we would need a bit more details to troubleshoot this problem. Can you give us answers on these questions:
    1. Are you using mostly node materials or classic materials?
    2. What is your preview quality in preferences? Is there difference if you lower the quality?
    3. Is disabling material preview solving the problem?
    4. What if objects are hidden from the viewport, like Solo mode? Is it still unresponsive?

    Additionally, you may try to decrease the render resolution of textures. For classic materials this may be done globally by the option in the V-Ray preferences (1) and for node materials, you may change it from each materials' Viewport tab (2) (probably can be done by selecting all node materials):

    Click image for larger version

Name:	image.png
Views:	32
Size:	471.0 KB
ID:	1219849

    A very simple calculation is that by using the Default map sizes (of 256KB per material) you would have almost 400MB of just textures to be stored on the GPU, and if Cinema 4D loads them on each update, it can easily explain such slow downs.

    And last but not least - can you try opening the scene in Cinema 4D 2025 and also opening the new Object profiler dialog - it may show what is troublesome in your viewport rendering. It is easiest to open it from the commander dialog (Shift-C):
    Click image for larger version

Name:	image.png
Views:	32
Size:	11.7 KB
ID:	1219850
    Attached Files
    Deyan Hadzhiev
    Developer
    chaos.com

    Comment


    • #3
      Hi Deyan!

      1. Are you using mostly node materials or classic materials? -> We use mostly classics materials (all props stay with classics)

      2. What is your preview quality in preferences? Is there difference if you lower the quality?-> Quality is 1, Enable Gi off and resolution 256x256

      3. Is disabling material preview solving the problem? -> YES, disabling material preview restore full fluidity in viewport. this tips is ok to move objects, cameras..., but we have to re-enable and re-disable to edit materials, so it's not the ideal solution.

      4. What if objects are hidden from the viewport, like Solo mode? Is it still unresponsive? -> Solo Mode on a simple object do not stop the freeze at each click when selecting/moving objects in scene

      Decreasing preview resolution or not showing materials in viewport (in viewport options menu) do not help either, . In a normal (not freezing) scene, i know it help to gain more FPS, but here the real problem is not fps but freeze.


      I will install R2025 in the next days and try this new object profiler tool. Thanks for this info

      Definitely i think the material manager, do not manage so well

      Comment

      Working...
      X