Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2025 Feb 05 6:41 am)
Attached Link: Poser : Unofficial CR2 File Specification
From "Poser : Unofficial CR2 File Specification" the possible settings are: • USEPARENT • CARTOONNOLINE • FLATLINED • SMOOTHLINED • SHADEDOUTLINE • SKETCHSHADED • FLATSHADED • TEXTURESHADED • SHADED • HIDLINE • SILHOUETTE • EDGESONLY I think it's FLATLINED that you want.I think you want kDisplayCodeSKETCHSHADED
For future reference the order they are in the tool bar is :-
kDisplayCodeSILHOUETTE<br></br>kDisplayCodeEDGESONLY<br></br>kDisplayCodeWIREFRAME<br></br>kDisplayCodeHIDDENLINE<br></br>kDisplayCodeSHADEDOUTLINED<br></br>kDisplayCodeFLATLINED<br></br>kDisplayCodeFLATSHADED<br></br>kDisplayCodeCARTOONNOLINE<br></br>kDisplayCodeSKETCHSHADED<br></br>kDisplayCodeSMOOTHSHADED<br></br>kDisplayCodeSMOOTHLINED<br></br>kDisplayCodeTEXTURESHADED<br></br>kDisplayCodeUSEPARENTSTYLE
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.
Attached Link: Comic Outline tutorial (jwebster45206)
I'm trying to automatically switch the scene to cartoon shading with the outline. I only have the P6 python manual with me, so I don't know if the P7 one has it. P6 says kDisplayCodeCARTOONNOLINE for the cartoon shader without the line (duh!)I think it might the kDisplayCodeSKETCHSHADED, but I'm not sure.
What I'm trying to do is implement a script that automatically cycles through the scene, and changes all materials to the settings jwebster discusses in the attached tutorial.
I'm trying to set up the script so that the user can set the scene up in their normal environment (texture shaded, flat shaded, etc.) and then run the script to make everything toonish.
(Been absent from the script writing for a while, but now that I've had time to play more with P7, I'm back to getting some things done.)
TIA for any help!