Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
In fact, often, these packages have dedicated name for Python's world. In this case, give the official documentation, this works:
pip._internal.main(['install', 'opencv-python'])
On my Win10 platform, Poser thought quite a few seconds after sending ansi-escaped lines as pip does in any console. But it seemed to work
𝒫𝒽𝓎𝓁
(っ◔◡◔)っ
👿 Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
👿 Mac Mini M2, Sonoma 14.6.1, 16GB, 500GB SSD
👿 Nas 10TB
👿 Poser 13 and soon 14 ❤️
Well, it took me a bit to figure out that I had to restart Poser for it to take effect, but Y-Phil's solution worked for me too! Thanks, guys! If you're interested, here's the freebie.
Iuvenis_Scriptor posted at 11:37 AM Wed, 25 May 2022 - #4439123
Thank you for sharingWell, it took me a bit to figure out that I had to restart Poser for it to take effect, but Y-Phil's solution worked for me too! Thanks, guys! If you're interested, here's the freebie.
𝒫𝒽𝓎𝓁
(っ◔◡◔)っ
👿 Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
👿 Mac Mini M2, Sonoma 14.6.1, 16GB, 500GB SSD
👿 Nas 10TB
👿 Poser 13 and soon 14 ❤️
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.
On a whim, I decided to spend the better part of the day seeing if I could streamline and maybe even automate a particular postwork process that I like to call "filmicization." Basically, it's all about emulating a much more lifelike color space (if I understand things correctly, ACES, the industry standard in film) rather than the apparently crappy sRGB that comes grandfathered into most household computers. If you're interested in a more detailed explanation, this video from a Blender user does a great job.
While a plug-in makes "filmic" renders easy in Blender, filmicization of Poser renders originally involved re-rendering a previous SuperFly render on a square plane prop in FireFly, using a special shader designed by the ever indispensable BagginsBill, bringing both the original and the re-render into Photoshop, and overlaying a high-pass of the former over the latter to restore some of the fine detail that's inevitably lost otherwise. What I've done is take the math that BB does with nodes and implemented it in a Python script that operates directly on an exported HDR render. At least to me, the results are quite satisfying. It's much simpler, quicker, and avoids that loss of fine detail that I kept having to add back in.
I would like to post this as a freebie, but it does require a third-party Python package called OpenCV, which is easy to install...in a Python instantiation that's independent from Poser. I want to make it as user-friendly as possible, so I'd really prefer to be able to install it into Poser's internal Python instantiation, which is the one thing I haven't been able to figure out how to do yet, short of manually copying the files from my independent Python into Poser's Python. So I would greatly appreciate anyone who can point me in the right direction! Thanks in advance!