Or just use the preset manager :)

On Wed, Jan 9, 2013 at 2:33 PM, Arvid Björn <[email protected]> wrote:

> Thanks, sounds good! A default scene takes care of everything except
> default shader definitions.
>
> Can't get it to work though, I'm using the example in that article to try
> and change the architectural shader, but using the examples and looking
> through the SDK I can't figure out how to actually set the values, which
> method or syntax should I use?
>
>     if "Softimage.mia_material_phen.1.0" in sProgID:
>         oDef.InputParamDefs.GetParamDefByName( "reflectivity" ) --> ???
>
>
>
>
> On Wed, Jan 9, 2013 at 12:02 PM, Stephen Blair <[email protected]>wrote:
>
>> You could use events eg OnNewScene.
>> Or create your own presets?
>>
>> I'd avoid editing the factory SPDLs and presets (I think you can probably
>> find a number of posts from Luc-Eric about defaults and spdls and the
>> factory location)
>>
>> For shaders, you can use events to override SPDL defaults with a
>> OnCreateShaderDef
>> http://xsisupport.com/2012/02/**27/overriding-spdl-defaults/<http://xsisupport.com/2012/02/27/overriding-spdl-defaults/>
>>
>>
>>
>>
>>
>> On 09/01/2013 5:20 AM, Arvid Björn wrote:
>>
>>> Hi,
>>>
>>> Is it possible to change default settings of the rendering ppg,
>>> architectural shader settings, geo approx, lights etc?
>>>
>>> There are so many things that I constantly edit because the default
>>> settings isn't really up to date. I've made a few script buttons for it,
>>> but I'd rather just have different default settings.
>>>
>>> I'd be interested in hearing how you all solve this on a daily basis.
>>> Can you dig up the SPDLs and just edit those? Could it even be put in a
>>> workgroup so it works globally?
>>>
>>>
>>> Cheers
>>>
>>
>>
>

Reply via email to