Itoo Software Forum

Author Topic: How could we optimize memory used by Fpp?  (Read 198 times)

raistlin

  • Jr. Member
  • **
  • Posts: 56
    • My website
How could we optimize memory used by Fpp?
« on: February 23, 2021, 10:00:18 AM »
Hi Forest!

I'm working (as ever) with large scene scale, and of course used a lot of forest pack pro object to scatter trees and grass.
And it's always a problem with memory.

I'm using Vrayproxy to contain file size, and also grass are composed of some personnal meshes that i convert to Vrayproxy too.
But it used a TON of memory on a surface like 18000m².
Of course i've used camera distance fallof but it take more than 20 Go ram to work (i've try with and without  of course)
have you an idea to  limit memory used by that?
My grass assets are 20cm X20cm, do i've to make bigger one to use for long distance?

Is there some tricks to do?

Of course for very far terrain i'm using a material, but it's not as good as it build with real meshes...

Have a nice day!
Cheers
La vie est une aventure dangereuse d'où personne n'est jamais sortie vivant.

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2920
    • iToo
Re: How could we optimize memory used by Fpp?
« Reply #1 on: February 23, 2021, 10:14:25 AM »
Hi.
Without Your scene it is hard o pinpoint where the bottleneck is. I can only refer to our tutorials: like 20Million tree scattering, using LOD objects, and general but very useful- distribution maps.

I hope You can learn a thing or two from these. Anyway, if You still having trouble we could take a look what can be done if You shared Your project file with us.
Rokas
iToo Software

raistlin

  • Jr. Member
  • **
  • Posts: 56
    • My website
Re: How could we optimize memory used by Fpp?
« Reply #2 on: February 24, 2021, 10:49:01 AM »
Ok, can i have a mail to upload my 8 Go Archive with you?
La vie est une aventure dangereuse d'où personne n'est jamais sortie vivant.

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2920
    • iToo
Re: How could we optimize memory used by Fpp?
« Reply #3 on: February 24, 2021, 10:54:16 AM »
If you need to send us your scenes or files for checking, please send them to helpdesk@itoosoft.com.
The attachment size for this account is limited. For large files, please use a web sharing service as WeTransfer.

When possible include only the essential objects required to reproduce the problem, and don't forget to include proxies, maps or other external files if nedded.

Thanks,
Rokas
iToo Software

raistlin

  • Jr. Member
  • **
  • Posts: 56
    • My website
Re: How could we optimize memory used by Fpp?
« Reply #4 on: February 24, 2021, 11:39:04 AM »
Sure!
Each time i need to share its always on BIG files...
My 3dsmax file is really optimized, like 230Mo, but all the assets, maps and proxies are not light...
Of course i will send you a file with a transfer service, or maybe my dropbox? what is your preference?

Cheers
La vie est une aventure dangereuse d'où personne n'est jamais sortie vivant.

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2920
    • iToo
Re: How could we optimize memory used by Fpp?
« Reply #5 on: February 24, 2021, 11:40:47 AM »
Sure!
Each time i need to share its always on BIG files...
My 3dsmax file is really optimized, like 230Mo, but all the assets, maps and proxies are not light...
Of course i will send you a file with a transfer service, or maybe my dropbox? what is your preference?

Cheers

These two are both great.
Rokas
iToo Software

raistlin

  • Jr. Member
  • **
  • Posts: 56
    • My website
Re: How could we optimize memory used by Fpp?
« Reply #6 on: February 24, 2021, 11:50:09 AM »
Ok i'm sending my file with grosfichiers.com, so you should receive it soon (i'm on VDSL2+, so it take some times to upload, sorry... like it came to you approximatively to 13h (1 Pm)
Thanks to take time, each time i'm hesitating to send you files because it's heavy... but there is time for questions... and time to take answers and help...
Here we are...

Cheers!
La vie est une aventure dangereuse d'où personne n'est jamais sortie vivant.

raistlin

  • Jr. Member
  • **
  • Posts: 56
    • My website
Re: How could we optimize memory used by Fpp?
« Reply #7 on: February 25, 2021, 12:58:50 AM »
I'm working on some LODS for grass first and maybe more.
Do you have a tool to automate LOD process?

First i made a LOD object by mesh with two LODS of it
But can we load multiple meshes in the same lods with their own level of detail inside (mmm not clear... ok... so for ex. i have three flowers meshes, i made two LOD for each one, so it is 9 meshes for all, can i load the 9 ones in ONE Forest LOD object, and manually place the HD items to 0%, the LOD1 to 33 and the third last to 66% ?
Or do i have to create 3 LODs object? ( LODobject1 = HDmeshe1 + LOD1mesh1 + LOD2Mesh1 | LODobject2 = HDmeshe2 + LOD1mesh2 + LOD2Mesh2 | LODobject3 =  HDmeshe3 + LOD1mesh3 + LOD2Mesh3 )

So if you have a script to help me to automate something... i'm interest...
La vie est une aventure dangereuse d'où personne n'est jamais sortie vivant.

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2920
    • iToo
Re: How could we optimize memory used by Fpp?
« Reply #8 on: February 25, 2021, 07:46:58 AM »
You have to create 3 LOD objects. We have no automation script for that.
Rokas
iToo Software

raistlin

  • Jr. Member
  • **
  • Posts: 56
    • My website
Re: How could we optimize memory used by Fpp?
« Reply #9 on: February 25, 2021, 09:27:24 AM »
Damned...
So if i've 20 objects which composed a forest pack pro preset... I've to do 20 LOD objects? :'(
La vie est une aventure dangereuse d'où personne n'est jamais sortie vivant.

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2920
    • iToo
Re: How could we optimize memory used by Fpp?
« Reply #10 on: February 26, 2021, 08:24:56 AM »
I'm working on some LODS for grass first and maybe more.
Do you have a tool to automate LOD process?

So if you have a script to help me to automate something... i'm interest...

I created this little helper. It is very rough and not yet worth adding to FP toolbox. I will later if had more time for it.
You need to name Your objects right...
xxxxxxxxxLOD1
xxxxxxxxxLOD2
xxxxxxxxxLOD3
yyyyyyyyyyLOD1
yyyyyyyyyyLOD2
yyyyyyyyyyLOD3
....





Feedback is welcome
« Last Edit: February 26, 2021, 09:32:02 AM by Rokas »
Rokas
iToo Software

raistlin

  • Jr. Member
  • **
  • Posts: 56
    • My website
Re: How could we optimize memory used by Fpp?
« Reply #11 on: February 26, 2021, 11:06:27 AM »
You're the one :)
Many thanks! I was trying to build some mini scripts to automate the LOD compression process with ProOptimizer ! In the same time, but i haven't script skills...

Many thanks !
Cheers
La vie est une aventure dangereuse d'où personne n'est jamais sortie vivant.