Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
The local light is not a documented or suppoted feature of Poser 5, and has been present since Poser 3 within the codebase to my rather limited knowledge. It wasn't accessible until Poser 4, however, and has been used for various effects within some light sets. It is not a stable light in P5, but it is in P4. My guess is that it was originally intended to be exposed at a later time as an omnilight or point light, and it does behave somewhat like a global light with spotlight functions. However, it tends to screw up renders which take advantage of Firefly's raytrace settings. This is one of the reasons that many of the commercial light sets available for P4 tend to kill P5. Although it's a hell of a lot of reading and researching, the Local Light has been pretty well covered in the Poser Technical forum, but it is from a while back (at least two years), so it'll mean some legwork. If it's any consolation, I'll be doing that legwork myself here over the next couple months. Probably didn't help, and gave you a bunch of useless info, but I tried :)
thou and I, my friend, can, in the most flunkey world, make, each of us, one non-flunkey, one hero, if we like: that will be two heroes to begin with. (Carlyle)
As far as I have been able to tell, a type 2 light is the same as an infinite (type 0) light, but has the same shadow cam as a spot (type 1) light. I have never tried using a type 2 light in Poser 5.
You can use pz2 files to swich light types, i.e.
{<br></br>version<br></br> {<br></br> number <br></br> }<br></br><br></br>light spotLight 1<br></br> {<br></br> lightType 2<br></br> }<br></br>light spotLight 2<br></br> {<br></br> lightType 2<br></br> }<br></br>light spotLight 3<br></br> {<br></br> lightType 2<br></br> }<br></br>light spotLight 4<br></br> {<br></br> lightType 2<br></br> }<br></br>light spotLight 5<br></br> {<br></br> lightType 2<br></br> }<br></br>}
A figure must be loaded in the document before this (os any other) pz2 will work, but it is not necessary for the lights to be parented to anything.
Generally speaking you should never change directly from type 0 to type 2 or visa versa, always do the intermediate step of changing to type 1 first, failure to observe this caution may lead to a rift in the space/time continum.
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.
pardon if this has been answered before. In python there seems to be three settings for lights. The local light option does not appear in the light settings within Poser. Is this a hidden lighting option or a relic. ? I haven't tried it cause I am tired of blowing up my system with normal applications. regards