Sun, Nov 24, 8:49 PM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Reuest: turn off TRANSCLUENCE_VALUE script?


mackis3D ( ) posted Tue, 28 December 2010 at 1:32 AM · edited Tue, 19 November 2024 at 1:25 PM

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 · edited Tue, 28 December 2010 at 11:59 AM

file_463402.txt

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! :-)


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.