Wed, Nov 20, 12:36 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 20 6:12 am)



Subject: Using Two light sets in a scene for example IDL lights and working lights


willyb53 ( ) posted Mon, 19 December 2011 at 10:29 AM · edited Wed, 20 November 2024 at 12:31 PM

http://www.sharecg.com/v/57963/browse/8/Script/Light-Toggle

 

Tested in Poser 7, Poser 8, Poser 9, Poser Pro2012

Light Toggle

What is it?
A simple python script that reverses the ON/Off state of all lights in the scene.

What is it good for?
Well in its simplest use, it turns all lights off and back on, which is handy for using IDL only illumination and still wanting to edit a scene.

It also will allow loading two different light sets into a scene.
example:
Load your rendering lights into the scene
run Light Toggle
Now Load a set of work lights (using the double check mark so you dont lose your first set).

People that know everything by definition can not learn anything


bagginsbill ( ) posted Mon, 19 December 2011 at 10:47 AM · edited Mon, 19 December 2011 at 10:47 AM

Work lights, also sometimes called preview lights or house lights, are automatic in Poser, if you know how.

Go into the light material and set diffuse color and specular color to black. You now have a light that only is involved in preview. It has zero use in rendering. To make sure it doesn't even use any CPU, disable shadows on a house light.

I have my default scene set up with a point light about ten feet up and ten feet behind the camera as my work light.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


willyb53 ( ) posted Mon, 19 December 2011 at 10:54 AM

Oh, I know how to do a null light,  but I do testing, and my work lights are a uniform light ball with 30 lights.  This allows me to work in a well illuminated scene, toggle to an IDL light, render, and then toggle back.   It is designed to give one more option.

 

Bill

People that know everything by definition can not learn anything


JoePublic ( ) posted Mon, 19 December 2011 at 11:03 AM

Content Advisory! This message contains nudity

file_476454.jpg

Nice idea but really too much work for my taste.  ;-)

All my IBL/IDL light sets have three or four "actual lights", (sun, IBL and rim), and a set of three or four additional "preview" lights with diffuse and specular set to black.

These create a nice OpenGL preview but don't show up in the actual render.

Picture shows a light set made out of eight lights: Sun, IBL, Rim, Rim 2, Preview-1, Preview-2, Preview-3 and Preview-4.

The OpenGL preview is illuminated by all eight lights.

The final render simply ignores the four preview lights.

 

 


willyb53 ( ) posted Mon, 19 December 2011 at 11:08 AM

As I said, it is one more option, but it would also allow you to load up two of your light sets and toggle between them also.

 

Bill

People that know everything by definition can not learn anything


JoePublic ( ) posted Mon, 19 December 2011 at 11:14 AM · edited Mon, 19 December 2011 at 11:19 AM

file_476457.jpg

" and my work lights are a uniform light ball with 30 lights.  This allows me to work in a well illuminated scene,"

30 lights just to preview a scene is, well, quite a lot.

Have you tried parenting your lights to the camera ?

This way you need much fewer lights to illuminate your scene in preview.

Picture of US2 preview shows the same lightset as above.


willyb53 ( ) posted Mon, 19 December 2011 at 11:18 AM

Yes, I have, but the people i test for want seam tests to be done with specific lights, and that is what i use

 

Bill

People that know everything by definition can not learn anything


JoePublic ( ) posted Mon, 19 December 2011 at 11:22 AM · edited Mon, 19 December 2011 at 11:24 AM

Ok then.

As you say, more options are always good :-)

Thanks for sharing that script.


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.