Itoo Software Forum

Forest Pack => Forest Pro (*) => Topic started by: TATproductions on July 07, 2023, 01:53:01 PM

Title: Maxscript - Access to Render Items number
Post by: TATproductions on July 07, 2023, 01:53:01 PM
Hello

I'm trying to calculate how many items are build by my forest in an heavy scene (+200 forets)

And i cant' find a way to access to Render Item number that is showed in the Forest Stats or Forest lister

Any idea ?
Thanks

-p-
Title: Re: Maxscript - Access to Render Items number
Post by: Michal Karmazín on July 07, 2023, 02:07:40 PM
Hi,

As mentioned in this tightly related post (https://forum.itoosoft.com/forest-pro-(*)/what-is-the-final-polycount-of-my-scene/msg35303/#msg35303): “In the case of “instanced” geometry, such a value doesn’t really matter. The amount of statistical data will depend on the render engine used – for example, in the case of the V-Ray, you can see corresponding info within the V-Ray Frame Buffer window’s Stats tab under Scene > Primitives (you might find handy also the Memory tracking statistics).”

Best regards,
Title: Re: Maxscript - Access to Render Items number
Post by: TATproductions on July 07, 2023, 02:12:48 PM
I don't need to have an exact number, i just need an aproximation, just to SUM all of my render items or to highlight heaviest forets.

The fact is : the number exist and i just wish it is exposed so i can collect it.

Title: Re: Maxscript - Access to Render Items number
Post by: Michal Karmazín on July 07, 2023, 02:44:22 PM
Hi,

Thanks for your swift reply. You can enable the log by setting General - Log Level to Debug in any Forest object in your scene, before sending it to the renderer. - within the Exiting BuildMesh you should find the corresponding info of generated items. The log file is located at:

C:\Users\<yourUsername>\AppData\Local\Autodesk\3dsmax\<max version>\ENU\Network\Max.log

I hope that helps.

Best regards,