Go Back   SplutterFish Forums > SplutterFish Client Forums > Brazil - Tech Support
Login
Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-Feb-2010, 10:18 AM
superrune superrune is offline
Senior Member
 
Join Date: Mar 2003
Location: Oslo, Norway
Posts: 641
Send a message via ICQ to superrune
Default Default settings?

Hi,

I find myself always changing a few of the defaults in Brazil, such as Camera Space Shading, Float Output and the Clamp value. Is there a way to have them permanently changed, without doing it through a maxstart file?
__________________
freelance animation, illustration, scripting, lego: www.superrune.com
Reply With Quote
  #2  
Old 08-Feb-2010, 11:09 AM
zemmuonne zemmuonne is offline
Senior Member
 
Join Date: Oct 2005
Posts: 966
Default

Rune, just out of curiosity: usually what AA/Clamp values combo you use?
Reply With Quote
  #3  
Old 08-Feb-2010, 11:35 AM
RichardAnnema's Avatar
RichardAnnema RichardAnnema is offline
Automated Posting Zombie Machine
 
Join Date: Jul 2002
Location: The Netherlands
Posts: 9,409
Default

There's no specific default settings file for Brazil; maxstart.max -would- typically be the place you set these things.

You could do something with scripting, a la:
Code:
callbacks.removescripts id:#brazil_defaults
callbacks.addScript #postRendererChange "
    if ((renderers.current.classID as string) == \"#(95494396, 474502030)\") do (
        if (getAppData trackviewnodes.brazil_r_s 399 != \"defaults set\") do (
            -- set defaults here
            -- example start
            if (queryBox \"Do you wish to apply custom default Brazil settings?\") do (
                local brz
                for i = 1 to 4 do (
                    brz = trackviewnodes.brazil_r_s[i]
                    local brz_is = brz.Sampling_Parameter_Block_Holder
                    brz_is.aa_min = 1
                    brz_is.aa_max = 2
                    brz_is.clamp = 1e6
                    brz_is.filter_name = \"BrAreaFilter\"
                    brz_is.filter_radius = 0.001
                )
                -- example end
            ) -- querybox
            setAppData trackviewnodes.brazil_r_s 399 \"defaults set\"
        ) -- check appdata
    ) -- check renderer classID
" id:#brazil_defaults
..sticking that into a maxscript file in your <max>\scripts\startup\ folder.
Unfortunately the #preRendererChange callback already shows the trackviewnode as existing, so preventing the defaults-setting on existing files (which won't have the appdata marker) would need some further pondering.
__________________
__________________
Richard Annema
Director of Client Relations
SplutterFish
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Reply With Quote
  #4  
Old 09-Feb-2010, 02:31 PM
superrune superrune is offline
Senior Member
 
Join Date: Mar 2003
Location: Oslo, Norway
Posts: 641
Send a message via ICQ to superrune
Default

I was thinking that through the comprehensive Brazil preset system there would be some way of making defaults as well. A great feature would be a folder of XML-based presets that people could share between them, that would be a very nice alternative to the presets that V-Ray and MR already have in their renderers. I have some reservations against propping my 3ds Max full of callbacks, but thanks Richard, perhaps I should just go for that

zemmuonne:
I have a bunch of sampling and GI settings that I find myself returning to. My render samples usually stays at 1,2 but I sometimes boost that to 2,4 if I have some severe sampling issues (but then I tend to increase the contrast color). And I like to check the adaptive tests for Normal and Object Edge.

As for clamping, I like to have that somewhere around 10. I frequently render superbright values, so the default 1.0 value is a no-no for me. And of course, because of that I always have 32-bit float image output checked.

I also like to keep the KDA accelerator as the default, and there are plenty of GI values I keep returning to (a rate around 15, 3 bounces, and cache samples to -2,0). It's probably more than that, that's why I'd like a custom default preset so that I don't forget them
__________________
freelance animation, illustration, scripting, lego: www.superrune.com

Last edited by superrune : 09-Feb-2010 at 02:34 PM.
Reply With Quote
  #5  
Old 09-Feb-2010, 03:34 PM
RichardAnnema's Avatar
RichardAnnema RichardAnnema is offline
Automated Posting Zombie Machine
 
Join Date: Jul 2002
Location: The Netherlands
Posts: 9,409
Default

Quote:
Originally Posted by superrune View Post
I was thinking that through the comprehensive Brazil preset system there would be some way of making defaults as well.
'fraid not

Quote:
Originally Posted by superrune View Post
A great feature would be a folder of XML-based presets that people could share between them
There's a Bonus Tool that'll let you load/save preset files; preset files technically save all data (minus maxwrapper stuff), the preset loading lets you specify which sections to actually load (and of course manually removing bits from the preset file will prevent those from being loaded altogether). Nothing tightly integrated into the main Brazil UI, though - which tends to be the biggest stumbling block for most users.

Similarly - 3ds Max itself supports saving presets to an extent, but it doesn't play nice with brazil and, imho, is a bit limited anyway.

Quote:
Originally Posted by superrune View Post
I have some reservations against propping my 3ds Max full of callbacks, but thanks Richard, perhaps I should just go for that
It's just one - and a pretty low-impact one at that.. how often do you change renderers?
Although you'd want to put them on the 'new file' callbacks as well, I think, if you keep the renderer around in a session.
__________________
__________________
Richard Annema
Director of Client Relations
SplutterFish
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Reply With Quote
  #6  
Old 10-Feb-2010, 03:57 PM
superrune superrune is offline
Senior Member
 
Join Date: Mar 2003
Location: Oslo, Norway
Posts: 641
Send a message via ICQ to superrune
Default

Thanks again Richard
__________________
freelance animation, illustration, scripting, lego: www.superrune.com
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 07:51 PM.

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.