If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Exciting News: Chaos acquires EvolveLAB = AI-Powered Design.
To learn more, please visit this page!
New! You can now log in to the forums with your chaos.com account as well as your forum account.
this won't work with the vray executable shipping with V-Ray for Houdini. It will work with Standalone (and by Standalone, I mean V-Ray Standalone 4.0 that can be downloaded from the website or the nightlies section).
You could add the following to the Post Translate script so the required info is exported to the VRScene:
import vray
with vray.VRayRenderer() as renderer:
memtracker = renderer.classes.SettingsMemoryTracker.getInstance OrCreate()
memtracker.output_enabled=1
memtracker.scene_name='hipFile'
memtracker.output_directory='C:/Users/Gosho/Downloads/'
memtracker.output_file_prefix='out'
Here's what those do:
Parameters for plugin 'SettingsMemoryTracker'
output_enabled: bool = false, Enable memory report file output
scene_name: string = "", The scene name, needed for the file name
output_directory: string = "", The output directory, needed for the file path
output_file_prefix: string = "", the output file prefix, needed for the file name
Although I'm not sure how it would be useful. Please use the vray.exe that ships with V-Ray for Houdini - otherwise you may hit incompatibility issues due to changes not making it to Standalone, especially when those are made specifically with Houdini in mind.
Was thinking maybe it could help with getting some statistics to start from but if it wont work I won't spend any time on it.
Will there be memory tracking for VFH in the future? It's very useful when scenes start using more memory than you thought/planned.
Comment