kaveman opened this issue on Apr 09, 2005 ยท 6 posts
kaveman posted Sat, 09 April 2005 at 3:01 AM
Hi all, I have a problem on my Mac and P6 (sorry no tklinker) and hope a simple script will give me a work around. The problem is that my Mac no longer loads hair nodes properly, each time it loads hair it takes the colours from the Poser Surface and puts them into the Hair Node Colours. Sadly these are normally black. So each time I load anything with hair, it turns black. The colour info is in the file so I can copy the right values. A little script that could step through the hair nodes after I have loaded them and put colour into the Root, Tip and Specular properties would save me a lot of guess work and time. I don't mind editing the file to put in a set of colours by hand so no user interface is needed. Don't know if this can be done? I would have a crack at it myself, but Python is all new to me. I'm just a hobbiest so would offer my undying gratitude and a nice gift from New Zealand. Thanks for any help you can give. kaveman (Kevin Bracey)
nruddock posted Sat, 09 April 2005 at 10:11 AM
Attached Link: http://www.renderosity.com/messages.ez?Form.ShowMessage=2196164
I assume your refering to the problem mentioned in the linked thread.Try the atteched script and let me know if it's doing what you want.
nruddock posted Sat, 09 April 2005 at 12:03 PM
Forgot to say that you run if from either the File menu, Run Python Script option or by assigning it to one of the Python Buttons (if you do this you may want to edit the button definitions so that the assignment persists across restarts).
kaveman posted Sat, 09 April 2005 at 8:12 PM
Yes that's the problem I'm working around. I've done what CL suggested but the problem persists:( Your script worked very well, I might poke around and see if I can get it to change just the currently selected figure. Be a good exercise for me. But I'm moving forward again now, thanks. Hope you get good mileage from the hot-pants. Thanks! kaveman
nruddock posted Sat, 09 April 2005 at 8:14 PM
Attached Link: http://forum.daz3d.com/viewtopic.php?t=17848
Just post here if you can't figure out how to change it.Also it seems your not alone in having this problem (see linked thread at DAZ Forums).
Message edited on: 04/09/2005 20:19
an0malaus posted Mon, 18 April 2005 at 10:40 PM
There is a way to preserve hair colours saved in PZ3 files from P6 when the file is re-loaded. Once the colour values are correctly set, using nruddock's script or other methods, go to frame 1 and then turn on animation (click the little key to the left of the colour box and choose animation in the popup) for each of the three root, tip and specular colours of the hair in the material room.
This causes the colour R,G,B values to be stored as separate Hair_Hair_0_R, Hair_Hair_0_G,...Hair_Hair_2_B value parameters on the hair object (root=0, tip=1, specular=2). When reloaded, the animation parameters override whatever P6 itself may have set the hair colours to (black).
Message edited on: 04/18/2005 22:42
Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.