Itoo Software Forum

Author Topic: Maxscript - Access to Render Items number  (Read 349 times)

TATproductions

  • Newbie
  • *
  • Posts: 43
Maxscript - Access to Render Items number
« 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-

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2486
Re: Maxscript - Access to Render Items number
« Reply #1 on: July 07, 2023, 02:07:40 PM »
Hi,

As mentioned in this tightly related post: “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,

TATproductions

  • Newbie
  • *
  • Posts: 43
Re: Maxscript - Access to Render Items number
« Reply #2 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.


Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2486
Re: Maxscript - Access to Render Items number
« Reply #3 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,