Forum: Poser - OFFICIAL


Subject: Pose2Lux questions and answers...

LaurieA opened this issue on Mar 01, 2011 ยท 182 posts


LaurieA posted Sun, 13 March 2011 at 4:50 PM

Quote - ...This question of Laurie - did I fail to read somewhere which material list loads by default and where that is stored? And is it edit-able?

All .xml files are editable ;). You can change anything you want in them.

As for them loading on execution of the script, make a folder somewhere where you'll keep all your .xml material libraries. I made a folder in my root external runtimes folder just because it seemed like a logical place ;) (D:/External Runtimes/XML Material Libraries). You can put it anywhere you like though.

Place any .xml material library files you want to load with P2L in that folder and run the script. Click on the 'Paths' tab and enter the path of that folder to the first two fields on the paths tab. Then go to File/Save Settings and save your default settings (your export settings that you like by default, etc.) and save that with the name 'pose2lux.p2l' - without quotes of course - to the same folder that contains your Pose2Lux python script. The next time you open P2L, all your settings, as well as your .xml material files, will load with the script.

I hope that made sense ;).

There are certain files that are contained within the script itself that are not editable, such as the materials that Snarly's already included in the script like the Basics, Glasses, etc. However, you CAN see what the parameters of those materials are if you apply any of them to an object in a Luxrender scene and then look at the .lxs that results from the export. The parameters used for that material will all be in it. You just have to remember what object you applied them too ;). Using that though, you can make any material a base for an .xml file. Perhaps you really liked one of my gem mats. You can either: change my parameters in the .xml file that I supplied - or - copy and paste the parameters of one material as a new material in the list and change the colors, the specularity etc., naming it something new. Maybe you wanted a mat for a gem I didn't supply. You can make a new one that way :).

Laurie