Make duplicate objects use the same texture, rather than having their own?

Basically title. I have a scene where I've created 9 entire sets of the "Neighbor's Yard" set to give myself backdrop. I was able to render fine when I initially did it. Upon doing some reading, the conclusion I've come to is that when I originally duplicated the scenes they were all using the same texture reference. Now when I load it they get their own copies. My renders crash when I try now, because it wants fourteen gigs of vram for the textures.

I was definitely able to render the original, so there must be a way to do it again.

Comments

  • RGcincyRGcincy Posts: 2,862
    edited September 2017

    When you did the scene the first time, did you load 9 sets, create 8 duplicates of the original set, or create 8 instances of the original? Instances have the same textures and mesh so use less memory.

    Post edited by RGcincy on
  • thd777thd777 Posts: 945

    For this kind of setup you need to use instances (under Create -> Instances) of the original set rather than duplicates.

    TD

  • ParadigmParadigm Posts: 425
    edited September 2017

    I used duplicate. I see, I'll try that then and report back. Thanks!

    Post edited by Paradigm on
  • FSMCDesignsFSMCDesigns Posts: 12,846

    use instancing (create - new node instances) of the original object or set and all instances should use the same textures as the original

  • HavosHavos Posts: 5,606

    My understanding is that even if you duplicate, the figures will still all use the same textures (ie only one copy would be loaded into memory)

    The advantage of instancing is that all the geometry info is also shared, so I am bemused why texture data was not when shared without instancing.

  • Havos said:

    My understanding is that even if you duplicate, the figures will still all use the same textures (ie only one copy would be loaded into memory)

    The advantage of instancing is that all the geometry info is also shared, so I am bemused why texture data was not when shared without instancing.

    That is my understanding too, that a texture used on multiple items should eb sent to Iray only once.

Sign In or Register to comment.