Sun, Dec 1, 6:21 AM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: re: light types in poser 5


markschum ( ) posted Fri, 25 June 2004 at 1:05 PM · edited Thu, 21 November 2024 at 11:01 PM

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


ynsaen ( ) posted Sat, 26 June 2004 at 3:56 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)


markschum ( ) posted Sat, 26 June 2004 at 11:27 AM

Yes thanks, I am having enough fun trying to keep poser5 running on a slow system with win98. I REALLY don't need something that will mess it up.


lesbentley ( ) posted Mon, 12 July 2004 at 4:06 PM

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.


Privacy Notice

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.