sepo
Registered:1162553861 Posts: 4,326
Posted 1187346188
Reply with quote
#1
Let's use this tread to discuss scripting only.
sepo
Registered:1162553861 Posts: 4,326
Posted 1187806643
Reply with quote
#2
OK let us start this. There is an little Easter egg in the new version. If you put the quality 100% than you will be able to tweak setting.xml which is located in your Podium folder. Before you do anything to it I suggest you make a copy of your original .xml. You can right click on the .xml and open it with notepad. There are various things you could change in there which in return could increase or decrease the speed, bring the light deeper into your space etc. If anyone wants to play please ask the question here. There is TBD, Biebel, Bigstick and me who could help with this. My Sponza test was using tweaked .xml setting. Not only that it brought light deep inside (sun only ) but also render time for the largish size was around 4min.
sepo
Registered:1162553861 Posts: 4,326
Posted 1187812732
Reply with quote
#3
OK this starts to look like monologue. Anyway here is the copy of the interior setting file. It brings light deeper in space. If it is not enough in your case just beef up irradiance setting which in this instance is 2 2 2. I have changed extension to .rb so I could upload it. So just loose .rb and Bob is your uncle. Also if you want to learn just print two from your note pad and compare. Happy tweaking. It is not that hard and very gratifying.
zorro
Registered:1177239327 Posts: 131
Posted 1187817124
Reply with quote
#4
Hi Sepo, Thanks for this knowledge... sounds great. I want to "hole" up for the day and play with this option... alas I have several projects/presentations to complete so tonight will see me experimenting. Ironically my timeframes for these presentations have "crowded in" simply because a large portion of yesterday "disappeared" with Podium bumpmap experimenting. Z
zorro
Registered:1177239327 Posts: 131
Posted 1187855675
Reply with quote
#5
Hi again Sepo, Well this has me fascinated... have experimented with some of the settings... it definitely can make a huge difference. Do you have a guide or breakdown of which parameters are best to experiment with. Or maybe a breakdown of which parameter effects what... I guess the names give a few clues/hints but it would be nice to confirm these... and what their value limits are. Thanks in advance. Z
sepo
Registered:1162553861 Posts: 4,326
Posted 1187954295
Reply with quote
#6
Here is instruction I compiled from some discussion I had with Biebel. So all credit to Wizard XML
First the settings are different for every model so there is no 'miracle' or universal settings file. This tweaks are for those difficult interior lighting situation.
Befor you start please make a copy of your original settings so you can set it back later on.
THE PARAMETERS:
1. <Parameter Name="Sample Sky" Type="Boolean" Value="1"/> <Parameter Name="./Sampling Criteria/Diffuse Samples" Type="Integer" Value="1"/> Set both to "1" (= put them 'on'). That will brighten things up already. 2. <Parameter Name="Secondary Final Gathering" Type="Boolean" Value="0"/> Set secondary final gathering to "0" (= 'off') 3. If your render is way too dark, change the overall irradiance setting <Parameter Name="Irradiance Scale" Type="RGB" Value="3 3 3"/> By default it is set to "1 1 1" It can be that "2 2 2" is enough. Beware that you don't make it too high because it can 'burn' areas of the image. Low is better to post process later if needed. 4. The trick to get the light deeper in to the interior .....: <Parameter Name="Max Ray Tracing Depth" Type="Integer" Value="10"/> (the default setting is 3 I think). Don't go higher than 15 because the rendering can crash or light leaks occur. There are two code lines that look exactly the same. Change the second to value 5, not higher because it kills render time. 5. <Parameter Name="Max Photon Tracing Depth" Type="Integer" Value="10"/> (the default setting is 5 I believe). 6. To have more detailing: "maximal pixel reuse" to 1.5 or even 0.5 7. To set the quality the settings "final gathering rays' and "Samples per light" are crucial. They are related to one and another. I haven't found the magic combo though. example: Samples= 100000 and Final G.rays=1200 example better quality but high render time: Samples=10000000 and FGrays= 5000 If you experience light splotches (leak?) set your light sample higher. If you experience shadow blotches set your Final gathering higher. It is all trial and error but once you start it becomes addictive. So give it a twirl and
HAPPY RENDERING
PS slightly better combo on samples/final gathering: the first 'Final gathering rays' value : 700 'Samples':1000000 The second 'Final Gathering rays' value: 900
zorro
Registered:1177239327 Posts: 131
Posted 1187957756
Reply with quote
#7
Thanks for the extra info Sepo and Biebel... you are correct... this is indeed a little addictive. Z
sepo
Registered:1162553861 Posts: 4,326
Posted 1188042870
Reply with quote
#8
edit: I copied Darryl's .xml here. I hope we could have nice collections of them by the end of Beta testing.
EDIT: Good idea Sid - I should point out though this tweaked .xml is purely for Tyros image above... it won't give as good of a result on more complex imagery with shadows etc.
Tyro
Storyteller
Registered:1175870339 Posts: 877
Posted 1188158839
Reply with quote
#9
Is it really necessary to turn up the quality slider to 100% to start the settings.xml or is it started at any level? And if, has the quality slider any effect then ... because when activated, the settings.xml should take over the rendering process and disable the quality slider, right? Mmmhh, I think it would be a good thing to have a check-box for the scripting thing ... like 'Use Settings-Script yes/no?' in the final version of 1.5 !?! Does one of you guys (sepo?) have an overview of which setting can be added to which parameter ... like parameter xy can be 0.01 to 1.0 or 1 to 255 or something like that. I find it very difficult to try settings when not knowing how high the values may can get ... tweaking a parameter from 1 to 2 is a bit senseless when that parameter can be like 1000 or more, you know. Any answer is welcomed, thank you, tyro
__________________ "... and they rendered happily ever after."
sepo
Registered:1162553861 Posts: 4,326
Posted 1188159763
Reply with quote
#10
You need quality 100% to enable the settings.xml. I would suggest you print out and compare the 3 different scripts and see what things are different. I think that is good starting point . The only way is try and render
Tyro
Storyteller
Registered:1175870339 Posts: 877
Posted 1188161411
Reply with quote
#11
I will!!!
__________________ "... and they rendered happily ever after."
solo75080
Texture King
Registered:1164783614 Posts: 2,476
Posted 1188181958
Reply with quote
#12
Okay, I am sold on this whole .xml thing however may I request some fancy GUI enhancements that could make using it a whole lot better? If there is a way of including a script drop menu some place that we can store say 10 settings of our choice, like fast interior, exterior blackout, soft shadows, etc that we can select as part of our render set up. Thanks.
__________________http://www.solosplace.com
solo75080
Texture King
Registered:1164783614 Posts: 2,476
Posted 1188183831
Reply with quote
#13
Anyone got a script for exterior that is fast, soft shadows, not grainy or overexposed? While you at it the formula to perpetual motion or cold fusion.
__________________http://www.solosplace.com
bigstick
Moderator
Registered:1165246934 Posts: 11,604
Posted 1188200229
Reply with quote
#14
Solo, TBD and I discussed the whole business of using a pulldown menu for render presets some time ago. The proposal was that you simply drop modified scripts in the Podium directory and the program just picks them up from there and adds them to the pulldown list. At the time it was a bit premature, because there were so many other things to do. Perhaps now is the right time to discuss it again.
__________________Aut viam inveniam aut faciam Hannibal Barca ______________________________________
This is what I do in my day job
solo75080
Texture King
Registered:1164783614 Posts: 2,476
Posted 1188200586
Reply with quote
#15
Thanks for the info, now is a good time, obviously there is an order of importance...baby TBD...my request...Mrs. Tbd.....world peace...sex....etc.
__________________http://www.solosplace.com