Forum: Poser - OFFICIAL


Subject: Is there a Texture Filtering Off Python Script?

Dead_Reckoning opened this issue on Sep 29, 2012 · 5 posts


Dead_Reckoning posted Sat, 29 September 2012 at 7:41 AM

Is there a Python Script for Turning off texture Filtering?

My old brain tells me there may beonefrom many moons ago,

 

Thanks

 

"That government is best which governs the least, because its people discipline themselves."
Thomas Jefferson


basicwiz posted Sat, 29 September 2012 at 9:20 AM

Snarleygribbley's Scene Fixer will do this for you with a single click and you can set it to whatever value you please.

Available at: http://www.snarlygribbly.org/3d/forum/


markschum posted Sat, 29 September 2012 at 10:03 AM

svdl had one in freestuff here. 

http://www.renderosity.com/mod/freestuff/details.php?item_id=39676

dont know that it will work in Poser above 7.


cspear posted Sat, 29 September 2012 at 10:05 AM

Copy the text below the line and paste it into an empty text editor document, save it as something meaningful (e.g. TextFilt_OFF.py), making 100% sure it has the .py extension.

If you're on P9 or PP2012, change the number in brackets on the last line to 4.0: this changes texture filtering to CRISP.


import poser

for actor in poser.Scene().Actors():
if (actor.Materials()):
for material in actor.Materials():
tree = material.ShaderTree()
for node in tree.Nodes():
if (node.Type() == "image_map"):
inp = node.Input(13)
inp.SetFloat(1.0)


Windows 10 x64 Pro - Intel Xeon E5450 @ 3.00GHz (x2)

PoserPro 11 - Units: Metres

Adobe CC 2017


Dead_Reckoning posted Sat, 29 September 2012 at 11:20 AM

Thank You All

That is what I was looking for.

 

"That government is best which governs the least, because its people discipline themselves."
Thomas Jefferson