Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2025 Feb 05 6:41 am)
I used this function in my 'Advanced Render Settings 2" script, to create the depth of field.
I have to grab the most "in front" vertex and the most "back" vertex. But I only want the one visible in the render. So I'm using WorldToScreen to check if the vertex is in the preview/render window.
I tried once to use it in another script (don't remember which one - maybe something related with the Art Materials), but came to a problem about the Z coordinate output which seems to be 'strange' (but this was a looooong time ago, maybe they changed something in this one).
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.
Has anyone ever found a use for poser.Scene().WorldToScreen()? I keep trying to dream up some way to make it useful, but I've never thought of anything. :unsure: I'm sure it must be good for something.
===========================sigline======================================================
Cage can be an opinionated jerk who posts without thinking. He apologizes for this. He's honestly not trying to be a turkeyhead.
Cage had some freebies, compatible with Poser 11 and below. His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.