Sun, Nov 24, 6:31 PM CST

Renderosity Forums / Poser Technical



Welcome to the Poser Technical Forum

Forum Moderators: Staff

Poser Technical F.A.Q (Last Updated: 2024 Nov 13 12:50 am)

Welcome to the Poser Technical Forum.

Where computer nerds can Pull out their slide rules and not get laughed at. Pocket protectors are not required. ;-)

This is the place you come to ask questions and share new ideas about using the internal file structure of Poser to push the program past it's normal limits.

New users are encouraged to read the FAQ sections here and on the Poser forum before asking questions.



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



Subject: Here's a simple .lt file to switch lights on


maclean ( ) posted Mon, 09 May 2005 at 3:52 PM ยท edited Sun, 24 November 2024 at 3:57 PM

No idea if this is useful to anyone. I made it up today because poser was annoying me by switching lights off. If you use light presets, poser will switch off any lights not referenced in the preset. This switches them back on again. ----------------------------------- { version { number 4.01 } light LIGHT1 { lightOn 1 } light LIGHT2 { lightOn 1 } light LIGHT3 { lightOn 1 } } ------------------------------------ Copy it and save it with an .lt extension. It's for three lights, but you can copy/paste this section light LIGHT3 { lightOn 1 } and change the number to 4, 5 , 6, etc, for as many lights as you need. All it does is switch the remaining lights back on. Nothing else. mac


EnglishBob ( ) posted Tue, 10 May 2005 at 8:07 AM

This could be useful when combining light sets. If you made up a series of lights, each using a different light number - face spot, backlight, side fill, ambient and so on - you could include the appropriate lightOn lines to keep the other parts of the set illuminated. Probably exclude the default lights (1, 2 & 3) and arrange for them to be always off. I assume "lightOn 0" turns a light off? Just thinking aloud. Thanks for the inspiration.


maclean ( ) posted Tue, 10 May 2005 at 11:19 AM

Right, bob. That's exactly what I'm using it for. I have a set of 3 lights which are parented to figures (a photographic studio in poser), and when I apply a new light set to one light, I don't want it switching the others off. So, I've included the 'lightOn 1' line for all 3 lights in every .lt file. (Well, actually 'multiLight On' since mine have unique names). And yes, 'lightOn 0' turns a light off. mac


lesbentley ( ) posted Tue, 10 May 2005 at 4:05 PM

Thanks for the file Mac. Please bare with me, I have a few things to spout off about. First, I think you made a typo Mac. The file extentiom for Poser lights is 'lt2' not 'lt' (at least in P4 or 5). Second, the file works fine, but if there are any spots in the doc they will be turned off by the aplication of this file, as indeed any light will be turned off by the aplication of an lt2, if it is not specified in the lt2. But there is a solution! Save the file to a pose folder with a pz2 extention, then it will not turn off other lights in the document. Hand hade pz2 files can be used to pose lights, that is to say alter their paramiters, and they will not turn off other lights, but they should not be used to add lights. If you want to add lights without turning others off, do it from a pp2 file. Without going into all the details, there are two ways to make such a file. One is to copy the lights and associated shadow cams from a pz3, the other is to modify an lt2 file. In either case you should use a declaration for the lights and cameras, and add a 'doc' section to load them, the internal names should also be changed to avoid conflict with lights that may already exist in the Poser document. An easier way to save and load light sets that will not turn off other lights is to download my 'MinFig.cr2' from the Free Stuff, parent your light set to it and resave it with a new name. You should still change the internal names of the lights and cameras to avoid conflicts. Bob, there are pz2s to turn spots off and on in my 'SpotLight Utility Pose Pack 1 (P4)', pluss a lot of other stuff (in the Free Stuff). Cheers all, Les.


EnglishBob ( ) posted Tue, 10 May 2005 at 4:25 PM

Thanks Les, I've almost certainly got those somewhere. It's just that I never think to go in the pose library when I'm working on lights. It's the old left brain / right brain thing again... ;)


lesbentley ( ) posted Tue, 10 May 2005 at 5:17 PM

I wish, oh how I wish that the next version of Poser will parse and apply files based on their extension, not their location. Wouldn't it be nice to have all related files, characters hair, poses, together in the same folder!


maclean ( ) posted Tue, 10 May 2005 at 5:24 PM

hi les, Thanks for the correction. I did mean .lt2 of course. I didn't think about it turning off spots. The lights I'm using are all spots, each with a unique name, and parented to a figure. But because of the unique name, they're not affected. But my default doc has 3 infinite lights (I use it for checking product defects), and they were being switched off, which is why I was trying to put a stop to that. Anyway, thanks for the reminder about the pz2 option. Normally, I use pz2s to change lights. It's just that for this project, I have to make normal light sets too, so I'm in the .lt2 department for a change. mac


maclean ( ) posted Tue, 10 May 2005 at 5:28 PM

'Wouldn't it be nice to have all related files, characters hair, poses, together in the same folder!' It IS, les. That is, it's very nice in Daz Studio. It only has 2 types of content file - objects (figures and props), or presets (poses, materials, lights and cameras). You can mix them all in the same folder, and save them in any combination you like. Also, DS is fast gaining a large technical fan club. People playing with scripts and shaders and other things. It's really something. I've used it since the very 1st alpha and I much prefer it to poser now. You should check out the DS forum at DAZ. I think you'd be very interested. mac


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.