PDA

View Full Version : Free LScript: Save Render Settings



Matt
01-21-2009, 07:16 AM
Now that 9.6 has been released, I can post this outside of OB!

- - -

Ever dread the question, "what are your render settings?"

Well, worry no more!

This script will take the currently open scene file (well, the version of it on disk) or a user selected Scene file, and write the Camera, Global Illumination and Antialiasing settings out to a text file ready for copying and pasting.

You can save the text file with or without vBulletin forum codes that dress it up (as shown below) for posting.

The script knows how many cameras are in your scene and which one is active.

Any settings that are ghosted or not appropriate with other settings active will be correctly ignored.

Known Current Limitations:

- Only works for the latest Scene file version (9.6 / LWSC 5)

- Any settings that are 'enveloped' return 0 (need to add current frame checking code)

I've tested the script to some degree, but if you find any bugs, please let me know.

Hope you find it useful!

Cheers
Matt

Example Output from Script:

Camera Settings:
Camera Type: Perspective
Frame Size: 1280 x 720
Multiplier: 100%

Antialiasing Settings:
Antialiasing: 4
Reconstruction Filter: Classic
Sampling Pattern: Classic
Adaptive Sampling: On
Adaptive Sampling Threshold: 0.01
Oversample: 0.4

Global Illumination:
Radiosity Type: Final Gather (Interpolated)
Blur Background: On
Use Transparency: Off
Volumetric Radiosity: Off
Ambient Occlusion: Off
Directional Rays: Off
Use Gradients: Off
Use Behind Test: On
Use Bumps: Off
Intensity: 400%
Indirect Bounces: 8
Rays Per Evaluation: 950
Secondary Bounce Rays: 96
Angular Tolerance: 30 Degrees
Minimum Pixel Spacing: 2.5
Maximum Pixel Spacing: 100
Multiplier: 100%
Cache: Off

Misc Settings:
Ray Recursion Limit: 6

Matt
01-21-2009, 07:17 AM
The script is also un-compiled and commented, so those wishing to learn LScript can pull this apart.

Not that I profess to being the world's best LScripter! ;)

Lightwolf
01-21-2009, 08:02 AM
The script is also un-compiled and commented, so those wishing to learn LScript can pull this apart.

That's a lot better than un-commented and compiled ;)

Thank you Matt!

Cheers,
Mike

-EsHrA-
01-21-2009, 08:51 AM
Thanks Matt!

mlon

Fadlabi
01-21-2009, 09:00 AM
Thanks you Matt for your LScript update to LW 9.6

Matt
01-21-2009, 11:33 AM
I'm currently working on an update to this script that allows you to load render AA, Camera and GI settings from a scene file on disk to the currently opened scene. Not sure when it will be finished though.

-EsHrA-
01-21-2009, 01:16 PM
having this info 'overlayed' on a render would also be sweet. :)
will that be possible too with lscripting?!..


mlon

pixym
01-21-2009, 02:09 PM
Thanks Matt

shadowlock
01-21-2009, 02:54 PM
Cool Thanks

fusion2007
01-21-2009, 08:05 PM
Thanx lot ! Matt

Matt
01-22-2009, 02:30 AM
having this info 'overlayed' on a render would also be sweet. :)
will that be possible too with lscripting?!..


mlon

Probably, but sadly that would be beyond my LScripting skills!

manasa
01-22-2009, 03:11 PM
like render EXIF... good,
thanks...

StereoMike
01-23-2009, 02:15 AM
There's a lot of info available in the image viewer. I didn't had a closer look, but it filled the whole viewer window.

mike

ekho
01-23-2009, 10:20 AM
Wow, awesome! Thanx a lot!

toby
03-03-2009, 08:55 PM
Works in OSX!

Matt Rulez!


Camera Settings:
Camera Type: Perspective
Frame Size: 800 x 600
Multiplier: 100%

Antialiasing Settings:
Antialiasing: 1
Reconstruction Filter: Classic
Sampling Pattern: Classic
Adaptive Sampling: Off
Oversample: 0

Global Illumination:
Radiosity Type: Monte Carlo (Interpolated)
etc.

IMI
03-03-2009, 10:06 PM
Very cool Matt, thank you. :)

probiner
03-03-2009, 11:10 PM
Hooah Matt!

Roadwarrior
10-29-2009, 08:13 PM
Thx Matt Very Nice :thumbsup:

virtualcomposer
10-29-2009, 09:36 PM
Yes thank you for the script. This will save my forgetful "what was my settings?" thing. LOL

Matt
10-29-2009, 10:10 PM
You might wanna all grab my new script, it does what this one does, but also saves the render times, all to a log file.

http://www.newtek.com/forums/showthread.php?t=102997

tonyrizo2003
10-30-2009, 02:29 PM
you are the man!!!

DM67
10-31-2009, 03:50 PM
Matt, thx for sharing! :thumbsup:

Tony

MentalFish
11-03-2009, 12:44 AM
Cool stuff man!