Sat, Jan 11, 9:25 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Jan 11 12:18 am)



Subject: Python script to show textures instead of mesh?


cujoe_da_man ( ) posted Wed, 16 July 2008 at 10:31 PM · edited Tue, 07 January 2025 at 12:12 PM

Just curious if there is a script in Poser so that I can change all the hair figures into textured figures instead of meshes, it's kinda tedious to go to the file menu and my fingers cramp when using shortcut keys when some of my hair figures have almost 20 parts!

Any kinda of help would be appreciated :D


gtrdon ( ) posted Sat, 19 July 2008 at 8:18 PM

HUh?
I do not understand your question. Do you mean change Hair Figures to Hair Props? Or create dynamic  hair  to  prop geometry meshes....


markschum ( ) posted Sat, 19 July 2008 at 9:10 PM · edited Sat, 19 July 2008 at 9:14 PM

file_410314.txt

Can you say what you are doing ?   Its possible in Python  to change the Display style for the actor .

import poser
scn =poser.Scene()
fig = scn.CurrentFigure()
acts = fig.Actors()
for act in acts:
     act.SetDisplayStyle(poser.kDisplayCodeTEXTURESHADED)

that should be close , select the hair figure before running the script

this was just a quickie and might need some additional code like a check that actor is a bodypart

If thats NOT what you are doing just ignore this entire post    :)


Jules53757 ( ) posted Sun, 20 July 2008 at 2:05 AM

Why Python when this function is a 2 click solution inside of Poser? Select hair and now display -> element style -> texture shaded or, if the hair is a figure select hair and now display -> figure style -> texture shaded


Ulli


"Never argue with an idiot. They drag you down to their level and beat you with experience!"


cujoe_da_man ( ) posted Sun, 20 July 2008 at 12:52 PM

file_410345.jpg

yes,  I could do that, but some of the hair figures I use have multiple parts, like Brycetech's  ponytail... that becomes a 106 click solution :P

and thanks markschum, that works perfect, that'll save me a lot of time on figures like this one :D


bevans84 ( ) posted Sun, 20 July 2008 at 2:26 PM · edited Sun, 20 July 2008 at 2:35 PM

The Texture Preview pose file in Koz's Short bob hair will do this with most prop hair.



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.