Forum: Poser Python Scripting


Subject: Reuest: turn off TRANSCLUENCE_VALUE script?

mackis3D opened this issue on Dec 28, 2010 · 3 posts


mackis3D posted Tue, 28 December 2010 at 1:32 AM

I'm using a school scene by Greenpots that is full of bad material nodes. Even on wallpaper it uses TRANSLUENCE_VALUE. Never mind that is on every lamp instead of using the ambient value there... but my question is:

is there a Python script that can set the TRANSLUENCE_VALUE to O for every material?

Because I already tried  Shaderwork's Advanced Scene Manager which can set all Reflection_KD_Multi to 0 etc. but not the Transluence_Value (that works only with HSV there).


markschum posted Tue, 28 December 2010 at 11:55 AM

try this , it works for all figures and all props in the scene

rename as .py extension , run from the file menu

 

I have used this basic script for all sorts of material settings, it just needs a change to the input selected and the type of value being set. There is a test in the props section to filter out those props that dont have materials.


mackis3D posted Tue, 28 December 2010 at 10:30 PM

DANKESCHÖN!

Many many thanks! Yes, that works easily and it saves so much time for me now. I can't thank you enough! :-)