Forum: Poser - OFFICIAL


Subject: Is is possible to make a Light MAT?

Netherworks opened this issue on May 12, 2002 ยท 5 posts


lesbentley posted Wed, 25 February 2004 at 5:20 PM

You can add a light without changing or turning off any of the existing lights in the scene by loading the light from a pp2 (prop) file. Lights can't be saved to a pp2 from within the Poser 4 interface so you will have to hack a pz3 file, this can be done entirly in a text editor, but it's easier to explain how to do it using the free utility CR2Builder. I used CR2Builder version 02h03. 1. In Poser open a new document. 2. Load a light from the Light Controls pallet and set it up how you want it. 3. Delete any figures and props (the GROUND can't be deleted). Delete all lights except the one you added. 4. Save a pz3. 5. Load the pz3 into CR2Builder. 6. Select the "Right TV" tab, and load the pz3 into it. 7. Find the first instance of the "light spotLight", right click it, select "To Current Page" from the context menu. 8. Find the first instance of the "camera SHADOW_CAM_LITE", right click it, select "To Current Page" from the context menu. 9. Find the second instance of the "light spotLight", right click it, select "To Current Page" from the context menu. 10. Find the first instance of the "camera SHADOW_CAM_LITE", right click it, select "To Current Page" from the context menu. 11. Select the "doc" section, right click it, select "To Current Page" from the context menu. 12. In the LEFT TV, expand the doc section and delete every thing except the references to the "spotLight" and "SHADOW_CAM_LITE". 13. Save the file in the Left TV to a props folder with a pp2 file extention. 14. Open pp2 in a text editor and do a global search and replace of "spotLight" with "MyspotLight", then do a global search and replace of "SHADOW_CAM_LITE" with "MySHADOW_CAM_LITE". Resave the file. Loading multiple instances of the pp2 will not add more lights, you can however put as many lights as you want in the pp2, each light and SHADOW_CAM_LITE in the pp2 must have a unique name usually achived by augmenting the number, eg; "MyspotLight 1", "MyspotLight 2", etc. Lights can also be added via cr2 files, as with the pp2's the internal names must be changed (eg by addiong the prefix "My") to avoid conflict with lights added via the Light Controls, or lt2 files.