assign ambient occlusion utilityplugin by Zhangy

Hi all,

I would like to use Zhangy's plugin assign_ambient_occlusion. No problem if i use his utility plugin, it works well. But, I would like to control some function in a maxscript script.

The plugin generate AO to vertex color for the selection. It does something like this :

assign_ambient_occlusion.node_list = selection as array
assign_ambient_occlusion.assign_GPU()

I need to perform this action :

for o in selection do (
assign_ambient_occlusion.node_list = #(o)
assign_ambient_occlsuion.assign_GPU()
)

And of course, I don't have any chance to find properties names or functions names.

If Any one could help me to find properties of this plugin, maybe, if you know Zhangy personnaly it could be cool !

Thanks

Nicolas

ps : I tested getpropsname assign_ambient_occlusion whithout result.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anubis's picture

hi

The best w'd be if your plugin come with help documentation or at least has forum/faq/support section. The getPropNames() is for maxwrapper_objects only (i.e. nodes, materials, modifiers, controllers). As this plugin is Utility you should try the functions that inspected Interfaces, - like showInterface(), showInterfaces(), getCoreInterfaces(), getInterfaces(), getInterface().

my recent MAXScripts RSS (archive here)

nlefevre's picture

Thanks Anubis. You helped me

Thanks Anubis.

You helped me to find all the cryengine exporter functions (I searched for them too) ! But the assign ambient occlusion plugin don't give me any properties or functions with getinterface or showinterface

I d'ont know how to find them, I contacted Zhangy directly without success for the moment.

Thanks again

Nicolas

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.