Itoo Software Forum

Author Topic: Scattering hierarchical objects  (Read 387 times)

frodo

  • Newbie
  • *
  • Posts: 42
Scattering hierarchical objects
« on: July 10, 2024, 11:09:10 AM »
Hi just a question.
Imagine we have to scatter thousands of items. What is better for forrest pack? One big proxy or multiple small instanced proxies grouped together in forest pack.

Example 1 is one big proxy with size of 6GB
Example 2 is 3 proxies each 1GB, proxy B is instance 3x and proxy C 2x, everihting is grouped together.

Does forest pack retain those instances inside grouped objects or "bakes" it into one single mesh under the hood?
In my tests I didn't see much difference.
Thanks

p.s. excuse my drawing skills :D

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4493
    • iToo Software
Re: Scattering hierarchical objects
« Reply #1 on: July 10, 2024, 12:10:18 PM »
Hi,

Theorically one big proxy is more efficient.
In example 2, Forest have to scatter each sub item keeping the hierarchy, and this requires more resources.

Anyway, since the scattering process is very efficient, with a few thousands of items probably you will not notice a significative difference.

Carlos Quintero
iToo Software

frodo

  • Newbie
  • *
  • Posts: 42
Re: Scattering hierarchical objects
« Reply #2 on: July 10, 2024, 01:05:09 PM »
Even in the RAM usage? If I use one big proxy for each FP item then its 16,63GB in 6 files but if I use hierarchical proxies its 2,35GB in 11 files. Vray memory tracking shows me 85GB(single) vs 60GB(hierachy) RAM usage which is not such big difference as I thought.

frodo

  • Newbie
  • *
  • Posts: 42
Re: Scattering hierarchical objects
« Reply #3 on: July 10, 2024, 01:10:24 PM »
One more important thing may be that with single file proxy I have to scatter 2046 items and with hierarchical proxies 31786 items.

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4493
    • iToo Software
Re: Scattering hierarchical objects
« Reply #4 on: July 10, 2024, 01:12:02 PM »
Even in the RAM usage? If I use one big proxy for each FP item then its 16,63GB in 6 files but if I use hierarchical proxies its 2,35GB in 11 files. Vray memory tracking shows me 85GB(single) vs 60GB(hierachy) RAM usage which is not such big difference as I thought.

That depends of how V-Ray handles the RAM for proxies, which is difficult to know.
Although Forest also requires more memory to handle items in example 2, probably it's not significative compared with the RAM used by V-Ray.

Carlos Quintero
iToo Software

frodo

  • Newbie
  • *
  • Posts: 42
Re: Scattering hierarchical objects
« Reply #5 on: July 10, 2024, 01:49:07 PM »
Ok thanks for clarification.